From: Alan Knowles Date: Thu, 16 Sep 2010 03:46:26 +0000 (+0800) Subject: I18n.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=16edc75863be1b379485b9a7faa0b6b1e59e5ad4 I18n.php --- 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(