projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ebabac
)
I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 16 Sep 2010 03:46:26 +0000
(11:46 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 16 Sep 2010 03:46:26 +0000
(11:46 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
8c907d6
..
6f51c4d
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-206,7
+206,7
@@
class Pman_Core_i18N extends Pman
function objToList($type, $obj) {
$ret = array();
-
+ $country = new I18Nv2_Country($obj->language, 'UTF-8')
foreach($this->cfg[$type] as $k) {
$sub = false;
@@
-218,7
+218,7
@@
class Pman_Core_i18N extends Pman
$v = $k == '**' ? 'Other' : $obj->getName($k);
if ($sub) {
-
echo '<PRE>';print_r($obj);exit
;
+
$v .= ' ('. $country->getName($sub).')'
;
}
$ret[] = array(