Changeset 16078 in josm for trunk/src/org


Ignore:
Timestamp:
2020-03-08T14:34:12+01:00 (5 years ago)
Author:
GerdP
Message:

see #18643: I18n: improve plural forms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java

    r16076 r16078  
    379379            if (errorCode == RINGS_SHARE_NODES) {
    380380                errors.add(TestError.builder(this, Severity.OTHER, errorCode)
    381                         .message(tr("Multipolygon rings share nodes"))
     381                        .message(tr("Multipolygon rings share node"))
    382382                        .primitives(prims)
    383383                        .highlight(sharedByPolygons)
     
    577577                    } else if (loop == 0 || samePoly || (loop == 1 && !allInner)) {
    578578                        String msg = loop == 0 ? tr("Intersection between multipolygon ways")
    579                                 : samePoly ? tr("Multipolygon ring contains segments twice")
    580                                         : tr("Multipolygon outer way shares segments with other ring");
     579                                : samePoly ? tr("Multipolygon ring contains segment twice")
     580                                        : tr("Multipolygon outer way shares segment with other ring");
    581581                        errors.add(TestError.builder(this, Severity.ERROR, CROSSING_WAYS)
    582582                                .message(msg)
     
    693693    /**
    694694     * Check for:<ul>
    695      * <li>{@link #REPEATED_MEMBER_DIFF_ROLE}: Multipolygon members repeated with different role</li>
    696      * <li>{@link #REPEATED_MEMBER_SAME_ROLE}: Multipolygon members repeated with same role</li>
     695     * <li>{@link #REPEATED_MEMBER_DIFF_ROLE}: Multipolygon member repeated with different role</li>
     696     * <li>{@link #REPEATED_MEMBER_SAME_ROLE}: Multipolygon member repeated with same role</li>
    697697     * </ul>
    698698     * @param r relation
     
    738738                }
    739739            }
    740             addRepeatedMemberError(r, repeatedDiffRole, REPEATED_MEMBER_DIFF_ROLE, tr("Multipolygon members repeated with different role"));
    741             addRepeatedMemberError(r, repeatedSameRole, REPEATED_MEMBER_SAME_ROLE, tr("Multipolygon members repeated with same role"));
     740            addRepeatedMemberError(r, repeatedDiffRole, REPEATED_MEMBER_DIFF_ROLE, tr("Multipolygon member repeated with different role"));
     741            addRepeatedMemberError(r, repeatedSameRole, REPEATED_MEMBER_SAME_ROLE, tr("Multipolygon member repeated with same role"));
    742742        }
    743743        return hasDups;
Note: See TracChangeset for help on using the changeset viewer.