projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
I18n.php
[Pman.Core]
/
I18n.php
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);