Preparations for migrating core to use JSON based i18n
authorSiebrand Mazeland <siebrand@kitano.nl>
Tue, 1 Apr 2014 10:32:00 +0000 (12:32 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 1 Apr 2014 21:22:03 +0000 (14:22 -0700)
commit8e0c0a9fc92263db8b88a4a379cb842105b923f6
tree15ae5f295930835a5f1f3275c661281699eb20ac
parentf0d32bf65d52c3d65b6054c61a625cf48f4ccab3
Preparations for migrating core to use JSON based i18n

LocalisationCache and Language have to take the JSON files into account
in deciding if a language is present or not.

Standardizing language validity checking with isSupportedLanguage
and isValidBuiltInCode.

Co-Authored-By: Niklas Laxström <niklas.laxstrom@gmail.com>
Co-Authored-By: Siebrand Mazeland <siebrand@kitano.nl>
Change-Id: I35bbb3a7a145fc48d14fff620407dff5ecfdd4fc
includes/cache/LocalisationCache.php
languages/Language.php
tests/phpunit/languages/LanguageClassesTestCase.php