Add translatable labels to several more fields

This commit is contained in:
Quincy Morgan 2020-12-08 12:28:32 -05:00
parent 3c3984529e
commit 92ae85603a
10 changed files with 365 additions and 88 deletions

View file

@ -1,5 +1,12 @@
{
"key": "beauty",
"type": "semiCombo",
"label": "Services"
"label": "Services",
"strings": {
"options": {
"nails": "Nails",
"tanning": "Tanning",
"cosmetics": "Cosmetics"
}
}
}

View file

@ -13,5 +13,16 @@
"raw",
"vegan",
"vegetarian"
]
],
"strings": {
"options": {
"vegetarian": "Vegetarian",
"vegan": "Vegan",
"halal": "Halal",
"gluten_free": "Gluten-Free",
"kosher": "Kosher",
"lactose_free": "Lactose-Free",
"pescetarian": "Pescetarian"
}
}
}

View file

@ -1,5 +1,21 @@
{
"key": "surface",
"type": "combo",
"label": "Surface"
}
"label": "Surface",
"strings": {
"options": {
"asphalt": "Asphalt",
"unpaved": "Unpaved",
"paved": "Paved",
"ground": "Ground",
"gravel": "Gravel",
"concrete": "Concrete",
"paving_stones": "Paving Stones",
"dirt": "Dirt",
"grass": "Grass",
"sand": "Sand",
"wood": "Wood",
"artificial_turf": "Artificial Turf"
}
}
}

76
dist/fields.json vendored
View file

