projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b712b7e
)
I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 03:34:08 +0000
(11:34 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 03:34:08 +0000
(11:34 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
f29ca1b
..
fe49f31
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-52,6
+52,7
@@
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(
'l' => array(
'en', 'zh_CN', 'zh_HK', 'zh_TW', 'th', 'ko', 'ja', 'ms',
@@
-172,7
+173,7
@@
class Pman_Core_i18N extends Pman
require_once 'I18Nv2/Language.php';
require_once 'I18Nv2/Currency.php';
- $langs = $this->
getDefaultCfg('l')
;
+ $langs = $this->
cfg['l']
;
$ar = array();
foreach($langs as $lang)
{