#22463 closed defect (fixed)
Preset: value translation out of context
Reported by: | Polarbear_j offline | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | External preset | Version: | |
Keywords: | Cc: |
Description
Working on the loadable preset for playground equipment I was wondering why playground:theme=tiger was translated into DE with "Zebrastreifen "Tiger" (Querung mit Fahrrad erlaubt)".
There is no such inline translation in the preset XML file.
Eventually I found that string defined in josm/resources/data/de.lang apparently referring to crossing or crossing_ref
I wonder if it is intentional behaviour that the translation of a value is taken out of context, and how to prevent it?
Attachments (0)
Change History (4)
comment:1 by , 18 months ago
Component: | Core → External preset |
---|
comment:2 by , 18 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 18 months ago
Replying to Polarbear_j offline:
I wonder if it is intentional behaviour that the translation of a value is taken out of context,
Yes, it is intended to reuse translated strings from core also in external ressources.
and how to prevent it?
name_context, text_context and values_context can be used to separate the translations, see wiki:/TaggingPresets.
Fixed by:
https://josm.openstreetmap.de/wiki/Presets/Playground_Equipment?action=diff&version=25