Add string labels for combo fields with limited suggestions but allowed custom values

This commit is contained in:
Quincy Morgan 2020-12-08 11:42:18 -05:00
parent 278b0441af
commit 3c3984529e
8 changed files with 134 additions and 35 deletions

View file

@ -2,7 +2,16 @@
"key": "access",
"type": "combo",
"label": "Allowed Access",
"options": ["yes", "permissive", "private", "customers", "permit", "no"],
"strings": {
"options": {
"yes": "Public",
"private": "Private",
"permissive": "Permissive",
"customers": "Customers Only",
"permit": "By Permit Only",
"no": "None"
}
},
"autoSuggestions" : false,
"terms": [
"permitted",

View file

@ -2,6 +2,13 @@
"key": "display",
"type": "combo",
"label": "Display",
"options": ["analog", "digital", "sundial", "unorthodox"],
"strings": {
"options": {
"analog": "Analog",
"digital": "Digital",
"sundial": "Sundial",
"unorthodox": "Unorthodox"
}
},
"autoSuggestions" : false
}

View file

@ -2,12 +2,14 @@
"key": "service",
"type": "combo",
"label": "Type",
"options": [
"driveway",
"parking_aisle",
"alley",
"drive-through",
"emergency_access"
],
"strings": {
"options": {
"driveway": "Driveway",
"parking_aisle": "Parking Aisle",
"alley": "Alley",
"drive-through": "Drive-Through",
"emergency_access": "Emergency Access"
}
},
"autoSuggestions" : false
}

View file

@ -6,13 +6,15 @@
"label": "Sources",
"snake_case": false,
"caseSensitive": true,
"options": [
"survey",
"local knowledge",
"gps",
"aerial imagery",
"streetlevel imagery"
],
"strings": {
"options": {
"survey": "Survey",
"local knowledge": "Local Knowledge",
"aerial imagery": "Aerial Imagery",
"gps": "GPS",
"streetlevel imagery": "Street-Level Photos"
}
},
"autoSuggestions" : false,
"terms": [
"reference"

View file

@ -2,12 +2,14 @@
"key": "sport",
"type": "semiCombo",
"label": "Sports",
"options": [
"ice_skating",
"ice_hockey",
"multi",
"curling",
"ice_stock"
],
"strings": {
"options": {
"ice_skating": "Ice Skating",
"ice_hockey": "Ice Hockey",
"curling": "Curling",
"ice_stock": "Ice Stock",
"multi": "Multiple"
}
},
"autoSuggestions" : false
}

View file

@ -2,10 +2,12 @@
"key": "sport",
"type": "semiCombo",
"label": "Sports",
"options": [
"motor",
"karting",
"motocross"
],
"strings": {
"options": {
"motor": "Motorsport",
"karting": "Karting",
"motocross": "Motocross"
}
},
"autoSuggestions" : false
}

View file

@ -2,12 +2,14 @@
"key": "sport",
"type": "semiCombo",
"label": "Sports",
"options": [
"bmx",
"cycling",
"dog_racing",
"horse_racing",
"running"
],
"strings": {
"options": {
"running": "Running",
"cycling": "Cycling",
"bmx": "BMX",
"horse_racing": "Horse Racing",
"dog_racing": "Dog Racing"
}
},
"autoSuggestions" : false
}

View file

@ -93,6 +93,19 @@ en:
access_simple:
# access=*
label: Allowed Access
options:
# access=customers
customers: Customers Only
# access=no
'no': None
# access=permissive
permissive: Permissive
# access=permit
permit: By Permit Only
# access=private
private: Private
# access=yes
'yes': Public
# 'terms: permitted,private,public'
terms: '[translate with synonyms or related terms for ''Allowed Access'', separated by commas]'
addr/interpolation:
@ -765,6 +778,15 @@ en:
display:
# display=*
label: Display
options:
# display=analog
analog: Analog
# display=digital
digital: Digital
# display=sundial
sundial: Sundial
# display=unorthodox
unorthodox: Unorthodox
distance:
# distance=*
label: Distance
@ -2297,6 +2319,17 @@ en:
service:
# service=*
label: Type
options:
# service=alley
alley: Alley
# service=drive-through
drive-through: Drive-Through
# service=driveway
driveway: Driveway
# service=emergency_access
emergency_access: Emergency Access
# service=parking_aisle
parking_aisle: Parking Aisle
service/bicycle:
# 'service:bicycle:=*'
label: Services
@ -2406,6 +2439,17 @@ en:
source:
# source=*
label: Sources
options:
aerial # source=aerial imagery
aerial imagery: Aerial Imagery
# source=gps
gps: GPS
local # source=local knowledge
local knowledge: Local Knowledge
streetlevel # source=streetlevel imagery
streetlevel imagery: Street-Level Photos
# source=survey
survey: Survey
# 'terms: reference'
terms: '[translate with synonyms or related terms for ''Sources'', separated by commas]'
species/wikidata:
@ -2418,12 +2462,41 @@ en:
sport_ice:
# sport=*
label: Sports
options:
# sport=curling
curling: Curling
# sport=ice_hockey
ice_hockey: Ice Hockey
# sport=ice_skating
ice_skating: Ice Skating
# sport=ice_stock
ice_stock: Ice Stock
# sport=multi
multi: Multiple
sport_racing_motor:
# sport=*
label: Sports
options:
# sport=karting
karting: Karting
# sport=motocross
motocross: Motocross
# sport=motor
motor: Motorsport
sport_racing_nonmotor:
# sport=*
label: Sports
options:
# sport=bmx
bmx: BMX
# sport=cycling
cycling: Cycling
# sport=dog_racing
dog_racing: Dog Racing
# sport=horse_racing
horse_racing: Horse Racing
# sport=running
running: Running
stars:
# stars=*
label: Stars