diff --git a/data/core.yaml b/data/core.yaml index e09743918..097c5037d 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -1464,6 +1464,8 @@ en: title: Ignore this issue merge_points: title: Merge these points + move_points_apart: + title: Move these points apart move_tags: title: Move the tags annotation: Moved tags. diff --git a/dist/locales/en.json b/dist/locales/en.json index ea9245d00..f20a0269a 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1820,6 +1820,9 @@ "merge_points": { "title": "Merge these points" }, + "move_points_apart": { + "title": "Move these points apart" + }, "move_tags": { "title": "Move the tags", "annotation": "Moved tags." diff --git a/modules/validations/close_nodes.js b/modules/validations/close_nodes.js index cc3023b16..756ddd92f 100644 --- a/modules/validations/close_nodes.js +++ b/modules/validations/close_nodes.js @@ -86,6 +86,10 @@ export function validationCloseNodes() { operation = operationMerge([entityIds[0], entityIds[1]], context); operation(); } + }), + new validationIssueFix({ + icon: 'iD-operation-disconnect', + title: t('issues.fix.move_points_apart.title') }) ] });