diff options
author | Andras Timar <atimar@suse.com> | 2012-01-03 18:11:13 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-01-03 19:48:57 +0100 |
commit | 70717b7740c8475b17a3505c70f82f50ffe48e6d (patch) | |
tree | 325196be029dca2ae57d535b3d8280722004425c /l10ntools | |
parent | 3f596abdb84748eaf039e993b08ff2a2c4d3a36b (diff) |
use '_' instead of '-' in file names of .properties files
Diffstat (limited to 'l10ntools')
-rwxr-xr-x | l10ntools/scripts/propmerge | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/l10ntools/scripts/propmerge b/l10ntools/scripts/propmerge index 1e0e8a772ca4..5ba420d5c858 100755 --- a/l10ntools/scripts/propmerge +++ b/l10ntools/scripts/propmerge @@ -63,7 +63,9 @@ close (SDFFILE); foreach my $lang (keys %languages) { my $locfilename = $options{i}; + $lang =~ s/-/_/; $locfilename =~ s/en_US\.properties/$lang.properties/; + $lang =~ s/_/-/; open (INFILE, "<$options{i}") || die "propmerge: cannot open source file: $options{i}"; open (OUTFILE, ">$locfilename") || die "propmerge: cannot open output file: $locfilename"; while (<INFILE>) { |