mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 23:44:47 +02:00
Checkmark fields now support custom string options
oneway fields now show "Assumed to be No" or "Assumed to be Yes" instead of "Unknown" #2220
This commit is contained in:
@@ -240,8 +240,16 @@ en:
|
||||
label: Type
|
||||
oneway:
|
||||
label: One Way
|
||||
options:
|
||||
undefined: Assumed to be No
|
||||
yes: Yes
|
||||
no: No
|
||||
oneway_yes:
|
||||
label: One Way
|
||||
options:
|
||||
undefined: Assumed to be Yes
|
||||
yes: Yes
|
||||
no: No
|
||||
opening_hours:
|
||||
label: Hours
|
||||
operator:
|
||||
|
||||
@@ -570,13 +570,27 @@
|
||||
"oneway": {
|
||||
"key": "oneway",
|
||||
"type": "check",
|
||||
"label": "One Way"
|
||||
"label": "One Way",
|
||||
"strings": {
|
||||
"options": {
|
||||
"undefined": "Assumed to be No",
|
||||
"yes": "Yes",
|
||||
"no": "No"
|
||||
}
|
||||
}
|
||||
},
|
||||
"oneway_yes": {
|
||||
"key": "oneway",
|
||||
"type": "check",
|
||||
"default": "yes",
|
||||
"label": "One Way"
|
||||
"label": "One Way",
|
||||
"strings": {
|
||||
"options": {
|
||||
"undefined": "Assumed to be Yes",
|
||||
"yes": "Yes",
|
||||
"no": "No"
|
||||
}
|
||||
}
|
||||
},
|
||||
"opening_hours": {
|
||||
"key": "opening_hours",
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
{
|
||||
"key": "oneway",
|
||||
"type": "check",
|
||||
"label": "One Way"
|
||||
"label": "One Way",
|
||||
"strings": {
|
||||
"options": {
|
||||
"undefined": "Assumed to be No",
|
||||
"yes": "Yes",
|
||||
"no": "No"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,5 +2,12 @@
|
||||
"key": "oneway",
|
||||
"type": "check",
|
||||
"default": "yes",
|
||||
"label": "One Way"
|
||||
"label": "One Way",
|
||||
"strings": {
|
||||
"options": {
|
||||
"undefined": "Assumed to be Yes",
|
||||
"yes": "Yes",
|
||||
"no": "No"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3822,7 +3822,7 @@
|
||||
"highway/motorway": {
|
||||
"icon": "highway-motorway",
|
||||
"fields": [
|
||||
"oneway",
|
||||
"oneway_yes",
|
||||
"maxspeed",
|
||||
"structure",
|
||||
"access",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"icon": "highway-motorway",
|
||||
"fields": [
|
||||
"oneway",
|
||||
"oneway_yes",
|
||||
"maxspeed",
|
||||
"structure",
|
||||
"access",
|
||||
@@ -17,4 +17,4 @@
|
||||
},
|
||||
"terms": [],
|
||||
"name": "Motorway"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user