diff options
author | Felix Dörre <felix@dogcraft.de> | 2014-06-11 17:04:12 +0200 |
---|---|---|
committer | Felix Dörre <felix@dogcraft.de> | 2014-06-11 17:09:15 +0200 |
commit | 0730c9df3eb440205d7963e3c0762765d9b47031 (patch) | |
tree | 8b83a90422ccebf1ad4b0c2b46d765f2de861483 /includes/lib | |
parent | f3885b3bc9ff61da78fb541151f16b0ecfdf62eb (diff) | |
download | cacert-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/lib')
-rw-r--r-- | includes/lib/l10n.php | 2 |
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", |