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