Changeset 31088 in osm for applications/editors
- Timestamp:
- 2015-04-18T23:37:12+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/i18n.pl
r31087 r31088 9 9 my $maxcount = 0; 10 10 my $lang_pattern = '([a-z]{2}_[A-Z]{2}|[a-z]{2,3}|[a-z]{2}\@[a-z]+)'; 11 my $lang_pattern_file = '([a-z]{2}_[A-Z]{2}|[a-z]{2,3}|[a-z]{2}-[a-z]+)'; 11 12 12 13 main(); … … 262 263 my $la; 263 264 my $cnt = 0; 264 if($file =~ /^(?:.*\/)?$lang_pattern \.lang$/)265 if($file =~ /^(?:.*\/)?$lang_pattern_file\.lang$/) 265 266 { 266 267 $la = $1; 268 $la =~ s/-/\@/; 267 269 } 268 270 else … … 370 372 foreach my $la (sort keys %lang) 371 373 { 374 $la =~ s/\@/-/; 372 375 push(@clang, "${basename}$la.lang"); 373 376 }
Note:
See TracChangeset
for help on using the changeset viewer.