[josm-dev] mappaint bug
Женя
yourname at mail.ru
Fri Jan 9 23:24:56 GMT 2009
Yes, that worked from the first try! Great thanks for the advice!
PS - im oldova, where I'm from, Russian is not the state language, but it is widely used, and all the places have russian names. That's why I use name:ru - it will make namefinder searches more relevant, and we can also render some maps with russian name in the future maybe....
PPS - now I got to use tagging presets - need to translate that part of JOSM too ;)
-----Original Message-----
From: Dirk StЖcker <openstreetmap at dstoecker.de>
To: josm-dev at openstreetmap.org
Date: Fri, 9 Jan 2009 23:50:02 +0100 (CET)
Subject: Re: [josm-dev] mappaint bug
> On Sat, 10 Jan 2009, Женя wrote:
>
> > Oh, and one more questtion about the UI, that I always forget to ask:
> > I add the tag "name:ru" pretty often to different objects. And I'd like to have a button for that on the panel.
> > So, I press the button - and a property editor pops up, the tag is already set to what I configured it to be, and I just type in the value.
> > Is this currently possible? Because I only found the ability to add shortcuts to different existing menu items, not a generic configurable button.
>
> This is essentially adding a Tagging preset.
>
> Make a new file equal to the presets.xml in source, but only with the
> entry(ies) you want to have. Now add this file to the tagging preset
> sources. It will appear in the menu. In toolbar preferences you can now
> add that to the toolbar.
>
> Example file:
>
> <annotations>
> <item name="Russian Name" icon="presets/addresses.png">
> <label text="Add a russian name" />
> <label text=" " />
> <text key="name:ru" text="Russian name" default="" delete_if_empty="true" />
> </item>
> </annotations>
>
> Note: name:ru and text:ru would be for russian text, but as you use it
> private that probably does not matter and you could enter that in name
> and text directly :-)
>
> Note2: I did not add a group in the example, so it will appear in main
> menu, not in a sub menu.
>
> If not working, please ask again. Either you do wrong or there is a bug :-)
>
> Ciao
> --
> http://www.dstoecker.eu/ (PGP key available)
>
> _______________________________________________
> josm-dev mailing list
> josm-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/josm-dev
>
>
Женя mailto:yourname at mail.ru
More information about the josm-dev
mailing list