From 9f9d7d28f295d6d3a6afb09d69ea76eef8bb7a64 Mon Sep 17 00:00:00 2001 From: serek Date: Thu, 13 Jan 2000 21:18:59 +0000 Subject: [PATCH] added gettext support. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@170 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 4 ++-- functions/page_header.php | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/functions/mime.php b/functions/mime.php index f61322b..417f898 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 b5d71d5..ae4038c 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 " "; -- 1.9.1
"; - echo " Compose  "; - echo " Addresses  "; - echo " Folders  "; - echo " Options  "; + echo " ". _("Compose") ."  "; + echo " ". _("Addresses") ."  "; + echo " ". _("Folders") ."  "; + echo " ". _("Options") ."  "; echo " "; echo " SquirrelMail"; echo "