Automatically remove conflicting quotes on pot generation

This commit is contained in:
Daniel Rodriguez 2017-01-21 18:48:09 +01:00
parent 26e549292f
commit e7e21243db

View File

@ -72,6 +72,9 @@ foreach (@lines) {
$str = $2;
}
# Remove conflicting quotes (\)
$str =~ s/\\\$/\$/g;
# Next if it was seen before
$seen{$str}++;
next if $seen{$str} > 1;