Add 'duplicate' as delete reason

This commit is contained in:
pietervdvn 2021-10-14 01:30:34 +02:00
parent 9773b9759c
commit dd8ad5ed0f
4 changed files with 21 additions and 1 deletions

View file

@ -240,6 +240,15 @@ export default class DeleteWizard extends Toggle {
]
},
then: t.reasons.notFound
},
{
if: {
and: [
"_delete_reason=duplicate",
...softDeletionTagsStr
]
},
then: t.reasons.duplicate
}
]

View file

@ -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",

View file

@ -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?",

View file

@ -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?",