mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Change maxstay to combo with options, no placeholder (closes #2866)
This commit is contained in:
@@ -566,8 +566,6 @@ en:
|
||||
maxstay:
|
||||
# 'maxstay=*'
|
||||
label: Max Stay
|
||||
# maxstay field placeholder
|
||||
placeholder: '30 minutes, 1 hour, 2 hours...'
|
||||
mtb/scale:
|
||||
# 'mtb:scale=*'
|
||||
label: Mountain Biking Difficulty
|
||||
|
||||
@@ -762,8 +762,21 @@
|
||||
"maxstay": {
|
||||
"key": "maxstay",
|
||||
"type": "combo",
|
||||
"placeholder": "30 minutes, 1 hour, 2 hours...",
|
||||
"label": "Max Stay"
|
||||
"label": "Max Stay",
|
||||
"options": [
|
||||
"15 min",
|
||||
"30 min",
|
||||
"45 min",
|
||||
"1 hr",
|
||||
"1.5 hr",
|
||||
"2 hr",
|
||||
"2.5 hr",
|
||||
"3 hr",
|
||||
"4 hr",
|
||||
"1 day",
|
||||
"2 day"
|
||||
],
|
||||
"snake_case": false
|
||||
},
|
||||
"mtb/scale": {
|
||||
"key": "mtb:scale",
|
||||
|
||||
@@ -1,6 +1,19 @@
|
||||
{
|
||||
"key": "maxstay",
|
||||
"type": "combo",
|
||||
"placeholder": "30 minutes, 1 hour, 2 hours...",
|
||||
"label": "Max Stay"
|
||||
"label": "Max Stay",
|
||||
"options": [
|
||||
"15 min",
|
||||
"30 min",
|
||||
"45 min",
|
||||
"1 hr",
|
||||
"1.5 hr",
|
||||
"2 hr",
|
||||
"2.5 hr",
|
||||
"3 hr",
|
||||
"4 hr",
|
||||
"1 day",
|
||||
"2 day"
|
||||
],
|
||||
"snake_case": false
|
||||
}
|
||||
|
||||
3
dist/locales/en.json
vendored
3
dist/locales/en.json
vendored
@@ -1072,8 +1072,7 @@
|
||||
"placeholder": "40, 50, 60..."
|
||||
},
|
||||
"maxstay": {
|
||||
"label": "Max Stay",
|
||||
"placeholder": "30 minutes, 1 hour, 2 hours..."
|
||||
"label": "Max Stay"
|
||||
},
|
||||
"mtb/scale": {
|
||||
"label": "Mountain Biking Difficulty",
|
||||
|
||||
Reference in New Issue
Block a user