tAutomatically remove conflicting quotes on pot generation - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit e7e21243dbc4789fddab0dd732410bedf495f121 DIR parent 26e549292fe357012b22559477292609a8ee14dd HTML Author: Daniel Rodriguez <gdrooid@openmailbox.org> Date: Sat, 21 Jan 2017 18:48:09 +0100 Automatically remove conflicting quotes on pot generation Diffstat: M extras/translations/generate_trans… | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/extras/translations/generate_translatable_strings.pl b/extras/translations/generate_translatable_strings.pl t@@ -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;