projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b1bb8
)
DataObjects/I18n.php
author
Alan Knowles
<alan@roojs.com>
Tue, 26 Feb 2013 03:33:58 +0000
(11:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 26 Feb 2013 03:33:58 +0000
(11:33 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
03d6c7b
..
a57917d
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-184,7
+184,10
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
require_once 'I18Nv2/Language.php';
$c = new I18Nv2_Language('en');
$ret = array_keys($c->codes); // we need to make sure these are lowercase!!!
+
+
foreach ($cfg['add_l'] as $k=>$v){
+ // make sure that add_l is formated correctly..
$tolang = explode('_', $k);
$tolang[0] = strtolower($tolang[0]);
$tolang = implode('_', $tolang);