fix occurrence line number on false translations

This commit is contained in:
Jean-Christian Denis 2021-09-26 23:52:18 +02:00
parent ac7a912266
commit 46d5284a4f
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -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