]> git.pld-linux.org Git - packages/eventum.git/blobdiff - eventum-gettext.patch
up to 3.7.4-440-gcc5ad3db5
[packages/eventum.git] / eventum-gettext.patch
index a1903faa5f312d4891cdfb724f4f49fb9b70fa84..799f918c66613efd2e54b5cc16b1442415db2abf 100644 (file)
@@ -1,10 +1,10 @@
---- eventum-3.6.1-76-g74f125a7a/lib/eventum/gettext.php~       2019-02-27 17:49:42.000000000 +0200
-+++ eventum-3.6.1-76-g74f125a7a/lib/eventum/gettext.php        2019-03-07 17:18:16.284142306 +0200
-@@ -82,7 +82,6 @@
- }
+--- 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 @@
  
- if (defined('APP_PATH')) {
--    _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.105009 seconds and 4 git commands to generate.