X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fnewmail%2Fnewmail.php;h=c40095a15665d5a16c415b04605c4fb67a1e7d29;hp=1ebb3de61934b63685aebf860d1809162201ce64;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hpb=76911253eb850bacde3d86c8cb7b4af072e67ebe diff --git a/plugins/newmail/newmail.php b/plugins/newmail/newmail.php index 1ebb3de6..c40095a1 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";