diff options
-rwxr-xr-x | translate_menu.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/translate_menu.pl b/translate_menu.pl index e7a58a9..b2cf6ae 100755 --- a/translate_menu.pl +++ b/translate_menu.pl @@ -55,7 +55,7 @@ foreach my $file (@ARGV) { if (( $l =~ /(.*section=")([^"]+)("\s+.*)/ ) or ( $l =~ /(.*section=)([^"].+?)((\s|\\)+.*)/ )) { my ($beg, $section, $end) = ($1, $2, $3); $section = translate($section); - $l = "$beg$section$end"; + $l = "$beg\"$section\"$end"; } print $FILE "$l\n"; } |