Changeset 18152 in osm


Ignore:
Timestamp:
2009-10-14T21:47:07+02:00 (15 years ago)
Author:
skela
Message:

Fixed #3412 in the JOSM Validator plugin: Find multilingual objects
whose 'name' attribute is not equal to any name:* attribute and not a
composition of some name:* attributes separated by ' - '. 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.

Location:
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/OSMValidatorPlugin.java

    r17715 r18152  
    4040import org.openstreetmap.josm.plugins.validator.tests.DuplicateWay;
    4141import org.openstreetmap.josm.plugins.validator.tests.DuplicatedWayNodes;
     42import org.openstreetmap.josm.plugins.validator.tests.NameMismatch;
    4243import org.openstreetmap.josm.plugins.validator.tests.NodesWithSameName;
    4344import org.openstreetmap.josm.plugins.validator.tests.OverlappingWays;
     
    9899            UnconnectedWays.class, // ID 1301 .. 1399
    99100            DuplicateWay.class, // ID 1401 .. 1499
     101            NameMismatch.class, // ID  1501 ..  1599
    100102    };
    101103
Note: See TracChangeset for help on using the changeset viewer.