From 16edc75863be1b379485b9a7faa0b6b1e59e5ad4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 16 Sep 2010 11:46:26 +0800 Subject: [PATCH] I18n.php --- I18n.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/I18n.php b/I18n.php index 8c907d69..6f51c4d7 100644 --- 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 '
';print_r($obj);exit;
+                $v .= ' ('. $country->getName($sub).')';
             }
             
             $ret[] = array(
-- 
2.39.2