add icons to kerb fields, tweak label, drop from specialized presets

specialized presets should be switched using the preset selector, no need to duplicate that as a combo box. this effectively reverts https://github.com/openstreetmap/iD/issues/6360

(re icons, see also https://github.com/openstreetmap/id-tagging-schema/pull/1077#issuecomment-1966247784)

also remove duplicates of translatable strings
This commit is contained in:
Martin Raifer 2024-02-27 16:40:33 +01:00
parent e1e5a323f7
commit 982e632ec0
No known key found for this signature in database
GPG key ID: 3CD561F7B1C461BD
6 changed files with 16 additions and 28 deletions

View file

@ -29,5 +29,11 @@
"description": "Some sort of curb is present at this location, unknown whether it is raised, lowered, flush etc."
}
}
},
"icons": {
"raised": "temaki-kerb-raised",
"lowered": "temaki-kerb-lowered",
"flush": "temaki-kerb-flush",
"rolled": "temaki-kerb-rolled"
}
}

View file

@ -1,25 +1,14 @@
{
"key": "kerb",
"type": "combo",
"label": "Curb",
"strings": {
"options": {
"flush": {
"title": "Flush",
"description": "A dropped curb which is level with the surrounding area."
},
"lowered": {
"title": "Lowered",
"description": "A dropped curb which can be used by wheelchair users, not higher than a few centimeters."
},
"raised": {
"title": "Raised",
"description": "A raised curb which can't easily be used by wheelchair users, higher than a few centimeters."
},
"rolled": {
"title": "Rolled",
"description": "A raised curb with a rounded edge which makes it easier to use for cars or bicycles, but not for wheelchairs."
}
}
}
"label": "Type",
"stringsCrossReference": "{kerb}",
"options": [
"flush",
"lowered",
"raised",
"rolled"
],
"autoSuggestions": false,
"iconsCrossReference": "{kerb}"
}

View file

@ -1,9 +1,5 @@
{
"icon": "temaki-kerb-flush",
"fields": [
"kerb/kerb_barrier",
"{barrier/kerb}"
],
"geometry": [
"vertex",
"line"

View file

@ -1,7 +1,6 @@
{
"icon": "temaki-kerb-lowered",
"fields": [
"kerb/kerb_barrier",
"{barrier/kerb}",
"kerb/height"
],

View file

@ -1,7 +1,6 @@
{
"icon": "temaki-kerb-raised",
"fields": [
"kerb/kerb_barrier",
"{barrier/kerb}",
"kerb/height"
],

View file

@ -1,7 +1,6 @@
{
"icon": "temaki-kerb-rolled",
"fields": [
"kerb/kerb_barrier",
"{barrier/kerb}",
"kerb/height"
],