projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44586f3
)
I18n.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 07:15:35 +0000
(15:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Sep 2011 07:15:35 +0000
(15:15 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
b2d47d4
..
a15575a
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-179,7
+179,10
@@
class Pman_Core_I18N extends Pman
}
$lang = !$au || empty($au->lang ) ? 'en' : is_string($au) ? $au : $au->lang;
+ // does it need caching?
+ $i = DB_DataObject::Factory('I18n');
+ return $i->translate($lang,$type,$k);