Modify

Opened 10 years ago

Closed 9 years ago

Last modified 4 years ago

#9242 closed defect (fixed)

confusing "A name:* translation is missing"

Reported by: mkoniecz Owned by: team
Priority: normal Milestone: 15.04
Component: Core validator Version:
Keywords: Cc:

Description

http://www.openstreetmap.org/browse/relation/3071561 is reported by Validator with this message, in category "Other".

I have no idea what is reported here (there are some not empty name:*, what is wrong here?), it would be benefit from better name.

Attachments (0)

Change History (9)

in reply to:  description ; comment:1 by skyper, 10 years ago

Replying to Bulwersator:

http://www.openstreetmap.org/browse/relation/3071561 is reported by Validator with this message, in category "Other".

I have no idea what is reported here (there are some not empty name:*, what is wrong here?), it would be benefit from better name.

name:en is missing and name:* is present.

in reply to:  1 comment:2 by mkoniecz, 10 years ago

Replying to skyper:

Replying to Bulwersator:

http://www.openstreetmap.org/browse/relation/3071561 is reported by Validator with this message, in category "Other".

I have no idea what is reported here (there are some not empty name:*, what is wrong here?), it would be benefit from better name.

name:en is missing and name:* is present.

Is it always about name:en? In this case "A name:en translation is missing" would be preferable.

comment:3 by Don-vip, 10 years ago

It's a bit more complicated:

/**
 * Check for missing name:* translations.
 * <p>
 * This test finds multilingual objects whose 'name' attribute is not
 * equal to any 'name:*' attribute and not a composition of some
 * 'name:*' attributes separated by ' - '.
 * <p>
 * For example, a node with name=Europe, name:de=Europa should have
 * name:en=Europe to avoid triggering this test.  An object with
 * name='Suomi - Finland' should have at least name:fi=Suomi and
 * name:sv=Finland to avoid a warning (name:et=Soome would not
 * matter).  Also, complain if an object has some name:* attribute but
 * no name.
 *
 * @author Skela
 */

See source:/trunk/src/org/openstreetmap/josm/data/validation/tests/NameMismatch.java

Last edited 10 years ago by Don-vip (previous) (diff)

comment:4 by mkoniecz, 10 years ago

So it something like "value of field name is not used in any of name:* translations".
And sometimes "there are name:* values, but there is no value for field name"

comment:5 by anonymous, 9 years ago

+1 on the confusion. Even after reading this ticket, I'm murky on what this message wants of me.

comment:6 by stoecker, 9 years ago

Milestone: 15.04

comment:7 by simon04, 9 years ago

Resolution: fixed
Status: newclosed

In 8239/josm:

fix #9242 - Validator: reword "A name:* translation is missing" test result

comment:8 by aceman, 9 years ago

OK, but this test is only triggered if there is any name:* existing? And only then it checks if any name:* matches name ?

in reply to:  7 comment:9 by skyper, 4 years ago

Replying to simon04:

In 8239/josm:

fix #9242 - Validator: reword "A name:* translation is missing" test result

Did not help much see #19575.

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.