diff --git a/data/core.yaml b/data/core.yaml index ea6539673..2eae59862 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -1942,7 +1942,7 @@ en: title: Tag as disconnected annotation: Tagged very close features as disconnected. tag_as_not: - title: "Tag as not: {name}" + title: "Tag as not the same \"{name}\"" annotation: "Added not: tag" tag_as_unsquare: title: Tag as physically unsquare diff --git a/modules/validations/outdated_tags.js b/modules/validations/outdated_tags.js index b8b4e8eef..72d78a28b 100644 --- a/modules/validations/outdated_tags.js +++ b/modules/validations/outdated_tags.js @@ -118,10 +118,11 @@ export function validationOutdatedTags() { }) ]; - if (nsiResult && nsiResult.matched) { + const item = nsiResult && nsiResult.matched; + if (item) { fixes.push( new validationIssueFix({ - title: t.html('issues.fix.tag_as_not.title', { name: nsiResult.matched.displayName }), + title: t.html('issues.fix.tag_as_not.title', { name: item.displayName }), onClick: (context) => { context.perform(addNotTag, t('issues.fix.tag_as_not.annotation')); }