From: Tyler A. <fi...@us...> - 2001-12-20 13:40:30
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory usw-pr-cvs1:/tmp/cvs-serv25262/functions Modified Files: gettext.php Log Message: Fixed potential (?) problem reported by Klaus (via Philippe) Index: gettext.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/gettext.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -w -r1.12 -r1.13 --- gettext.php 2001/12/02 09:33:01 1.12 +++ gettext.php 2001/12/20 13:40:27 1.13 @@ -134,6 +134,9 @@ } $gettext_php_translateStrings[$key] = stripslashes($gettext_php_translateStrings[$key]); + // If there is no translation, just use the untranslated string + if ($gettext_php_translateStrings[$key] == '') + $gettext_php_translateStrings[$key] = $key; $key = ''; } } |