Convert KeepRight error 73 to regex

(re: https://github.com/openstreetmap/iD/pull/5201#discussion_r245349395 )
This commit is contained in:
Bryan Housel
2019-01-04 20:27:22 -05:00
parent cd9203975d
commit 0582faff1d
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -718,7 +718,7 @@ en:
72:
description: 'This node is not member of any way and doesn''t have any tags.'
73:
description: 'This way has a "tracktype" tag but no "highway" tag.'
description: 'This way has a "{var1}" tag but no "highway" tag.'
74:
description: 'This {var1} has an empty tag: "{var2}".'
75:
+2 -1
View File
@@ -68,7 +68,8 @@
"73": {
"title": "",
"severity": "error",
"description": "This way has a tracktype tag but no highway tag"
"description": "This way has a $1 tag but no highway tag",
"regex": "has a (.+) tag"
},
"74": {
"title": "missing tags",
+1 -1
View File
@@ -870,7 +870,7 @@
"description": "This node is not member of any way and doesn't have any tags."
},
"73": {
"description": "This way has a \"tracktype\" tag but no \"highway\" tag."
"description": "This way has a \"{var1}\" tag but no \"highway\" tag."
},
"74": {
"description": "This {var1} has an empty tag: \"{var2}\"."