Changeset 18536 in josm


Ignore:
Timestamp:
2022-08-13T18:58:06+02:00 (3 years ago)
Author:
Klumbumbus
Message:

see #21836 - Improve error messages (use only key instead of whole tag)

File:
1 edited

Legend:

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

    r18535 r18536  
    9595}
    9696
    97 /* {0} on a way, should be a node */
    98 way[voltage:primary],
    99 way[voltage:secondary],
    100 way[voltage:tertiary],
    101 way[line_attachment],
    102 way[line_management],
     97/* {0} on a way, should be a node (0.tag) */
    10398way[emergency=fire_hydrant],
    10499way[emergency=defibrillator],
    105 way[entrance],
    106 way[door],
    107100way[railway=subway_entrance],
    108101way[man_made=survey_point],
    109102way[power=transformer],
    110 way[transformer],
    111103way[power=pole],
    112104way[power=catenary_mast],
     
    129121way[highway=motorway_junction] {
    130122  throwWarning: tr("{0} on a way. Should be used on a node.", "{0.tag}");
     123}
     124
     125/* {0} on a way, should be a node (0.key) */
     126way[voltage:primary],
     127way[voltage:secondary],
     128way[voltage:tertiary],
     129way[transformer],
     130way[line_attachment],
     131way[line_management],
     132way[entrance],
     133way[door] {
     134  throwWarning: tr("{0} on a way. Should be used on a node.", "{0.key}");
    131135}
    132136
Note: See TracChangeset for help on using the changeset viewer.