Changeset 3727 in josm


Ignore:
Timestamp:
2010-12-15T22:13:15+01:00 (11 years ago)
Author:
bastiK
Message:

shorten display_values a bit to get rid of <br>

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r3726 r3727  
    506506            <optional>
    507507                <text key="name" text="Name" default="" delete_if_empty="true" />
    508                 <combo key="sac_scale" text="SAC Scale" values="hiking,mountain_hiking,demanding_mountain_hiking,alpine_hiking,demanding_alpine_hiking,difficult_alpine_hiking" default="" delete_if_empty="true" display_values="T1 - hiking trail,T2 - mountain hiking trail,T3 - difficult,T4 - difficult\, exposed\, steep alpine trail,T5 - difficult\, exposed\, steep alpine trail&lt;br&gt;with climbing,T6 - difficult\, hazardous alpine trail with&lt;br&gt;climbing">
     508                <combo key="sac_scale" text="SAC Scale" values="hiking,mountain_hiking,demanding_mountain_hiking,alpine_hiking,demanding_alpine_hiking,difficult_alpine_hiking" default="" delete_if_empty="true" display_values="T1 - hiking trail,T2 - mountain hiking trail,T3 - difficult,T4 - difficult\, exposed\, steep alpine trail,T5 - difficult alpine trail with climbing,T6 - hazardous alpine trail with climbing">
    509509                    <short_description>Trail well cleared. Area flat or slightly sloped, no fall hazard</short_description>
    510510                    <short_description>Trail with continuous line and balanced ascent. Terrain partially steep, fall hazard possible</short_description>
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r3726 r3727  
    394394
    395395            if (display_array.length != value_array.length) {
    396                 System.err.println(tr("Broken tagging preset \"{0}-{1}\" - number of items in display_values must be the same as in values", key, text));
     396                System.err.println(tr("Broken tagging preset \"{0}-{1}\" - number of items in ''display_values'' must be the same as in ''values''", key, text));
    397397                display_array = value_array;
    398398            }
    399399
    400400            if (short_descriptions_array != null && short_descriptions_array.length != value_array.length) {
    401                 System.err.println(tr("Broken tagging preset \"{0}-{1}\" - number of items in short_descriptions must be the same as in values", key, text));
     401                System.err.println(tr("Broken tagging preset \"{0}-{1}\" - number of items in ''short_descriptions'' must be the same as in ''values''", key, text));
    402402                short_descriptions_array = null;
    403403            }
Note: See TracChangeset for help on using the changeset viewer.