diff --git a/extras/translations/generate_translatable_strings.pl b/extras/translations/generate_translatable_strings.pl index ecccfee..c006d5f 100644 --- a/extras/translations/generate_translatable_strings.pl +++ b/extras/translations/generate_translatable_strings.pl @@ -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;