From fef0e8000c725cc772d167931d540d38ccd2f17c Mon Sep 17 00:00:00 2001 From: JamesKingdom Date: Mon, 25 Sep 2017 17:55:52 +0100 Subject: [PATCH] Update min+max age fields --- data/presets.yaml | 3 +++ data/presets/fields.json | 7 ++++++- data/presets/fields/playground/max_age.json | 2 +- data/presets/fields/playground/min_age.json | 5 +++++ data/presets/presets.json | 5 ++++- data/presets/presets/leisure/playground.json | 1 + dist/locales/en.json | 3 +++ 7 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 data/presets/fields/playground/min_age.json diff --git a/data/presets.yaml b/data/presets.yaml index d7f5ac87d..0513a6081 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -1047,6 +1047,9 @@ en: playground/max_age: # max_age=* label: Maximum Age + playground/min_age: + # max_age=* + label: Minimum Age population: # population=* label: Population diff --git a/data/presets/fields.json b/data/presets/fields.json index 3361a0ee4..178323b75 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -1390,9 +1390,14 @@ }, "playground/max_age": { "key": "max_age", - "type": "text", + "type": "number", "label": "Maximum Age" }, + "playground/min_age": { + "key": "max_age", + "type": "number", + "label": "Minimum Age" + }, "population": { "key": "population", "type": "text", diff --git a/data/presets/fields/playground/max_age.json b/data/presets/fields/playground/max_age.json index 9b02f30f8..53b0e9fe0 100644 --- a/data/presets/fields/playground/max_age.json +++ b/data/presets/fields/playground/max_age.json @@ -1,5 +1,5 @@ { "key": "max_age", - "type": "text", + "type": "number", "label": "Maximum Age" } diff --git a/data/presets/fields/playground/min_age.json b/data/presets/fields/playground/min_age.json new file mode 100644 index 000000000..4616635b6 --- /dev/null +++ b/data/presets/fields/playground/min_age.json @@ -0,0 +1,5 @@ +{ + "key": "max_age", + "type": "number", + "label": "Minimum Age" +} diff --git a/data/presets/presets.json b/data/presets/presets.json index 68fe3a94d..937fae801 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -9497,6 +9497,7 @@ "operator", "surface", "playground/max_age", + "playground/min_age", "access_simple" ], "geometry": [ @@ -11601,7 +11602,7 @@ "name": "Seesaw" }, "playground/slide": { - "icon": "entrance", + "icon": "playground", "geometry": [ "point", "line" @@ -56344,6 +56345,7 @@ "operator", "surface", "playground/max_age", + "playground/min_age", "access_simple" ], "suggestion": true @@ -56364,6 +56366,7 @@ "operator", "surface", "playground/max_age", + "playground/min_age", "access_simple" ], "suggestion": true diff --git a/data/presets/presets/leisure/playground.json b/data/presets/presets/leisure/playground.json index bc10d7ceb..7999c6051 100644 --- a/data/presets/presets/leisure/playground.json +++ b/data/presets/presets/leisure/playground.json @@ -5,6 +5,7 @@ "operator", "surface", "playground/max_age", + "playground/min_age", "access_simple" ], "geometry": [ diff --git a/dist/locales/en.json b/dist/locales/en.json index 4a7262499..e08defcf7 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1961,6 +1961,9 @@ "playground/max_age": { "label": "Maximum Age" }, + "playground/min_age": { + "label": "Minimum Age" + }, "population": { "label": "Population" },