Changeset 26344 in osm
- Timestamp:
- 2011-07-16T18:28:37+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/i18n/i18n.pl
r26340 r26344 213 213 my $v = $tr; 214 214 $v =~ s/''//g; # replace all twice occuring single quotes 215 $v =~ s/'[{}]'//g; # replace all bracketquoting single quotes 215 216 if($v =~ /'/)#&& $la ne "en") 216 217 { … … 223 224 my $fmte; 224 225 my $fmte1 = ""; 225 while($tr =~ /\{(.*?)\}/g) {push @fmt,$1}; $fmt = join("_", sort @fmt); @fmt = (); 226 while($en =~ /\{(.*?)\}/g) {push @fmt,$1}; $fmte = join("_", sort @fmt); @fmt = (); 227 if($en1) {while($en1 =~ /\{(.*?)\}/g) {push @fmt,$1}; $fmte1 = join("_", sort @fmt);} 226 my $trt = $tr; $trt =~ s/'[{}]'//g; 227 while($trt =~ /\{(.*?)\}/g) {push @fmt,$1}; $fmt = join("_", sort @fmt); @fmt = (); 228 my $ent = $en; $ent =~ s/'[{}]'//g; 229 while($ent =~ /\{(.*?)\}/g) {push @fmt,$1}; $fmte = join("_", sort @fmt); @fmt = (); 230 if($en1) 231 { 232 my $en1t = $en1; $en1t =~ s/'[{}]'//g; 233 while($en1t =~ /\{(.*?)\}/g) {push @fmt,$1}; $fmte1 = join("_", sort @fmt); 234 } 228 235 if($fmt ne $fmte && $fmt ne $fmte1) 229 236 {
Note:
See TracChangeset
for help on using the changeset viewer.