From dd8ad5ed0f61934753f61e0af50e9ce690d869c6 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 14 Oct 2021 01:30:34 +0200 Subject: [PATCH] Add 'duplicate' as delete reason --- UI/Popup/DeleteWizard.ts | 9 +++++++++ langs/en.json | 3 ++- langs/themes/en.json | 5 +++++ langs/themes/nl.json | 5 +++++ 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/UI/Popup/DeleteWizard.ts b/UI/Popup/DeleteWizard.ts index fec675e84..35b087d6b 100644 --- a/UI/Popup/DeleteWizard.ts +++ b/UI/Popup/DeleteWizard.ts @@ -240,6 +240,15 @@ export default class DeleteWizard extends Toggle { ] }, then: t.reasons.notFound + }, + { + if: { + and: [ + "_delete_reason=duplicate", + ...softDeletionTagsStr + ] + }, + then: t.reasons.duplicate } ] diff --git a/langs/en.json b/langs/en.json index 082ee6781..c0a4796d7 100644 --- a/langs/en.json +++ b/langs/en.json @@ -52,7 +52,8 @@ "reasons": { "test": "This was a testing point - the feature was never actually there", "disused": "This feature is disused or removed", - "notFound": "This feature couldn't be found" + "notFound": "This feature couldn't be found", + "duplicate": "This point is a duplicate of another feature" }, "explanations": { "selectReason": "Please, select why this feature should be deleted", diff --git a/langs/themes/en.json b/langs/themes/en.json index d5976735d..82008ccbd 100644 --- a/langs/themes/en.json +++ b/langs/themes/en.json @@ -750,6 +750,11 @@ "override": { "name": "Streets without etymology information" } + }, + "2": { + "override": { + "name": "Parks and forests without etymology information" + } } }, "shortDescription": "What is the origin of a toponym?", diff --git a/langs/themes/nl.json b/langs/themes/nl.json index 7d6fbf6d7..e09f723b9 100644 --- a/langs/themes/nl.json +++ b/langs/themes/nl.json @@ -631,6 +631,11 @@ "override": { "name": "Straten zonder etymologische informatie" } + }, + "2": { + "override": { + "name": "Parken en bossen zonder etymologische informatie" + } } }, "shortDescription": "Wat is de oorsprong van een plaatsnaam?",