Commit graph

16 commits

Author SHA1 Message Date
Kijin Sung
58df8ae7f5 Fix parsing of XML lang files with 3 or more levels of hierarchy 2016-02-05 17:54:39 +09:00
Kijin Sung
497d3f2d22 Fix compatibility with code that uses lang arrays as objects 2016-02-05 15:39:55 +09:00
Kijin Sung
343ad39b79 Add method to get real IP from CloudFlare headers 2016-02-02 09:30:00 +09:00
Kijin Sung
409ab63276 Add IpFilter class that can handle CIDR, IPv6, wildcard ranges 2016-02-02 09:14:31 +09:00
Kijin Sung
0012bb296e Add basic exception class 2016-02-01 20:11:46 +09:00
Kijin Sung
56f4bdaa09 Also autoload common lang files when requested 2016-02-01 15:04:46 +09:00
Kijin Sung
61e1108afb Autoload plugin when language translation is requested 2016-02-01 14:23:53 +09:00
Kijin Sung
693fce7601 Allow plugin name in language keys 2016-02-01 13:43:14 +09:00
Kijin Sung
5c1a68ae16 Keep translations from different sources separate 2016-02-01 13:30:15 +09:00
Kijin Sung
8b1160c320 Add batch converter for language files 2016-01-31 15:37:29 +09:00
Kijin Sung
fe121a0f18 Improve array handling in lang parser 2016-01-31 15:27:02 +09:00
Kijin Sung
1eba1a6f12 Add option to specify the output filename when converting languages 2016-01-31 14:56:01 +09:00
Kijin Sung
f45779c3f8 Simplify loading function for supported language list 2016-01-31 14:47:01 +09:00
Kijin Sung
a39e0b0993 Alias 'jp' to 'ja' for backward compatibility 2016-01-30 22:32:33 +09:00
Kijin Sung
f1e90df660 Fix syntax incompatible with PHP 5.3 2016-01-27 17:51:59 +09:00
Kijin Sung
f68e6118bc Initial implementation of lang class that prefers PHP to XML 2016-01-27 16:26:06 +09:00