- Timestamp:
- 2010-12-15T22:13:15+01:00 (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/defaultpresets.xml
r3726 r3727 506 506 <optional> 507 507 <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<br>with climbing,T6 - difficult\, hazardous alpine trail with<br>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"> 509 509 <short_description>Trail well cleared. Area flat or slightly sloped, no fall hazard</short_description> 510 510 <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 394 394 395 395 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)); 397 397 display_array = value_array; 398 398 } 399 399 400 400 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)); 402 402 short_descriptions_array = null; 403 403 }
Note:
See TracChangeset
for help on using the changeset viewer.