some languages use syntax that can't be adapted for printf command. If translator
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Aug 2005 05:18:15 +0000 (05:18 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 6 Aug 2005 05:18:15 +0000 (05:18 +0000)
tries to translate string correctly, he/she can create msgfmt errors.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9913 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/help.php

index 609937d0c5856cda83b528b3eefe2d1ea8b15bec..133696dcede7e7c547b374776fc251edc4f9df55 100644 (file)
@@ -119,8 +119,8 @@ if (!isset($squirrelmail_language)) {
 if (file_exists("../help/$squirrelmail_language")) {
     $user_language = $squirrelmail_language;
 } else if (file_exists('../help/en_US')) {
-    echo "<center><font color=\"$color[2]\">";
-    printf (_("The help has not been translated to %s. It will be displayed in English instead."), $languages[$squirrelmail_language]['NAME']);
+    echo "<center><font color=\"$color[2]\">"
+        ._("The help has not been translated to selected language. It will be displayed in English instead.");
     echo '</font></center><br />';
     $user_language = 'en_US';
 } else {