Translations.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 22 Aug 2011 04:39:07 +0000 (12:39 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 22 Aug 2011 04:39:07 +0000 (12:39 +0800)
Translations.php

index 0c45301..25cfa23 100644 (file)
@@ -209,7 +209,7 @@ class Pman_Admin_Translations extends Pman
         // no data is contained in the database, we should initialize it, if we can
         $info  = $this->moduleJavascriptFilesInfo($module);
         $fn = $info->module_dir.'/_translations_/'.$lang.'.js';
-        var_Dump($fn);
+        
        
         if (!file_exists($fn)) {
             return $ret;
@@ -217,6 +217,9 @@ class Pman_Admin_Translations extends Pman
         
         
         $default = (array) json_decode(file_get_contents($fn));
+        
+        print_r($default);exit
+        
         foreach($default as $k=>$v) {
             if (isset($ret[$k])) {
                 continue; // skip database already holds a version of this translation.