projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa4fff4
)
UpdateBjsTemplates.php
author
leon
<leon@roojs.com>
Wed, 26 Jul 2023 03:27:49 +0000
(11:27 +0800)
committer
leon
<leon@roojs.com>
Wed, 26 Jul 2023 03:27:49 +0000
(11:27 +0800)
UpdateBjsTemplates.php
patch
|
blob
|
history
diff --git
a/UpdateBjsTemplates.php
b/UpdateBjsTemplates.php
index
394e3a5
..
21f7c0d
100644
(file)
--- a/
UpdateBjsTemplates.php
+++ b/
UpdateBjsTemplates.php
@@
-277,9
+277,11
@@
class Pman_Cms_UpdateBjsTemplates extends Pman_Admin_UpdateBjsTemplates
$textName = $property[0]->attributes()->name->__toString();
+ $textValue = $text->__toString();
+
// a text is translatable if its name starts with 'tr-'
if(strpos($textName, 'tr-') === 0) {
- $strings[$slide][
$textName
] = $text->__toString();
+ $strings[$slide][] = $text->__toString();
}
}
}