mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-02 02:00:34 +02:00
Add non-actionable fix recommendation to move very close points apart
This commit is contained in:
@@ -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.
|
||||
|
||||
3
dist/locales/en.json
vendored
3
dist/locales/en.json
vendored
@@ -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."
|
||||
|
||||
@@ -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')
|
||||
})
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user