@ -6,15 +6,15 @@
"access_simple": {
"key": "access",
"type": "combo",
"autoSuggestions": false,
"options": [
"yes",
"permissive",
"private",
"permissive",
"customers",
"permit",
"no"
],
"autoSuggestions": false
]
},
"access": {
"keys": [
@ -244,7 +244,12 @@
},
"beauty": {
"key": "beauty",
"type": "semiCombo"
"type": "semiCombo",
"options": [
"nails",
"tanning",
"cosmetics"
]
},
"bench": {
"key": "bench",
@ -727,7 +732,16 @@
},
"diet_multi": {
"key": "diet:",
"type": "multiCombo"
"type": "multiCombo",
"options": [
"vegetarian",
"vegan",
"halal",
"gluten_free",
"kosher",
"lactose_free",
"pescetarian"
]
},
"diplomatic": {
"key": "diplomatic",
@ -789,13 +803,13 @@
"display": {
"key": "display",
"type": "combo",
"autoSuggestions": false,
"options": [
"analog",
"digital",
"sundial",
"unorthodox"
],
"autoSuggestions": false
]
},
"distance": {
"key": "distance",
@ -2542,14 +2556,14 @@
"service": {
"key": "service",
"type": "combo",
"autoSuggestions": false,
"options": [
"driveway",
"parking_aisle",
"alley",
"drive-through",
"emergency_access"
],
"autoSuggestions": false
]
},
"service/bicycle": {
"key": "service:bicycle:",
@ -2647,14 +2661,14 @@
"universal": true,
"snake_case": false,
"caseSensitive": true,
"autoSuggestions": false,
"options": [
"survey",
"local knowledge",
"gps",
"aerial imagery",
"gps",
"streetlevel imagery"
],
"autoSuggestions": false
]
},
"species/wikidata": {
"key": "species:wikidata",
@ -2667,36 +2681,36 @@
"sport_ice": {
"key": "sport",
"type": "semiCombo",
"autoSuggestions": false,
"options": [
"ice_skating",
"ice_hockey",
"multi",
"curling",
"ice_stock"
],
"autoSuggestions": false
"ice_stock",
"multi"
]
},
"sport_racing_motor": {
"key": "sport",
"type": "semiCombo",
"autoSuggestions": false,
"options": [
"motor",
"karting",
"motocross"
],
"autoSuggestions": false
]
},
"sport_racing_nonmotor": {
"key": "sport",
"type": "semiCombo",
"autoSuggestions": false,
"options": [
"bmx",
"running",
"cycling",
"dog_racing",
"bmx",
"horse_racing",
"running"
],
"autoSuggestions": false
"dog_racing"
]
},
"sport": {
"key": "sport",
@ -2791,7 +2805,21 @@
},
"surface": {
"key": "surface",
"type": "combo"
"type": "combo",
"options": [
"asphalt",
"unpaved",
"paved",
"ground",
"gravel",
"concrete",
"paving_stones",
"dirt",
"grass",
"sand",
"wood",
"artificial_turf"
]
},
"surveillance": {
"key": "surveillance",

File diff suppressed because one or more lines are too long

187
dist/taginfo.json vendored
View file

@ -941,7 +941,7 @@
{
"key": "display",
"value": "sundial",
"description": "🄿 Sundial, 🄵🅅 Display: `sundial`",
"description": "🄿 Sundial, 🄵🅅 Display: Sundial",
"object_types": [
"node"
],
@ -4893,7 +4893,7 @@
{
"key": "access",
"value": "no",
"description": "🄿 Closed Road, 🄵🅅 Allowed Access: `no`, 🄵🅅 Allowed Access: [object Object]",
"description": "🄿 Closed Road, 🄵🅅 Allowed Access: None, 🄵🅅 Allowed Access: [object Object]",
"object_types": [
"way"
],
@ -5171,7 +5171,7 @@
{
"key": "sport",
"value": "karting",
"description": "🄿 Karting Racetrack, 🄵🅅 Sports: `karting`",
"description": "🄿 Karting Racetrack, 🄵🅅 Sports: Karting",
"object_types": [
"way",
"area"
@ -5181,7 +5181,7 @@
{
"key": "sport",
"value": "motocross",
"description": "🄿 Motocross Racetrack, 🄵🅅 Sports: `motocross`",
"description": "🄿 Motocross Racetrack, 🄵🅅 Sports: Motocross",
"object_types": [
"way",
"area"
@ -5254,7 +5254,7 @@
{
"key": "service",
"value": "alley",
"description": "🄿 Alley, 🄵🅅 Type: `alley`",
"description": "🄿 Alley, 🄵🅅 Type: Alley",
"object_types": [
"way"
],
@ -5263,7 +5263,7 @@
{
"key": "service",
"value": "drive-through",
"description": "🄿 Drive-Through, 🄵🅅 Type: `drive-through`",
"description": "🄿 Drive-Through, 🄵🅅 Type: Drive-Through",
"object_types": [
"way"
],
@ -5272,7 +5272,7 @@
{
"key": "service",
"value": "driveway",
"description": "🄿 Driveway, 🄵🅅 Type: `driveway`",
"description": "🄿 Driveway, 🄵🅅 Type: Driveway",
"object_types": [
"way"
],
@ -5281,7 +5281,7 @@
{
"key": "service",
"value": "emergency_access",
"description": "🄿 Emergency Access, 🄵🅅 Type: `emergency_access`",
"description": "🄿 Emergency Access, 🄵🅅 Type: Emergency Access",
"object_types": [
"way"
],
@ -5290,7 +5290,7 @@
{
"key": "service",
"value": "parking_aisle",
"description": "🄿 Parking Aisle, 🄵🅅 Type: `parking_aisle`",
"description": "🄿 Parking Aisle, 🄵🅅 Type: Parking Aisle",
"object_types": [
"way"
],
@ -6916,7 +6916,7 @@
{
"key": "sport",
"value": "cycling",
"description": "🄿 Cycling Track, 🄵🅅 Sports: `cycling`",
"description": "🄿 Cycling Track, 🄵🅅 Sports: Cycling",
"object_types": [
"node",
"way",
@ -6927,7 +6927,7 @@
{
"key": "sport",
"value": "horse_racing",
"description": "🄿 Horse Racing Track, 🄵🅅 Sports: `horse_racing`",
"description": "🄿 Horse Racing Track, 🄵🅅 Sports: Horse Racing",
"object_types": [
"node",
"way",
@ -6938,7 +6938,7 @@
{
"key": "sport",
"value": "running",
"description": "🄿 Running Track, 🄵🅅 Sports: `running`",
"description": "🄿 Running Track, 🄵🅅 Sports: Running",
"object_types": [
"node",
"way",
@ -9826,7 +9826,7 @@
{
"key": "beauty",
"value": "nails",
"description": "🄿 Nail Salon",
"description": "🄿 Nail Salon, 🄵🅅 Services: Nails",
"object_types": [
"node",
"area"
@ -9836,7 +9836,7 @@
{
"key": "beauty",
"value": "tanning",
"description": "🄿 Tanning Salon",
"description": "🄿 Tanning Salon, 🄵🅅 Services: Tanning",
"object_types": [
"node",
"area"
@ -12465,27 +12465,27 @@
{
"key": "access",
"value": "yes",
"description": "🄵🅅 Allowed Access: `yes`, 🄵🅅 Allowed Access: [object Object]"
},
{
"key": "access",
"value": "permissive",
"description": "🄵🅅 Allowed Access: `permissive`, 🄵🅅 Allowed Access: [object Object]"
"description": "🄵🅅 Allowed Access: Public, 🄵🅅 Allowed Access: [object Object]"
},
{
"key": "access",
"value": "private",
"description": "🄵🅅 Allowed Access: `private`, 🄵🅅 Allowed Access: [object Object]"
"description": "🄵🅅 Allowed Access: Private, 🄵🅅 Allowed Access: [object Object]"
},
{
"key": "access",
"value": "permissive",
"description": "🄵🅅 Allowed Access: Permissive, 🄵🅅 Allowed Access: [object Object]"
},
{
"key": "access",
"value": "customers",
"description": "🄵🅅 Allowed Access: `customers`"
"description": "🄵🅅 Allowed Access: Customers Only"
},
{
"key": "access",
"value": "permit",
"description": "🄵🅅 Allowed Access: `permit`, 🄵🅅 Allowed Access: [object Object]"
"description": "🄵🅅 Allowed Access: By Permit Only, 🄵🅅 Allowed Access: [object Object]"
},
{
"key": "access",
@ -12934,6 +12934,11 @@
"key": "beauty",
"description": "🄵 Services"
},
{
"key": "beauty",
"value": "cosmetics",
"description": "🄵🅅 Services: Cosmetics"
},
{
"key": "bench",
"description": "🄵 Bench"
@ -13443,6 +13448,34 @@
"key": "diet:",
"description": "🄵 Diet Types"
},
{
"key": "diet:vegetarian",
"description": "🄵🅅 Diet Types: Vegetarian"
},
{
"key": "diet:vegan",
"description": "🄵🅅 Diet Types: Vegan"
},
{
"key": "diet:halal",
"description": "🄵🅅 Diet Types: Halal"
},
{
"key": "diet:gluten_free",
"description": "🄵🅅 Diet Types: Gluten-Free"
},
{
"key": "diet:kosher",
"description": "🄵🅅 Diet Types: Kosher"
},
{
"key": "diet:lactose_free",
"description": "🄵🅅 Diet Types: Lactose-Free"
},
{
"key": "diet:pescetarian",
"description": "🄵🅅 Diet Types: Pescetarian"
},
{
"key": "diplomatic",
"description": "🄵 Type"
@ -13491,17 +13524,17 @@
{
"key": "display",
"value": "analog",
"description": "🄵🅅 Display: `analog`"
"description": "🄵🅅 Display: Analog"
},
{
"key": "display",
"value": "digital",
"description": "🄵🅅 Display: `digital`"
"description": "🄵🅅 Display: Digital"
},
{
"key": "display",
"value": "unorthodox",
"description": "🄵🅅 Display: `unorthodox`"
"description": "🄵🅅 Display: Unorthodox"
},
{
"key": "distance",
@ -15446,27 +15479,27 @@
{
"key": "source",
"value": "survey",
"description": "🄵🅅 Sources: `survey`"
"description": "🄵🅅 Sources: Survey"
},
{
"key": "source",
"value": "local knowledge",
"description": "🄵🅅 Sources: `local knowledge`"
},
{
"key": "source",
"value": "gps",
"description": "🄵🅅 Sources: `gps`"
"description": "🄵🅅 Sources: Local Knowledge"
},
{
"key": "source",
"value": "aerial imagery",
"description": "🄵🅅 Sources: `aerial imagery`"
"description": "🄵🅅 Sources: Aerial Imagery"
},
{
"key": "source",
"value": "gps",
"description": "🄵🅅 Sources: GPS"
},
{
"key": "source",
"value": "streetlevel imagery",
"description": "🄵🅅 Sources: `streetlevel imagery`"
"description": "🄵🅅 Sources: Street-Level Photos"
},
{
"key": "species:wikidata",
@ -15479,42 +15512,42 @@
{
"key": "sport",
"value": "ice_skating",
"description": "🄵🅅 Sports: `ice_skating`"
"description": "🄵🅅 Sports: Ice Skating"
},
{
"key": "sport",
"value": "ice_hockey",
"description": "🄵🅅 Sports: `ice_hockey`"
},
{
"key": "sport",
"value": "multi",
"description": "🄵🅅 Sports: `multi`"
"description": "🄵🅅 Sports: Ice Hockey"
},
{
"key": "sport",
"value": "curling",
"description": "🄵🅅 Sports: `curling`"
"description": "🄵🅅 Sports: Curling"
},
{
"key": "sport",
"value": "ice_stock",
"description": "🄵🅅 Sports: `ice_stock`"
"description": "🄵🅅 Sports: Ice Stock"
},
{
"key": "sport",
"value": "multi",
"description": "🄵🅅 Sports: Multiple"
},
{
"key": "sport",
"value": "motor",
"description": "🄵🅅 Sports: `motor`"
"description": "🄵🅅 Sports: Motorsport"
},
{
"key": "sport",
"value": "bmx",
"description": "🄵🅅 Sports: `bmx`"
"description": "🄵🅅 Sports: BMX"
},
{
"key": "sport",
"value": "dog_racing",
"description": "🄵🅅 Sports: `dog_racing`"
"description": "🄵🅅 Sports: Dog Racing"
},
{
"key": "stars",
@ -15582,6 +15615,66 @@
"key": "surface",
"description": "🄵 Surface"
},
{
"key": "surface",
"value": "asphalt",
"description": "🄵🅅 Surface: Asphalt"
},
{
"key": "surface",
"value": "unpaved",
"description": "🄵🅅 Surface: Unpaved"
},
{
"key": "surface",
"value": "paved",
"description": "🄵🅅 Surface: Paved"
},
{
"key": "surface",
"value": "ground",
"description": "🄵🅅 Surface: Ground"
},
{
"key": "surface",
"value": "gravel",
"description": "🄵🅅 Surface: Gravel"
},
{
"key": "surface",
"value": "concrete",
"description": "🄵🅅 Surface: Concrete"
},
{
"key": "surface",
"value": "paving_stones",
"description": "🄵🅅 Surface: Paving Stones"
},
{
"key": "surface",
"value": "dirt",
"description": "🄵🅅 Surface: Dirt"
},
{
"key": "surface",
"value": "grass",
"description": "🄵🅅 Surface: Grass"
},
{
"key": "surface",
"value": "sand",
"description": "🄵🅅 Surface: Sand"
},
{
"key": "surface",
"value": "wood",
"description": "🄵🅅 Surface: Wood"
},
{
"key": "surface",
"value": "artificial_turf",
"description": "🄵🅅 Surface: Artificial Turf"
},
{
"key": "surveillance",
"description": "🄵 Surveillance Kind"

File diff suppressed because one or more lines are too long

View file

@ -57,7 +57,15 @@
},
"access_simple": {
"label": "Allowed Access",
"terms": "permitted,private,public"
"terms": "permitted,private,public",
"options": {
"yes": "Public",
"private": "Private",
"permissive": "Permissive",
"customers": "Customers Only",
"permit": "By Permit Only",
"no": "None"
}
},
"access": {
"label": "Allowed Access",
@ -281,7 +289,12 @@
"label": "Specialty"
},
"beauty": {
"label": "Services"
"label": "Services",
"options": {
"nails": "Nails",
"tanning": "Tanning",
"cosmetics": "Cosmetics"
}
},
"bench": {
"label": "Bench",
@ -663,7 +676,16 @@
},
"diet_multi": {
"label": "Diet Types",
"terms": "gluten free,fruitarian,halal,kosher,lactose free,meat,pescatarian,raw,vegan,vegetarian"
"terms": "gluten free,fruitarian,halal,kosher,lactose free,meat,pescatarian,raw,vegan,vegetarian",
"options": {
"vegetarian": "Vegetarian",
"vegan": "Vegan",
"halal": "Halal",
"gluten_free": "Gluten-Free",
"kosher": "Kosher",
"lactose_free": "Lactose-Free",
"pescetarian": "Pescetarian"
}
},
"diplomatic": {
"label": "Type"
@ -706,7 +728,13 @@
"label": "Dispenses Prescriptions"
},
"display": {
"label": "Display"
"label": "Display",
"options": {
"analog": "Analog",
"digital": "Digital",
"sundial": "Sundial",
"unorthodox": "Unorthodox"
}
},
"distance": {
"label": "Distance",
@ -2000,7 +2028,14 @@
"label": "Service Times"
},
"service": {
"label": "Type"
"label": "Type",
"options": {
"driveway": "Driveway",
"parking_aisle": "Parking Aisle",
"alley": "Alley",
"drive-through": "Drive-Through",
"emergency_access": "Emergency Access"
}
},
"service/bicycle": {
"label": "Services"
@ -2078,20 +2113,46 @@
},
"source": {
"label": "Sources",
"terms": "reference"
"terms": "reference",
"options": {
"survey": "Survey",
"local knowledge": "Local Knowledge",
"aerial imagery": "Aerial Imagery",
"gps": "GPS",
"streetlevel imagery": "Street-Level Photos"
}
},
"species/wikidata": {
"label": "Species Wikidata",
"terms": ""
},
"sport_ice": {
"label": "Sports"
"label": "Sports",
"options": {
"ice_skating": "Ice Skating",
"ice_hockey": "Ice Hockey",
"curling": "Curling",
"ice_stock": "Ice Stock",
"multi": "Multiple"
}
},
"sport_racing_motor": {
"label": "Sports"
"label": "Sports",
"options": {
"motor": "Motorsport",
"karting": "Karting",
"motocross": "Motocross"
}
},
"sport_racing_nonmotor": {
"label": "Sports"
"label": "Sports",
"options": {
"running": "Running",
"cycling": "Cycling",
"bmx": "BMX",
"horse_racing": "Horse Racing",
"dog_racing": "Dog Racing"
}
},
"sport": {
"label": "Sports"
@ -2169,7 +2230,21 @@
},
"surface": {
"label": "Surface",
"terms": ""
"terms": "",
"options": {
"asphalt": "Asphalt",
"unpaved": "Unpaved",
"paved": "Paved",
"ground": "Ground",
"gravel": "Gravel",
"concrete": "Concrete",
"paving_stones": "Paving Stones",
"dirt": "Dirt",
"grass": "Grass",
"sand": "Sand",
"wood": "Wood",
"artificial_turf": "Artificial Turf"
}
},
"surveillance": {
"label": "Surveillance Kind"

File diff suppressed because one or more lines are too long

View file

@ -302,6 +302,13 @@ en:
beauty:
# beauty=*
label: Services
options:
# beauty=cosmetics
cosmetics: Cosmetics
# beauty=nails
nails: Nails
# beauty=tanning
tanning: Tanning
bench:
# bench=*
label: Bench
@ -727,6 +734,21 @@ en:
diet_multi:
# 'diet:=*'
label: Diet Types
options:
# 'diet:=gluten_free'
gluten_free: Gluten-Free
# 'diet:=halal'
halal: Halal
# 'diet:=kosher'
kosher: Kosher
# 'diet:=lactose_free'
lactose_free: Lactose-Free
# 'diet:=pescetarian'
pescetarian: Pescetarian
# 'diet:=vegan'
vegan: Vegan
# 'diet:=vegetarian'
vegetarian: Vegetarian
# 'terms: gluten free,fruitarian,halal,kosher,lactose free,meat,pescatarian,raw,vegan,vegetarian'
terms: '[translate with synonyms or related terms for ''Diet Types'', separated by commas]'
diplomatic:
@ -2585,6 +2607,31 @@ en:
surface:
# surface=*
label: Surface
options:
# surface=artificial_turf
artificial_turf: Artificial Turf
# surface=asphalt
asphalt: Asphalt
# surface=concrete
concrete: Concrete
# surface=dirt
dirt: Dirt
# surface=grass
grass: Grass
# surface=gravel
gravel: Gravel
# surface=ground
ground: Ground
# surface=paved
paved: Paved
# surface=paving_stones
paving_stones: Paving Stones
# surface=sand
sand: Sand
# surface=unpaved
unpaved: Unpaved
# surface=wood
wood: Wood
terms: '[translate with synonyms or related terms for ''Surface'', separated by commas]'
surveillance:
# surveillance=*