Ticket #10693: 10693.patch

File 10693.patch, 636 bytes (added by brianegge, 5 years ago)
  • data/validator/deprecated.mapcss

     
    332332/* see #10661 */
    333333*[barrier=yes] {
    334334  throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by a specific value.", "{0.key}", "{0.value}");
    335 }
    336  No newline at end of file
     335}
     336
     337/* see #10693
     338   http://wiki.openstreetmap.org/wiki/Proposed_features/drop_recommendation_for_place_name
     339*/
     340*[place_name][!name] {
     341  throwWarning: tr("Recommend replacing {0}={1} with {2}={1}", "{0.key}", tag("place_name"), "{1.key}");
     342  fixAdd: concat("name=", tag("place_name"));
     343  fixRemove: "place_name";
     344}