fix occurrence line number on false translations
This commit is contained in:
parent
ac7a912266
commit
46d5284a4f
1 changed files with 1 additions and 0 deletions
|
@ -463,6 +463,7 @@ class dcTranslater
|
||||||
foreach($parts as $part) {
|
foreach($parts as $part) {
|
||||||
// should start with quote
|
// should start with quote
|
||||||
if (!in_array(substr($part,0,1), ['"', "'"])) {
|
if (!in_array(substr($part,0,1), ['"', "'"])) {
|
||||||
|
$p++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// put back first parenthesis
|
// put back first parenthesis
|
||||||
|
|
Loading…
Reference in a new issue