]> git.pld-linux.org Git - packages/eventum.git/blobdiff - eventum-gettext.patch
Drop O/P: eventum(router)
[packages/eventum.git] / eventum-gettext.patch
index 1dcb7a01ebb82776f048f2dabcde06661dde0c23..799f918c66613efd2e54b5cc16b1442415db2abf 100644 (file)
@@ -1,9 +1,10 @@
---- eventum-3.0.0/lib/eventum/gettext.php~     2014-11-12 18:47:36.000000000 +0200
-+++ eventum-3.0.0/lib/eventum/gettext.php      2015-02-02 20:08:38.869227761 +0200
-@@ -95,6 +95,5 @@
- }
+--- eventum-3.7.4-440-gcc5ad3db5/./src/Translation.php~        2019-08-12 07:40:03.000000000 +0300
++++ eventum-3.7.4-440-gcc5ad3db5/./src/Translation.php 2019-08-21 23:35:06.911034648 +0300
+@@ -19,7 +19,6 @@
  
- // this won't change over the request. so set it once and permanently
--_bindtextdomain('eventum', APP_PATH . '/localization/');
- _bind_textdomain_codeset('eventum', APP_CHARSET);
- _textdomain('eventum');
+     public static function init(string $domain, string $path = null): void
+     {
+-        bindtextdomain($domain, $path);
+         bind_textdomain_codeset($domain, self::CHARSET);
+         textdomain($domain);
+     }
This page took 0.180505 seconds and 4 git commands to generate.