From 2286be298cfad43002d6ae978ad9cda2696d6aa3 Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Mon, 10 Jan 2022 13:23:26 +0100 Subject: [PATCH] add preset for pickleball courts (closes #286) --- data/presets/leisure/pitch/pickleball.json | 24 ++++++++++++++++++++++ interim/source_strings.yaml | 5 +++++ 2 files changed, 29 insertions(+) create mode 100644 data/presets/leisure/pitch/pickleball.json diff --git a/data/presets/leisure/pitch/pickleball.json b/data/presets/leisure/pitch/pickleball.json new file mode 100644 index 00000000..abe327b3 --- /dev/null +++ b/data/presets/leisure/pitch/pickleball.json @@ -0,0 +1,24 @@ +{ + "icon": "maki-tennis", + "fields": [ + "{leisure/pitch}", + "access_simple" + ], + "geometry": [ + "area", + "point" + ], + "tags": { + "leisure": "pitch", + "sport": "pickleball" + }, + "reference": { + "key": "sport", + "value": "pickleball" + }, + "terms": [ + "tennis", + "paddleball" + ], + "name": "Pickleball Court" +} diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index a74635d3..9007822e 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -6745,6 +6745,11 @@ en: # 'leisure=pitch + sport=paintball\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' name: Paintball Field terms: '' + leisure/pitch/pickleball: + # 'leisure=pitch + sport=pickleball\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' + name: Pickleball Court + # 'terms: tennis' + terms: '' leisure/pitch/rugby_league: # 'leisure=pitch + sport=rugby_league\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' name: Rugby League Field