From 528bff1c716cf7c142c1a1b728322b614ed20973 Mon Sep 17 00:00:00 2001 From: stew-ro Date: Tue, 15 Sep 2020 12:23:20 -0700 Subject: [PATCH] fix: use region instead of drawnRegion for labelType in label file --- src/common/localization/en-us.ts | 2 +- src/models/applicationState.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/localization/en-us.ts b/src/common/localization/en-us.ts index 3cc4a6bb1..c864f5cce 100644 --- a/src/common/localization/en-us.ts +++ b/src/common/localization/en-us.ts @@ -264,7 +264,7 @@ export const english: IAppStrings = { unknownTagName: "Unknown", notCompatibleTagType: "Tag type is not compatible with this feature. If you want to change type of this tag, please remove or reassign all labels which using this tag in your project.", checkboxPerTagLimit: "Cannot assign more than one checkbox per tag", - notCompatibleWithDrawnRegionTag: "drawnRegion and ${otherCatagory} values cannot both be assigned to the same document's tag", + notCompatibleWithDrawnRegionTag: "Drawn regions and ${otherCatagory} values cannot both be assigned to the same document's tag", }, toolbar: { add: "Add new tag", diff --git a/src/models/applicationState.ts b/src/models/applicationState.ts index 6661a5e62..517e12d4a 100644 --- a/src/models/applicationState.ts +++ b/src/models/applicationState.ts @@ -394,7 +394,7 @@ export enum FieldType { } export enum LabelType { - DrawnRegion = "drawnRegion" + DrawnRegion = "region" } export enum FieldFormat { @@ -413,7 +413,7 @@ export enum FeatureCategory { Text = "text", Checkbox = "checkbox", Label = "label", - DrawnRegion = "drawnRegion" + DrawnRegion = "region" } export enum ImageMapParent {