chiark / gitweb /
i18n: i18n-diff-auditor: ignore space in old "-string only in brackets
[dgit.git] / i18n-diff-auditor
index c3630b640c75d4c0b00783d9f708b6332f4c76ba..43e1c10953eda12dbfe457c2635b1979738582f1 100755 (executable)
@@ -309,7 +309,7 @@ sub analyse_chunk_core () {
                        pop @analysed_y;
                        last;
                    }
-                   $xs =~ s{^\s+}{};
+                   $xs =~ s{^\s+}{} if $bras;
                    $exactly->($y->{E}, $y->{P});
                    if ($y->{T} eq 'bra' or $y->{E} eq '?') {
                        $bras++;