better fix for performance
This commit is contained in:
parent
0c05b8110f
commit
3fcdba2bc3
1 changed files with 1 additions and 3 deletions
|
|
@ -699,9 +699,7 @@ class Translate
|
|||
$str
|
||||
);
|
||||
|
||||
if (preg_match('/%\)/', $str)) {
|
||||
$str = preg_replace('/%\)/', '__percent__)', $str);
|
||||
}
|
||||
$str = preg_replace('/%\)/', '__percent__)', $str);
|
||||
|
||||
if (strpos($key, 'Format') !== 0) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue