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:45:53 +0100 |
commit | 297502d2325e8a241cc8c298940cb4e7ccefc9f0 (patch) | |
tree | 8d7182fc85eb93a24f3cceae38b2098b100f4b09 /l10ntools | |
parent | 865c12c795060b912eae8646dd84f766dd04c866 (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>) { |