I18n.php
[Pman.Core] / 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(