projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0235721
)
I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 04:24:14 +0000
(12:24 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 04:24:14 +0000
(12:24 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
3a3e1a2
..
d06456e
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-208,8
+208,12
@@
class Pman_Core_i18N extends Pman
foreach($this->cfg[$type] as $k) {
+ if (strpos($k, '_') !== false) {
+ $v = array_shift(explode('_', $k));
+ }
$v = $k == '**' ? 'Other' : $obj->getName($k);
+
$ret[] = array(
'code'=> $type=='l' ? strtolower($k) : strtoupper($k),
'title' => $v