X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fnewmail%2Fnewmail.php;h=d2f08e32bae14d4c668e9882087136d208a7ae90;hb=b1fbb25f561e6b151f7cf72744b03253f8d395fb;hp=59bfb2c697cd2bc89da8de0c3a621c3584adfb98;hpb=8d6a115b0ef06dbcf9b149ba2509208f09b3a2ab;p=squirrelmail.git diff --git a/plugins/newmail/newmail.php b/plugins/newmail/newmail.php index 59bfb2c6..d2f08e32 100644 --- a/plugins/newmail/newmail.php +++ b/plugins/newmail/newmail.php @@ -1,47 +1,86 @@ \n". - '
'. "\n" . + echo ''."\n". + '
'. "\n" . html_tag( 'table', "\n" . html_tag( 'tr', "\n" . - html_tag( 'td', '' . _("SquirrelMail Notice:") . '', 'center', $color[0] ) + // i18n: %s inserts the organisation name (typically SquirrelMail) + html_tag( 'td', '' . sprintf(_("%s notice:"), $org_name) . '', 'center', $color[0] ) ) . html_tag( 'tr', "\n" . html_tag( 'td', - '
' . - _("You have new mail!") . '

' . "\n" . - '
' . "\n". - ''."\n". - '
', - 'center' ) - ) , - '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) . - '
' . - "\n". - "\n"; - -?> + '
'. + sprintf(ngettext("You have %s new message","You have %s new messages",$numnew), $numnew ) . + '

' . "\n" . + '
' . "\n". + ''."\n". + '
', + 'center' ) + ) , + '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) . + '' . + "\n". + "\n";