Changeset 28762 in osm for applications/editors


Ignore:
Timestamp:
2012-10-02T23:40:49+02:00 (12 years ago)
Author:
donvip
Message:

[josm_reltoolbox] i18n fix

Location:
applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/AssociatedStreetFixer.java

    r28710 r28762  
    2727                for (RelationMember m : rel.getMembers()) {
    2828                if (m.getType().equals(OsmPrimitiveType.NODE) && !"house".equals(m.getRole())) {
    29                     setWarningMessage(tr("Node without 'house' role found"));
     29                    setWarningMessage(tr("Node without ''house'' role found"));
    3030                        return false;
    3131                }
    3232                if (m.getType().equals(OsmPrimitiveType.WAY) && !("house".equals(m.getRole()) || "street".equals(m.getRole()))) {
    33                     setWarningMessage(tr("Way without 'house' or 'street' role found"));
     33                    setWarningMessage(tr("Way without ''house'' or ''street'' role found"));
    3434                    return false;
    3535                }
    3636                if (m.getType().equals(OsmPrimitiveType.RELATION) && !"house".equals(m.getRole())) {
    37                     setWarningMessage(tr("Relation without 'house' role found"));
     37                    setWarningMessage(tr("Relation without ''house'' role found"));
    3838                        return false;
    3939                }
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/BoundaryFixer.java

    r28720 r28762  
    3434                for( RelationMember m : rel.getMembers() ) {
    3535            if (m.getType().equals(OsmPrimitiveType.RELATION) && !"subarea".equals(m.getRole())) {
    36                 setWarningMessage(tr("Relation without 'subarea' role found"));
     36                setWarningMessage(tr("Relation without ''subarea'' role found"));
    3737                return false;
    3838            }
    3939            if (m.getType().equals(OsmPrimitiveType.NODE) && !("label".equals(m.getRole()) || "admin_centre".equals(m.getRole()))) {
    40                 setWarningMessage(tr("Node without 'label' or 'admin_centre' role found"));
     40                setWarningMessage(tr("Node without ''label'' or ''admin_centre'' role found"));
    4141                return false;
    4242            }
    4343            if (m.getType().equals(OsmPrimitiveType.WAY) && !("outer".equals(m.getRole()) || "inner".equals(m.getRole()))) {
    44                 setWarningMessage(tr("Way without 'inner' or 'outer' role found"));
     44                setWarningMessage(tr("Way without ''inner'' or ''outer'' role found"));
    4545                                return false;
    4646            }
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/MultipolygonFixer.java

    r28703 r28762  
    3535                for (RelationMember m : rel.getMembers())
    3636                        if (m.getType().equals(OsmPrimitiveType.WAY) && !("outer".equals(m.getRole()) || "inner".equals(m.getRole()))) {
    37                             setWarningMessage(tr("Way without 'inner' or 'outer' role found"));
     37                            setWarningMessage(tr("Way without ''inner'' or ''outer'' role found"));
    3838                            return false;
    3939                        }
Note: See TracChangeset for help on using the changeset viewer.