Commit graph

16 commits

Author SHA1 Message Date
Kijin Sung
8a7f509a1a Separate XML lang parser into its own class 2016-02-08 15:46:48 +09:00
Kijin Sung
5afefc063c Merge branch 'develop' into pr/new-config-format
Conflicts:
	classes/context/Context.class.php
2016-02-05 19:37:10 +09:00
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
a36bc03970 Simplify FTP configuration using new format 2016-02-04 16:10:52 +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