diff --git a/scripts/fix-i18n.pl b/scripts/fix-i18n.pl index 8f23673561..5d5e8f68b9 100755 --- a/scripts/fix-i18n.pl +++ b/scripts/fix-i18n.pl @@ -70,6 +70,8 @@ if ($_ =~ m/^(\s+)"(.*?)"(: *)"(.*?)"(,?)$/) { } if ($sub) { + $src =~ s/"/\\"/g; + $dst =~ s/"/\\"/g; print qq($indent"$src"$colon"$dst"$comma\n); last; }