Changeset 6337 in josm for trunk/presets_lang.pl


Ignore:
Timestamp:
2013-10-27T15:35:49+01:00 (7 years ago)
Author:
stoecker
Message:

fix #9229 - proper coding of chines links

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/presets_lang.pl

    r6325 r6337  
    4646        my $val = uri_unescape($2);
    4747        $lang = "$1_".uc($2) if($lang =~ /^(..)[_-](..)$/);
     48        $lang = "zh_CN" if $lang eq "zh-hans";
     49        $lang = "zh_TW" if $lang eq "zh-hant";
    4850        $datan{$lang} = $val;
    4951      }
Note: See TracChangeset for help on using the changeset viewer.