Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14252 closed defect (fixed)

Same translation wrongly used in two different contexts

Reported by: naoliv Owned by: team
Priority: normal Milestone: 17.01
Component: Core validator Version:
Keywords: Cc:


Validating the attached example file, using pt_BR, it's possible to see a warning about Papel é desconhecido no template /para frente/link/para trás which is the translation for Role unknown in templates /forward/link/backward

Of course forward and backward should not be translated here, since the roles have that names.

Taking a look at launchpad I could only find one place where para frente and para trás are translated.

For para trás, for example,

It says item "Ways/Steps" group "Ways" combo "Escalator" display value

So it seems that the warning message is using the same string from the escalator template.
For the escalator it makes sense to translate it (as it is now), but not for the role.

Could JOSM not use any translation for the roles in this message about the roles, please?
ie, it should always display forward and backward (and not use an unrelated translation)


Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-01-15 23:55:54 +0100 (Sun, 15 Jan 2017)
Build-Date:2017-01-16 02:33:13
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11465 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 390 MB / 10206 MB (112 MB allocated, but free)
Java version: 1.8.0_111-8u111-b14-3-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-8-jre:amd64-8u111-b14-3
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Attachments (1)

example.osm (19.2 KB) - added by naoliv 5 years ago.

Download all attachments as: .zip

Change History (8)

Changed 5 years ago by naoliv

Attachment: example.osm added

comment:1 Changed 5 years ago by bastiK

Resolution: fixed
Status: newclosed

In 11466/josm:

fixed #14252 - do not translate relation roles; add apostrophes

comment:2 Changed 5 years ago by bastiK

Milestone: 17.01

comment:3 Changed 5 years ago by skyper

Looks like the test need to be adjusted. See jenkins test report

comment:4 Changed 5 years ago by bastiK

In 11468/josm:

see #14252 - fix tests

comment:5 Changed 5 years ago by aceman

Is "role member" the correct phrase here? What is it? Is it "member of relation with a role" ?

comment:6 Changed 5 years ago by bastiK

In 11475/josm:

see #14252 - better wording in validator message

comment:7 Changed 5 years ago by aceman


Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.