Adjust wording of "Tag as not the same thing"

This commit is contained in:
Bryan Housel
2021-08-06 17:14:32 -04:00
parent 52e8555a8f
commit 97ddf125d2
2 changed files with 4 additions and 3 deletions

View File

@@ -1942,7 +1942,7 @@ en:
title: Tag as disconnected
annotation: Tagged very close features as disconnected.
tag_as_not:
title: "Tag as <strong>not:</strong> {name}"
title: "Tag as not the same \"{name}\""
annotation: "Added not: tag"
tag_as_unsquare:
title: Tag as physically unsquare

View File

@@ -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'));
}