|
From: Benjamin C. <bc...@us...> - 2004-06-30 13:49:47
|
Update of /cvsroot/phpbt/phpbt/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28827/inc Modified Files: Tag: htmltemplates functions.php Log Message: Fixed a problem with $STRING not being available in translate(). Index: functions.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/inc/functions.php,v retrieving revision 1.44.2.6 retrieving revision 1.44.2.7 diff -u -r1.44.2.6 -r1.44.2.7 --- functions.php 19 Jun 2004 19:57:05 -0000 1.44.2.6 +++ functions.php 30 Jun 2004 13:49:24 -0000 1.44.2.7 @@ -597,6 +597,8 @@ } function translate($string, $plural = false) { + global $STRING; + if (USE_GETTEXT) { return $plural ? ngettext($string) : gettext($string); } else { |