projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d33172f
)
I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 03:21:24 +0000
(11:21 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 20 Jul 2010 03:21:24 +0000
(11:21 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/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'