Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions data/fields/crossing/barrier.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"key": "crossing:barrier",
"type": "combo",
"label": "Barrier Arm",
"strings": {
"options": {
"full": "Full",
"double_half": "Double Half",
"half": "Half",
"no": "no",
"yes": "yes"
Comment thread
tyrasd marked this conversation as resolved.
}
},
"autoSuggestions": false,
"customValues": false
}
5 changes: 5 additions & 0 deletions data/fields/crossing/bell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "crossing:bell",
"type": "check",
"label": "Bell"
}
5 changes: 5 additions & 0 deletions data/fields/crossing/light.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "crossing:light",
"type": "check",
"label": "Lights"
}
5 changes: 5 additions & 0 deletions data/presets/railway/crossing.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"icon": "temaki-pedestrian",
"fields": [
"crossing/barrier",
"crossing/bell",
"crossing/light"
],
"geometry": [
"vertex"
],
Expand Down
5 changes: 5 additions & 0 deletions data/presets/railway/level_crossing.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"icon": "maki-cross",
"fields": [
"crossing/barrier",
"crossing/bell",
"crossing/light"
],
"geometry": [
"vertex"
],
Expand Down
20 changes: 20 additions & 0 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,29 @@ en:
crossing:
# crossing=*
label: Type
crossing/barrier:
# 'crossing:barrier=*'
label: Barrier Arm
options:
# 'crossing:barrier=double_half'
double_half: Double Half
# 'crossing:barrier=full'
full: Full
# 'crossing:barrier=half'
half: Half
# 'crossing:barrier=no'
'no': 'no'
# 'crossing:barrier=yes'
'yes': 'yes'
crossing/bell:
# 'crossing:bell=*'
label: Bell
crossing/island:
# 'crossing:island=*'
label: Refuge Island
crossing/light:
# 'crossing:light=*'
label: Lights
cuisine:
# cuisine=*
label: Cuisines
Expand Down