From: serek Date: Thu, 13 Jan 2000 21:18:59 +0000 (+0000) Subject: added gettext support. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=9f9d7d28f295d6d3a6afb09d69ea76eef8bb7a64;ds=sidebyside added gettext support. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@170 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mime.php b/functions/mime.php index f61322bf..417f8987 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -145,7 +145,7 @@ $body = translateText($body, $wrap_at); - $body .= "
Download this as a file

"; + $body .= "
". _("Download this as a file") ."

"; /** Display the ATTACHMENTS: message if there's more than one part **/ if (count($message["ENTITIES"]) > 1) { @@ -220,4 +220,4 @@ } return $newbody; } -?> \ No newline at end of file +?> diff --git a/functions/page_header.php b/functions/page_header.php index b5d71d5e..ae4038c5 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -12,17 +12,17 @@ echo ""; echo " "; echo " "; echo "
"; - echo " Sign Out"; + echo " ". _"(Sign Out") .""; echo " "; - echo "
Current Folder: $shortBoxName 
"; + echo "
". _("Current Folder: ") ".$shortBoxName 
"; echo "
\n"; echo ""; echo " ";
"; - echo " Compose  "; - echo " Addresses  "; - echo " Folders  "; - echo " Options  "; + echo " ". _("Compose") ."  "; + echo " ". _("Addresses") ."  "; + echo " ". _("Folders") ."  "; + echo " ". _("Options") ."  "; echo " "; echo " SquirrelMail"; echo "