diff options
author | Frederic Lepied <flepied@mandriva.com> | 2004-02-06 09:48:01 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2004-02-06 09:48:01 +0000 |
commit | e5e55e43df50916cffc88455d0d8894f73ed721d (patch) | |
tree | e034dbf47f6e21c8bcfb6c9c63a59eb252dec691 | |
parent | 5d9b62f2d979bf0ad2fe5cd6407cfab3fdb2913f (diff) | |
download | spec-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-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"; } |