commit e7e21243dbc4789fddab0dd732410bedf495f121
parent 26e549292fe357012b22559477292609a8ee14dd
Author: Daniel Rodriguez <gdrooid@openmailbox.org>
Date:   Sat, 21 Jan 2017 18:48:09 +0100
Automatically remove conflicting quotes on pot generation
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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;