chiark / gitweb /
i18n: i18n-diff-auditor: handle "..." strings as arguments to f_
[dgit.git] / i18n-diff-auditor
index 42ebe00d9dbc85f6c1937ad1df92ee89d29921cc..b85b853687e3ad95065615bc8f702d49f3ddab2b 100755 (executable)
@@ -310,6 +310,10 @@ sub analyse_chunk_core () {
                        last;
                    }
                    $xs =~ s{^\s+}{} if $bras;
+                   if (is_string($y) and $y->{Q} eq '"') {
+                       $exactly->($y->{V}, $y->{P});
+                       next;
+                   }
                    $exactly->($y->{E}, $y->{P});
                    if ($y->{T} eq 'bra' or $y->{E} eq '?') {
                        $bras++;