I18n.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 20 Jul 2010 03:21:24 +0000 (11:21 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 20 Jul 2010 03:21:24 +0000 (11:21 +0800)
I18n.php

index eaf50b3..6e54e76 100644 (file)
--- a/I18n.php
+++ b/I18n.php
@@ -151,6 +151,7 @@ class Pman_Core_i18N extends Pman
                 break;
                   
             default: 
+                $this->outputJavascript();
                 // output javascript..
                 $this->jerr("ERROR");
         }
@@ -163,10 +164,10 @@ class Pman_Core_i18N extends Pman
     
     
      /**
-     * translate
+     * translate (used by database building);
      * usage :
-     * require_once 'Pman/I18N.php';
-     * $x = new Pman_I18N();
+     * require_once 'Pman/Core/I18N.php';
+     * $x = new Pman_Core_I18N();
      * $x->translate($this->authuser, 'c', 'US');
      * @param au - auth User
      * @param type = 'c' or 'l'