use "manyCombo" field for "gender" field, restrict hairdressers to female/male, closes #894

also partially addresses #895 and https://github.com/openstreetmap/iD/issues/7427: for that iD should actually also show the "no" values allow explicitly marking the absense of certain options
This commit is contained in:
Martin Raifer 2023-05-02 11:07:32 +02:00
parent 43e30d235b
commit 21244368a6
No known key found for this signature in database
GPG key ID: 3CD561F7B1C461BD
4 changed files with 17 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
"type": "radio",
"type": "manyCombo",
"keys": [
"male",
"female",

View file

@ -0,0 +1,13 @@
{
"type": "manyCombo",
"keys": [
"female",
"male"
],
"label": "{gender}",
"stringsCrossReference": "{gender}",
"options": [
"female",
"male"
]
}

View file

@ -15,7 +15,7 @@
"opening_hours",
"payment_multi",
"phone",
"gender"
"gender_simple"
],
"tags": {
"shop": "hairdresser"

View file

@ -2160,6 +2160,8 @@ en:
placeholder: Unknown
# 'terms: access,female,male,unisex'
terms: '[translate with synonyms or related terms for ''Gender'', separated by commas]'
gender_simple:
# female=*, male=*
generator/method:
# generator:method=*
label: Method