Changeset 2230 in josm for trunk/presets/presets.xml
- Timestamp:
- 2009-10-03T13:56:26+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/presets/presets.xml
r2207 r2230 35 35 text: fixed label to display 36 36 values: comma seperated list of values 37 display_values: comma seperated list of values to be displayed instead of the 38 database values, order and number must be equal to values 37 39 default: default string to display 38 40 delete_if_empty: true/false … … 53 55 54 56 See also http://josm.openstreetmap.de/wiki/TaggingPresets. 57 58 The fields "name", "text", "display_values" may also be localized (e.g. de.name). 59 When translations of equal words but different meanings may conflict, a translation 60 context should be specified. Use "name_conext", "text_context" or "values_context" 61 for this. The context should be a meaningful short description to help translators. 62 63 In JOSM internally all "name", "text" and "display_values" are translated when 64 no specific translation has been given in XML file. When no "display_values" 65 are supplied, then "values" will be treated as "display_values" and translated instead. 55 66 --> 56 67 <annotations> … … 1367 1378 <text key="name" text="Name" default="" delete_if_empty="true" /> 1368 1379 </item> 1369 <item name="Station" icon="presets/aerialway_station.png" type="node,closedway">1380 <item name="Station" name_context="aerialway" icon="presets/aerialway_station.png" type="node,closedway"> 1370 1381 <link href="http://wiki.openstreetmap.org/wiki/Proposed_features/Piste_Maps" /> 1371 <label text="Edit Station" />1382 <label text="Edit Station" text_context="aerialway" /> 1372 1383 <key key="aerialway" value="station" /> 1373 1384 <text key="name" text="Name" default="" delete_if_empty="true" /> … … 1462 1473 </group> <!-- Bicycle --> 1463 1474 <group name="Public Transport" icon="presets/bus.png"> 1464 <item name="Station" icon="presets/station.png" type="node,closedway">1475 <item name="Station" name_context="railway" icon="presets/station.png" type="node,closedway"> 1465 1476 <link href="http://wiki.openstreetmap.org/wiki/Tag:railway=station" 1466 1477 de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:railway=station" /> 1467 <label text="Edit Station" />1478 <label text="Edit Station" text_context="railway" /> 1468 1479 <space /> 1469 1480 <key key="railway" value="station" />
Note:
See TracChangeset
for help on using the changeset viewer.