Add translatable strings to kerb field (#1029)

This commit is contained in:
kjonosm 2024-02-17 15:16:26 +01:00 committed by GitHub
parent 02f36be12a
commit 0d31467e43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 59 additions and 6 deletions

View file

@ -1,5 +1,33 @@
{
"key": "kerb",
"type": "combo",
"label": "Curb"
"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."
},
"no": {
"title": "No",
"description": "There is no curb present at this location."
},
"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."
},
"yes": {
"title": "Yes",
"description": "Some sort of curb is present at this location, unknown whether it is raised, lowered, flush etc."
}
}
}
}

View file

@ -0,0 +1,25 @@
{
"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."
}
}
}
}

View file

@ -1,7 +1,7 @@
{
"icon": "temaki-kerb-raised",
"fields": [
"kerb",
"kerb/kerb_barrier",
"tactile_paving",
"wheelchair",
"two_sided"

View file

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

View file

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

View file

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

View file

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