From f865fe4654056441c277980a508227a04d358d44 Mon Sep 17 00:00:00 2001 From: tokul Date: Sat, 6 Aug 2005 05:18:15 +0000 Subject: [PATCH] some languages use syntax that can't be adapted for printf command. If translator 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/help.php b/src/help.php index 609937d0..133696dc 100644 --- a/src/help.php +++ b/src/help.php @@ -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 "
"; - printf (_("The help has not been translated to %s. It will be displayed in English instead."), $languages[$squirrelmail_language]['NAME']); + echo "
" + ._("The help has not been translated to selected language. It will be displayed in English instead."); echo '

'; $user_language = 'en_US'; } else { -- 2.25.1