Modify

Opened 6 years ago

Last modified 3 years ago

#12251 new defect

Localized names of mappaint styles are not updated when changing the language

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report i18n Cc:

Description

The mappaint style dialog should display the localized name, which is specified in the style in the meta[lang=de] block. As you can see in the screenshot, while the style "ZeigeID" displays the german name others display the english name, like Layer checker or Maxspeed.
This is always the same regardless if I set the lamguage of JOSM to german or english.


URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2015-12-28 22:00:20 +0100 (Mon, 28 Dec 2015)
Build-Date:2015-12-28 21:05:24
Revision:9206
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9206 de) Windows 7 32-Bit
Memory Usage: 247 MB / 742 MB (140 MB allocated, but free)
Java version: 1.8.0_66, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.8.0_66\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest-bla.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=61082, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Dataset consistency test: No problems found

Plugins:
- AddrInterpolation (31772)
- DirectDownload (31772)
- DirectUpload (31871)
- HouseNumberTaggingTool (31772)
- OpeningHoursEditor (31772)
- PicLayer (31772)
- RoadSigns (31772)
- apache-commons (31772)
- buildings_tools (31772)
- download_along (31772)
- editgpx (31772)
- imagery_offset_db (31772)
- importvec (31772)
- log4j (31879)
- measurement (31772)
- photo_geotagging (31772)
- photoadjust (31772)
- public_transport (31772)
- reltoolbox (31772)
- reverter (31772)
- tag2link (31867)
- tageditor (31772)
- tagging-preset-tester (31772)
- terracer (31772)
- turnlanes (31772)
- turnrestrictions (31772)
- undelete (31772)
- utilsplugin2 (31772)
- wikipedia (31866)

Attachments (1)

style_lang.png (64.1 KB) - added by Klumbumbus 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by Klumbumbus

Attachment: style_lang.png added

comment:1 Changed 6 years ago by Don-vip

Does it work with current tested?

comment:2 in reply to:  1 Changed 6 years ago by Klumbumbus

Replying to Don-vip:

Does it work with current tested?

No, same problem with r9060 and (randomly choosen) r7068.
Maybe some kind of caching problem with preference key mappaint.style.entries?

comment:3 Changed 6 years ago by simon04

The name is localized if JOSM is set to German when adding the style. The names are not updated when changing the language.

comment:4 Changed 3 years ago by Don-vip

Keywords: regression removed
Summary: Localized names of mappaint styles do not work anymoreLocalized names of mappaint styles are not updated when changing the language

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to Klumbumbus
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.