Changeset 17153 in josm


Ignore:
Timestamp:
2020-10-10T23:30:50+02:00 (2 weeks ago)
Author:
Klumbumbus
Message:

see #17809 - Don't promote spelling FIXME, deprecate Fixme in favor of fixme

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/deprecated.mapcss

    r17122 r17153  
    20942094}
    20952095
     2096/* #17809 */
     2097*[Fixme] {
     2098  throwWarning: tr("{0} is deprecated", "{0.key}");
     2099  suggestAlternative: "fixme";
     2100  group: tr("deprecated tagging");
     2101  fixChangeKey: "Fixme => fixme";
     2102  assertMatch: "way Fixme=foo";
     2103  assertNoMatch: "way fixme=foo";
     2104  assertNoMatch: "way FIXME=foo";
     2105}
     2106
    20962107/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java

    r16913 r17153  
    16231623    /**
    16241624     * Matches objects that don't have any interesting tags (i.e. only has source,
    1625      * FIXME, etc.). The complete list of uninteresting tags can be found here:
     1625     * fixme, etc.). The complete list of uninteresting tags can be found here:
    16261626     * org.openstreetmap.josm.data.osm.OsmPrimitive.getUninterestingKeys()
    16271627     */
  • trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java

    r17139 r17153  
    628628            if (checkFixmes && key != null && value != null && !value.isEmpty() && isFixme(key, value) && !withErrors.contains(p, "FIXME")) {
    629629                errors.add(TestError.builder(this, Severity.OTHER, FIXME)
    630                         .message(tr("FIXMES"))
     630                        .message(tr("fixme"))
    631631                        .primitives(p)
    632632                        .build());
     
    11061106        testPanel.add(prefCheckValuesBeforeUpload, a);
    11071107
    1108         prefCheckFixmes = new JCheckBox(tr("Check for FIXMES."), Config.getPref().getBoolean(PREF_CHECK_FIXMES, true));
    1109         prefCheckFixmes.setToolTipText(tr("Looks for nodes or ways with FIXME in any property value."));
     1108        prefCheckFixmes = new JCheckBox(tr("Check for fixme."), Config.getPref().getBoolean(PREF_CHECK_FIXMES, true));
     1109        prefCheckFixmes.setToolTipText(tr("Looks for nodes or ways with fixme in any property value."));
    11101110        testPanel.add(prefCheckFixmes, GBC.std().insets(20, 0, 0, 0));
    11111111
  • trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedNode.java

    r13561 r17153  
    6464            /* translation note: don't translate quoted words */
    6565            errors.add(TestError.builder(this, Severity.WARNING, UNTAGGED_NODE_FIXME)
    66                     .message(ERROR_MESSAGE, marktr("Has tag containing ''fixme'' or ''FIXME''"))
     66                    .message(ERROR_MESSAGE, marktr("Has tag containing ''fixme''"))
    6767                    .primitives(castPrim(n))
    6868                    .build());
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/actions/DuplicateRelationAction.java

    r14030 r17153  
    2525        super(editorAccess);
    2626        putValue(SHORT_DESCRIPTION, tr("Create a copy of this relation and open it in another editor window"));
    27         // FIXME provide an icon
    2827        new ImageProvider("duplicate").getResource().attachImageIcon(this, true);
    2928        putValue(NAME, tr("Duplicate"));
Note: See TracChangeset for help on using the changeset viewer.