From: tokul Date: Sat, 6 Aug 2005 05:18:15 +0000 (+0000) Subject: some languages use syntax that can't be adapted for printf command. If translator X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f865fe4654056441c277980a508227a04d358d44;p=squirrelmail.git 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 --- 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 {