Skip to content

Commit

Permalink
Add translatable labels to several more fields
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Dec 8, 2020
1 parent 3c39845 commit 92ae856
Show file tree
Hide file tree
Showing 10 changed files with 360 additions and 83 deletions.
9 changes: 8 additions & 1 deletion data/fields/beauty.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"key": "beauty",
"type": "semiCombo",
"label": "Services"
"label": "Services",
"strings": {
"options": {
"nails": "Nails",
"tanning": "Tanning",
"cosmetics": "Cosmetics"
}
}
}
13 changes: 12 additions & 1 deletion data/fields/diet_multi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
20 changes: 18 additions & 2 deletions data/fields/surface.json
Original file line number Diff line number Diff line change
@@ -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 changes: 52 additions & 24 deletions dist/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"access_simple": {
"key": "access",
"type": "combo",
"autoSuggestions": false,
"options": [
"yes",
"permissive",
"private",
"permissive",
"customers",
"permit",
"no"
],
"autoSuggestions": false
]
},
"access": {
"keys": [
Expand Down Expand Up @@ -244,7 +244,12 @@
},
"beauty": {
"key": "beauty",
"type": "semiCombo"
"type": "semiCombo",
"options": [
"nails",
"tanning",
"cosmetics"
]
},
"bench": {
"key": "bench",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -789,13 +803,13 @@
"display": {
"key": "display",
"type": "combo",
"autoSuggestions": false,
"options": [
"analog",
"digital",
"sundial",
"unorthodox"
],
"autoSuggestions": false
]
},
"distance": {
"key": "distance",
Expand Down Expand Up @@ -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:",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion dist/fields.min.json

Large diffs are not rendered by default.

Loading

0 comments on commit 92ae856

Please sign in to comment.