projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2181f1
)
DataObjects/Core_template.php
author
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 04:49:18 +0000
(12:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 04:49:18 +0000
(12:49 +0800)
DataObjects/Core_template.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_template.php
b/DataObjects/Core_template.php
index
3d27cda
..
a000d40
100644
(file)
--- a/
DataObjects/Core_template.php
+++ b/
DataObjects/Core_template.php
@@
-401,7
+401,7
@@
WHERE (
function genGetText($clsname, $lang=false)
{
static $done = false;
-
+ textdomain($clsname);
$ff = HTML_FlexyFramework::get();
$lang = $lang ? $lang : (isset($ff->locale) ? $ff->locale : 'en');
if (!empty($done[$clsname.':'.$lang])) {
@@
-448,7
+448,7
@@
WHERE (
//exit;
setlocale(LC_MESSAGES, $lang);
bindtextdomain($clsname, $compileDir);
- textdomain($clsname);
+
//
textdomain($clsname);
$done[$clsname.':'.$lang] = 1;