From 67a466dab01f7f39e8aaf10ab3ff3ecd7e07d521 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 20 Jul 2010 11:39:46 +0800 Subject: [PATCH] I18n.php --- I18n.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/I18n.php b/I18n.php index ced2df49..ae0b5973 100644 --- a/I18n.php +++ b/I18n.php @@ -53,13 +53,16 @@ class Pman_Core_i18N extends Pman // these are the default languages we support. // they will allways be overlaid with the current configuration (via getAuth) + // THESE WILL ALLWAYS BE UPPERCASE!!! var $cfg = array( // translated versions availalable + 't' => array( 'en', 'zh_CN', 'zh_HK', ), // languages available 'l' => array( + 'en', 'zh_CN', 'zh_HK', 'zh_TW', 'th', 'ko', 'ja', 'ms', 'id', // indonesian 'tl', // tagalog @@ -135,6 +138,7 @@ class Pman_Core_i18N extends Pman $ret[] = '**'; break; } + foreach ($ret as $k=>$v) { $ret[$k] = strtoupper($v); } -- 2.39.2