Commit Graph

10 Commits

Author SHA1 Message Date
wn 75536b4790 Switch to recommended 'default_charset' to fix 'gettext' error.
'mbstring.internal-encoding' was deprecated in 5.6.

https://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding
https://www.php.net/manual/en/ini.core.php#ini.default-charset
2020-12-12 10:28:46 -06:00
JustAMacUser c8ac9dc7ea Remove `private` scope for class constants.
This change branches from the merged patch by Sunil Mohan Adapa's for
Debian's package.
2020-09-18 18:13:18 -04:00
Andrew Dolgov 3588d5186e - gettext: merge patch from Sunil Mohan Adapa which rewrites plural parser to not use eval()
- fix typo in aforementioned patch which caused plurals to never load
- update code again to newer PHP constructor syntax
2020-09-18 14:05:34 +03:00
Andrew Dolgov 57fac84516 rename gettext.inc to gettext.inc.php (cosmetic) 2020-09-17 18:56:29 +03:00
Conrad Sachweh c2217f2d4b fixed gettext library deprecated constructors
https://www.php.net/manual/en/language.oop5.decon.php

was already done for parent three years ago 00b6b66827
2020-01-09 10:45:09 +01:00
Anders Kaseorg 526096f06a lib: Upgrade php-gettext from 1.0.11 to 1.0.12
https://launchpad.net/php-gettext

The local change to rename the gettext_reader function to
__construct (commit 00b6b66827) has been
preserved.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2017-01-21 15:01:14 -05:00
Andrew Dolgov 00b6b66827 lib/gettext: use proper constructor 2016-03-30 09:56:11 +03:00
Andrew Dolgov c050148df4 fix broken header of ru_RU translation thanks to Tomáš Chvátal; rebase translations 2013-04-01 19:17:25 +04:00
Andrew Dolgov 539d2c60af bump php-gettext to 1.0.10 2010-05-30 14:38:26 +04:00
Andrew Dolgov 0ba3a1274d move gettext/ to lib 2009-01-22 14:38:21 +01:00