From e5e55e43df50916cffc88455d0d8894f73ed721d Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Fri, 6 Feb 2004 09:48:01 +0000 Subject: use " around the section name --- translate_menu.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- cgit v1.2.1