SOURCES: eventum-gettext.patch (NEW) - we have gettext files in sy...

glen glen at pld-linux.org
Fri Dec 8 00:48:46 CET 2006


Author: glen                         Date: Thu Dec  7 23:48:46 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- we have gettext files in system dir

---- Files affected:
SOURCES:
   eventum-gettext.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/eventum-gettext.patch
diff -u /dev/null SOURCES/eventum-gettext.patch:1.1
--- /dev/null	Fri Dec  8 00:48:46 2006
+++ SOURCES/eventum-gettext.patch	Fri Dec  8 00:48:41 2006
@@ -0,0 +1,15 @@
+--- eventum/include/class.language.php~	2006-12-07 21:48:21.000000000 +0200
++++ eventum/include/class.language.php	2006-12-08 01:46:18.511103584 +0200
+@@ -79,12 +79,10 @@
+         setlocale(LC_TIME, $locale . '.UTF8', $locale);
+         if (APP_GETTEXT_MODE == 'native') {
+             setlocale(LC_MESSAGES, $locale . '.UTF8', $locale);
+-            bindtextdomain("eventum", APP_PATH . "misc/localization/");
+             bind_textdomain_codeset("eventum", APP_CHARSET);
+             textdomain("eventum");
+         } elseif (APP_GETTEXT_MODE == 'php') {
+             _setlocale(LC_MESSAGES, $locale);
+-            _bindtextdomain("eventum", APP_PATH . "misc/localization/");
+             _bind_textdomain_codeset("eventum", APP_CHARSET);
+             _textdomain("eventum");
+         }
================================================================


More information about the pld-cvs-commit mailing list