Modify

Opened 8 years ago

Closed 8 years ago

Last modified 8 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:

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 8 years ago.

Download all attachments as: .zip

Change History (8)

by naoliv, 8 years ago

Attachment: example.osm added

comment:1 by bastiK, 8 years ago

Resolution: fixed
Status: newclosed

In 11466/josm:

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

comment:2 by bastiK, 8 years ago

Milestone: 17.01

comment:3 by skyper, 8 years ago

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

comment:4 by bastiK, 8 years ago

In 11468/josm:

see #14252 - fix tests

comment:5 by aceman, 8 years ago

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

comment:6 by bastiK, 8 years ago

In 11475/josm:

see #14252 - better wording in validator message

comment:7 by aceman, 8 years ago

Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
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.