I18n.php
[Pman.Core] / I18n.php
index 9146cc0..224d6b6 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -102,7 +102,7 @@ class Pman_Core_i18N extends Pman
         // load the cofiguration
         foreach($opts as $k=>$v) {
             
-            if ($v == '*') {
+            if ($v == '*') { // everything..
                 $this->cfg[$k] = $this->getDefaultCfg($k);
                 continue;
             }
@@ -222,7 +222,7 @@ class Pman_Core_i18N extends Pman
             }
             
             $ret[] = array(
-                'code'=>   $type=='l' ? strtolower($k) : strtoupper($k) . ($sub ? '_'.strtoupper($sub) : ''), 
+                'code'=>   ($type=='l' ? strtolower($k) : strtoupper($k)) . ($sub ? '_'.strtoupper($sub) : ''), 
                 'title' => $v
             );
         }