mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 04:13:50 +01:00
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:
parent
43e30d235b
commit
21244368a6
4 changed files with 17 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"type": "radio",
|
||||
"type": "manyCombo",
|
||||
"keys": [
|
||||
"male",
|
||||
"female",
|
||||
|
|
|
|||
13
data/fields/gender_simple.json
Normal file
13
data/fields/gender_simple.json
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"type": "manyCombo",
|
||||
"keys": [
|
||||
"female",
|
||||
"male"
|
||||
],
|
||||
"label": "{gender}",
|
||||
"stringsCrossReference": "{gender}",
|
||||
"options": [
|
||||
"female",
|
||||
"male"
|
||||
]
|
||||
}
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
"opening_hours",
|
||||
"payment_multi",
|
||||
"phone",
|
||||
"gender"
|
||||
"gender_simple"
|
||||
],
|
||||
"tags": {
|
||||
"shop": "hairdresser"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue