Opened 11 years ago

Last modified 11 years ago

#10558 closed enhancement

Labels for combo lists values on presets windows — at Initial Version

Reported by: francois.lacombe Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: presets, combo, xml Cc:

Description

It would be great to have the ability to define human-readable labels for values in presets combo lists.

Currently, values and label are the same since the values="" attribute is used on "combo" objects in presets XML to fill those lists.

Can't it be possible to move towards a more HTML-like approach ?
<combo key="highway" text="">

<option value="service">Service</option>
<option value="primary">Primary road</option>
<option value="secondary">Secondary road</option>
...

</combo>

My point is providing the ability to do so, no to edit the whole defaultpresets.xml like that.

It will be consistent with the human-readable labels for keys displayed on JOSM (the text="" attribute on many presets fields).

Change History (0)

Note: See TracTickets for help on using tickets.