projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28cced8
)
DataObjects/I18n.php
author
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 11:10:31 +0000
(19:10 +0800)
committer
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 11:10:31 +0000
(19:10 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
a3b88fd
..
02a1433
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-311,8
+311,7
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
if ($type == 'l') {
$tolang = explode('_', $k);
- $tolang[0] = strtolower($tolang[0]);
- print_r($tolang);
+
$ret = $cache[$lang][$type]->getName($tolang[0]);
if (count($tolang) > 1) {
$ret.= '('.$tolang[1].')';