Changeset 33152 in osm for applications/editors/josm/i18n


Ignore:
Timestamp:
2017-02-15T18:49:00+01:00 (7 years ago)
Author:
stoecker
Message:

support tag2link format as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/i18n.pl

    r31956 r33152  
    277277  my $fmte1 = "";
    278278  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 = ();
    280282  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 = ();
    282286  if($en1)
    283287  {
Note: See TracChangeset for help on using the changeset viewer.