From 0730c9df3eb440205d7963e3c0762765d9b47031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20D=C3=B6rre?= Date: Wed, 11 Jun 2014 17:04:12 +0200 Subject: bug-1280: Handle more different types of "languages": - zh_CN => zh-cn (in various cases: ZH_cn, zh_cn, ...) - de => de (what the current GUI produces) - de_DE => de, en_AU => en, EN_AU => en (what may be left in the database) ... and more creative upper/lower-cases --- includes/lib/l10n.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/lib/l10n.php') diff --git a/includes/lib/l10n.php b/includes/lib/l10n.php index 85b7aff..468562c 100644 --- a/includes/lib/l10n.php +++ b/includes/lib/l10n.php @@ -64,7 +64,7 @@ class L10n { * * @var array(string => string) */ - private static $locales = array( + public static $locales = array( "ar" => "ar_JO", "bg" => "bg_BG", "cs" => "cs_CZ", -- cgit v1.2.1