Changeset 26987 in osm for applications/editors


Ignore:
Timestamp:
2011-10-29T14:40:10+02:00 (13 years ago)
Author:
stoecker
Message:

add language file information tool

Location:
applications/editors/josm/i18n
Files:
1 added
1 edited

Legend:

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

    r26586 r26987  
    304304      { }
    305305      my $val;
     306      $eq = 0;
    306307      if($la eq "en")
    307308      {
     
    319320          my $ennoctx = $en;
    320321          $ennoctx =~ s/^___(.*)___//;
    321           $num = 0 if $val eq $ennoctx && $data->{$en}{"$la.1"} eq $data->{$en}{"en.1"};
    322         }
    323       }
    324 
    325       print FILE pack "C",$num;
     322          if($val eq $ennoctx && $data->{$en}{"$la.1"} eq $data->{$en}{"en.1"})
     323          {
     324            $num = 0;
     325            $eq = 1;
     326          }
     327        }
     328      }
     329
     330      print FILE pack "C",$eq ? 0xFE : $num;
    326331      if($num)
    327332      {
Note: See TracChangeset for help on using the changeset viewer.