aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2004-02-06 09:48:01 +0000
committerFrederic Lepied <flepied@mandriva.com>2004-02-06 09:48:01 +0000
commite5e55e43df50916cffc88455d0d8894f73ed721d (patch)
treee034dbf47f6e21c8bcfb6c9c63a59eb252dec691
parent5d9b62f2d979bf0ad2fe5cd6407cfab3fdb2913f (diff)
downloadspec-helper-e5e55e43df50916cffc88455d0d8894f73ed721d.tar
spec-helper-e5e55e43df50916cffc88455d0d8894f73ed721d.tar.gz
spec-helper-e5e55e43df50916cffc88455d0d8894f73ed721d.tar.bz2
spec-helper-e5e55e43df50916cffc88455d0d8894f73ed721d.tar.xz
spec-helper-e5e55e43df50916cffc88455d0d8894f73ed721d.zip
use " around the section name
-rwxr-xr-xtranslate_menu.pl2
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";
}