[josm-dev] few questions about plugin development
    Dirk Stöcker 
    openstreetmap at dstoecker.de
       
    Thu May  6 08:17:10 BST 2010
    
    
  
On Wed, 5 May 2010, Sebastian Klein wrote:
> Matthias Meißer wrote:
>> Hi, just a few questions concerning about JOSM plugin development:
>>
>> Why is my main menu entry 'video' translated to 'Videoverleih' even if I
>> don't use tr() ?
>
> Menu entries are translated by default. Use can use
> marktrc("videomapping", "video") to mark your string for translation and
> set a different context.
This wont work. You can't change the context for menus. Either choose 
another string (e.g. 'Video'), or we need to set a context for the video 
entry in presets menu.
NOTE: Don't use tr() on menu names yourself. Only marktr().
Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)
    
    
More information about the josm-dev
mailing list