Skip to content

Commit

Permalink
Fix #23874: Syntax issue from r19169
Browse files Browse the repository at this point in the history
It looks like `tr` issues don't get caught by automated tests.

git-svn-id: https://josm.openstreetmap.de/svn/trunk@19204 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Aug 21, 2024
1 parent ef32cdb commit 91da610
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/data/validator/deprecated.mapcss
Original file line number Diff line number Diff line change
Expand Up @@ -2531,22 +2531,22 @@ area[parking:orientation][orientation]["parking:orientation"!=*orientation] {
}
/* From the canvec import */
*[natural=landform][landform=esker] {
throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "geological=esker";
throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "geological=esker");
group: tr("deprecated tagging");
suggestAlternative: "natural=ridge or geological=esker";
}
*[natural=landform][landform=moraine] {
throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "geological=moraine";
throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "geological=moraine");
group: tr("deprecated tagging");
suggestAlternative: "geological=moraine";
}
*[natural=landform][landform=beach] {
throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "natural=beach";
throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "natural=beach");
group: tr("deprecated tagging");
suggestAlternative: "natural=beach";
}
*[natural=landform][landform=tundra_polygon] {
throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "natural=tundra";
throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "natural=tundra");
group: tr("deprecated tagging");
suggestAlternative: "natural=tundra or natural=fell";
}
Expand Down

0 comments on commit 91da610

Please sign in to comment.