#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)
comment:1 follow-up: 2 Changed 10 years ago by
comment:2 Changed 10 years ago by
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 Changed 10 years ago by
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
comment:4 Changed 10 years ago by
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 Changed 9 years ago by
+1 on the confusion. Even after reading this ticket, I'm murky on what this message wants of me.
comment:6 Changed 9 years ago by
Milestone: | → 15.04 |
---|
comment:7 follow-up: 9 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
In 8239/josm:
comment:8 Changed 8 years ago by
OK, but this test is only triggered if there is any name:* existing? And only then it checks if any name:* matches name ?
Replying to Bulwersator:
name:en is missing and name:* is present.