Changeset 33152 in osm for applications/editors/josm
- Timestamp:
- 2017-02-15T18:49:00+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/i18n.pl
r31956 r33152 277 277 my $fmte1 = ""; 278 278 my $trt = $tr; $trt =~ s/'[{}]'//g; 279 while($trt =~ /\{(.*?)\}/g) {push @fmt,$1}; $fmt = join("_", sort @fmt); @fmt = (); 279 while($trt =~ /\{(.*?)\}/g) {push @fmt,$1}; 280 while($trt =~ /\%([a-z]+)\%/g) {push @fmt,$1}; 281 $fmt = join("_", sort @fmt); @fmt = (); 280 282 my $ent = $en; $ent =~ s/'[{}]'//g; 281 while($ent =~ /\{(.*?)\}/g) {push @fmt,$1}; $fmte = join("_", sort @fmt); @fmt = (); 283 while($ent =~ /\{(.*?)\}/g) {push @fmt,$1}; 284 while($ent =~ /\%([a-z]+)\%/g) {push @fmt,$1}; 285 $fmte = join("_", sort @fmt); @fmt = (); 282 286 if($en1) 283 287 {
Note:
See TracChangeset
for help on using the changeset viewer.