summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorFelix Dörre <felix@dogcraft.de>2014-06-11 17:04:12 +0200
committerFelix Dörre <felix@dogcraft.de>2014-06-11 17:09:15 +0200
commit0730c9df3eb440205d7963e3c0762765d9b47031 (patch)
tree8b83a90422ccebf1ad4b0c2b46d765f2de861483 /includes
parentf3885b3bc9ff61da78fb541151f16b0ecfdf62eb (diff)
downloadcacert-devel-0730c9df3eb440205d7963e3c0762765d9b47031.tar.gz
cacert-devel-0730c9df3eb440205d7963e3c0762765d9b47031.tar.xz
cacert-devel-0730c9df3eb440205d7963e3c0762765d9b47031.zip
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
Diffstat (limited to 'includes')
-rw-r--r--includes/lib/l10n.php2
1 files changed, 1 insertions, 1 deletions
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",