Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv17701/lib
Modified Files:
config.php
Log Message:
Make _("string") an alias for gettext("string").
Index: config.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/config.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** config.php 2001/11/09 16:22:43 1.45
--- config.php 2001/11/29 03:00:19 1.46
***************
*** 62,65 ****
--- 62,70 ----
}
+ function _ ($text) {
+ return gettext($text);
+ }
+
+
if ( ($lcfile = FindLocalizedFile("LC_MESSAGES/phpwiki.php", 'missing_ok')) )
{
|