Skip to content

Commit

Permalink
fix: use region instead of drawnRegion for labelType in label file (#582
Browse files Browse the repository at this point in the history
)
  • Loading branch information
stew-ro committed Sep 23, 2020
1 parent 63bbea0 commit ffafc20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/localization/en-us.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/models/applicationState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ export enum FieldType {
}

export enum LabelType {
DrawnRegion = "drawnRegion"
DrawnRegion = "region"
}

export enum FieldFormat {
Expand All @@ -413,7 +413,7 @@ export enum FeatureCategory {
Text = "text",
Checkbox = "checkbox",
Label = "label",
DrawnRegion = "drawnRegion"
DrawnRegion = "region"
}

export enum ImageMapParent {
Expand Down

0 comments on commit ffafc20

Please sign in to comment.