Changeset 31087 in osm for applications/editors/josm/i18n
- Timestamp:
- 2015-04-18T22:40:18+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/i18n.pl
r31086 r31087 8 8 my $waswarn = 0; 9 9 my $maxcount = 0; 10 my $lang_pattern = '( .._..|...?|ca\@valencia)';10 my $lang_pattern = '([a-z]{2}_[A-Z]{2}|[a-z]{2,3}|[a-z]{2}\@[a-z]+)'; 11 11 12 12 main(); … … 36 36 my %postate = (last => "", type => ""); 37 37 my $linenum = 0; 38 print "Reading file $file \n";38 print "Reading file $file (lang $l)\n"; 39 39 while(<FILE>) 40 40 { … … 262 262 my $la; 263 263 my $cnt = 0; 264 if($file =~ / [-_]$lang_pattern\.lang$/ || $file =~ /^(?:.*\/)?$lang_pattern\.lang$/)264 if($file =~ /^(?:.*\/)?$lang_pattern\.lang$/) 265 265 { 266 266 $la = $1;
Note:
See TracChangeset
for help on using the changeset viewer.