From 1527ba5a4e4d60fd0300112507d8b869f77e537a Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Mon, 14 Feb 2022 16:27:40 +0100 Subject: [PATCH] add presets for unspecified shops and offices (*=yes), closes #399 --- data/presets/office/_yes.json | 18 ++++++++++++++++++ data/presets/shop/_yes.json | 17 +++++++++++++++++ interim/source_strings.yaml | 6 ++++++ 3 files changed, 41 insertions(+) create mode 100644 data/presets/office/_yes.json create mode 100644 data/presets/shop/_yes.json diff --git a/data/presets/office/_yes.json b/data/presets/office/_yes.json new file mode 100644 index 00000000..3bb6d345 --- /dev/null +++ b/data/presets/office/_yes.json @@ -0,0 +1,18 @@ +{ + "icon": "maki-suitcase", + "fields": [ + "name", + "office", + "{office}" + ], + "geometry": [ + "point", + "vertex", + "area" + ], + "tags": { + "office": "yes" + }, + "searchable": false, + "name": "Office (Unspecified Type)" +} diff --git a/data/presets/shop/_yes.json b/data/presets/shop/_yes.json new file mode 100644 index 00000000..dd011035 --- /dev/null +++ b/data/presets/shop/_yes.json @@ -0,0 +1,17 @@ +{ + "icon": "maki-shop", + "fields": [ + "name", + "shop", + "{shop}" + ], + "geometry": [ + "point", + "area" + ], + "tags": { + "shop": "yes" + }, + "searchable": false, + "name": "Shop (Unspecified Type)" +} diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index 71f2545a..25f841e1 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -7958,6 +7958,9 @@ en: name: Water Utility Office # 'terms: water board,utility' terms: + office/yes: + # office=yes | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Office (Unspecified Type) piste/downhill: # piste:type=downhill | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Downhill Ski Run @@ -9480,6 +9483,9 @@ en: # shop=wine | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Wine Shop terms: + shop/yes: + # shop=yes | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). + name: Shop (Unspecified Type) telecom: # telecom=* | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key). name: Telecom Feature