Permalink
Browse files

API i18n::$common_languages and i18n::$common_locales converted to Co…

…nfig API

They are now accessed via the Config API, and contain associative rather than indexed arrays.
Before: `array('de_DE' => array('German', 'Deutsch'))`, after: `array('de_DE' => array('name' => 'German', 'native' => 'Deutsch'))`.

Also fixed a i18n.js_i18n config accessor
  • Loading branch information...
1 parent c1a543f commit e97c0349224f8d3e68bf8c63849b8790b49b2831 @chillu chillu committed Mar 27, 2013
Showing with 689 additions and 178 deletions.
  1. +2 −0 docs/en/changelogs/3.1.0.md
  2. +678 −178 i18n/i18n.php
  3. +9 −0 tests/i18n/i18nTest.php
@@ -426,3 +426,5 @@ you can enable those warnings and future-proof your code already.
* `ScheduledTask`, `QuarterHourlyTask`, `HourlyTask`, `DailyTask`, `MonthlyTask`, `WeeklyTask` and
`YearlyTask` are deprecated, please extend from `BuildTask` or `CliController`,
and invoke them in self-defined frequencies through Unix cronjobs etc.
+ * `i18n::$common_locales` and `i18n::$common_languages` are now accessed via the Config API, and contain associative rather than indexed arrays.
+ Before: `array('de_DE' => array('German', 'Deutsch'))`, after: `array('de_DE' => array('name' => 'German', 'native' => 'Deutsch'))`.
Oops, something went wrong.

0 comments on commit e97c034

Please sign in to comment.