Changeset 31634 in osm for applications/editors


Ignore:
Timestamp:
2015-10-14T22:43:34+02:00 (9 years ago)
Author:
simon04
Message:

JOSM/i18n: Option to prevent translation of values in presets - #josm11696

File:
1 edited

Legend:

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

    r31139 r31634  
    141141    my $sp = ($line =~ /delimiter="(.*?)"/) ? $1 : ($type eq "combo" ? ",":";");
    142142    my $vals = ($line =~ / display_values="(.*?)"/) ? $1 : ($line =~ /values="(.*?)"/) ? $1 : undef;
     143    $vals = undef if ($line =~ /values_no_i18n="true"/);
    143144    if($vals)
    144145    {
Note: See TracChangeset for help on using the changeset viewer.