Modify

Opened 2 months ago

Closed 2 months ago

Last modified 2 months 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:

Description

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, https://translations.launchpad.net/josm/trunk/+pots/josm/pt_BR/5430/+translate

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)

JOSM:

URL:http://josm.openstreetmap.de/svn/trunk
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
Revision:11465
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 2 months ago.

Download all attachments as: .zip

Change History (8)

Changed 2 months ago by naoliv

Attachment: example.osm added

comment:1 Changed 2 months ago by bastiK

Resolution: fixed
Status: newclosed

In 11466/josm:

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

comment:2 Changed 2 months ago by bastiK

Milestone: 17.01

comment:3 Changed 2 months ago by skyper

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

comment:4 Changed 2 months ago by bastiK

In 11468/josm:

see #14252 - fix tests

comment:5 Changed 2 months ago by aceman

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

comment:6 Changed 2 months ago by bastiK

In 11475/josm:

see #14252 - better wording in validator message

comment:7 Changed 2 months ago by aceman

Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.