From: Alan Knowles Date: Tue, 20 Jul 2010 03:36:16 +0000 (+0800) Subject: I18n.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=7fa65858837136eccad4e7136db9414b56e5022d;p=Pman.Core I18n.php --- diff --git a/I18n.php b/I18n.php index 197d85da..c213d67e 100644 --- a/I18n.php +++ b/I18n.php @@ -54,6 +54,11 @@ class Pman_Core_i18N extends Pman // these are the default languages we support. // they will allways be overlaid with the current configuration (via getAuth) 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 @@ -198,7 +203,7 @@ class Pman_Core_i18N extends Pman foreach($obj->codes as $k=>$v) { $ret[] = array( - 'code'=>$k , + 'code'=> $k , 'title' => $v ); }