[josm-dev] multiline entry in template (was: sac_scale in JOSM - RFC for change of translation)
Sebastian Klein
bastikln at googlemail.com
Thu Dec 16 18:44:58 GMT 2010
Sebastian Klein wrote:
> Fichtennadel wrote:
>> On Tue, Nov 30, 2010 at 11:04 AM, Sebastian Klein wrote:
>>> Btw.: You can use html markup to create a multiline entry, e.g.
>>> <html><i>Wanderweg</i><br> ausgeglichene Steigung,
>>> Absturzgefahr<br> nicht ausgeschlossen</html>
>>>
>>> (The height of the sac_scale field in the preset dialog will grow
>>> accordingly, but I would fix this little flaw later.)
>>
>> I've tried that locally for one entry, but with somewhat mixed
>> results, see
>> http://img146.imageshack.us/img146/7209/josmtemplatesacscale.gif
>>
>> 1. after selecting the entry from the list, the raw html text shows up
>> in the text item (see screenshot). How to prevent this?
>> 2. the text is editable. So if the user changes the default text, this
>> (usually invalid) text is put into the tag value. Is this behaviour
>> intended?
>> (3. as you've said, the height grows.)
>
> Ok, its not really usable like this. Please provide the texts and we can
> try to find a better integration into the preset dialog.
Added the explanation to the drop down list (in v3726). It is
translatable in launchpad [1], better wording for the English texts is
also welcome.
Sebastian
[1] https://translations.launchpad.net/josm
More information about the josm-dev
mailing list