fix occurrence line number on false translations

This commit is contained in:
Jean-Christian Paul 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) {
// should start with quote
if (!in_array(substr($part,0,1), ['"', "'"])) {
$p++;
continue;
}
// put back first parenthesis