From 94a23c0ee01a19f79a4658f7979d1f83771b1171 Mon Sep 17 00:00:00 2001 From: "CITE\\amentis" Date: Mon, 16 Sep 2024 16:34:51 +0300 Subject: [PATCH] add null mat option where it needs --- .../editor/status-editor.component.html | 1 + .../description-status-editor.component.html | 1 + .../description-status-listing.component.html | 2 +- .../plan-status-editor.component.html | 1 + frontend/src/assets/i18n/baq.json | 19 ++++++++++++++----- frontend/src/assets/i18n/de.json | 19 ++++++++++++++----- frontend/src/assets/i18n/en.json | 11 ++++++++++- frontend/src/assets/i18n/es.json | 19 ++++++++++++++----- frontend/src/assets/i18n/gr.json | 19 ++++++++++++++----- frontend/src/assets/i18n/hr.json | 19 ++++++++++++++----- frontend/src/assets/i18n/pl.json | 19 ++++++++++++++----- frontend/src/assets/i18n/pt.json | 19 ++++++++++++++----- frontend/src/assets/i18n/sk.json | 19 ++++++++++++++----- frontend/src/assets/i18n/sr.json | 19 ++++++++++++++----- frontend/src/assets/i18n/tr.json | 19 ++++++++++++++----- 15 files changed, 154 insertions(+), 52 deletions(-) diff --git a/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.html b/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.html index 65efdd28d..644b6a1af 100644 --- a/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.html +++ b/frontend/src/annotation-service/ui/admin/status/editor/status-editor.component.html @@ -54,6 +54,7 @@ {{'ANNOTATION-SERVICE.STATUS-EDITOR.FIELDS.INTERNAL-STATUS' | translate}} {{enumUtils.toInternalStatusString(internalStatus)}} + {{'ANNOTATION-SERVICE.STATUS-EDITOR.DEFAULT-VALUE.NONE' | translate}} {{formGroup.get('internalStatus').getError('backendError').message}} {{'GENERAL.VALIDATION.REQUIRED' | translate}} diff --git a/frontend/src/app/ui/admin/description-status/editor/description-status-editor/description-status-editor.component.html b/frontend/src/app/ui/admin/description-status/editor/description-status-editor/description-status-editor.component.html index c9b9e3143..c7a43d239 100644 --- a/frontend/src/app/ui/admin/description-status/editor/description-status-editor/description-status-editor.component.html +++ b/frontend/src/app/ui/admin/description-status/editor/description-status-editor/description-status-editor.component.html @@ -39,6 +39,7 @@ {{'DESCRIPTION-STATUS-EDITOR.FIELDS.INTERNAL-STATUS' | translate}} {{enumUtils.toDescriptionStatusString(internalStatus)}} + {{'DESCRIPTION-STATUS-EDITOR.DEFAULT-VALUE.NONE' | translate}} {{formGroup.controls.internalStatus.getError('backendError').message}} diff --git a/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.html b/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.html index 2de888fdd..09a535ed6 100644 --- a/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.html +++ b/frontend/src/app/ui/admin/description-status/listing/description-status-listing/description-status-listing.component.html @@ -42,7 +42,7 @@ class="status-chip" [class.status-chip-finalized]="row.internalStatus === DescriptionStatusEnum.Finalized" [class.status-chip-draft]="row.internalStatus === DescriptionStatusEnum.Draft" - [class.status-chip-cancelled]="row.internalStatus === DescriptionStatusEnum.Canceled" + [class.status-chip-error]="row.internalStatus === DescriptionStatusEnum.Canceled" > {{enumUtils.toDescriptionStatusString(row.internalStatus)}} diff --git a/frontend/src/app/ui/admin/plan-status/editor/plan-status-editor/plan-status-editor.component.html b/frontend/src/app/ui/admin/plan-status/editor/plan-status-editor/plan-status-editor.component.html index d0185d96e..d24c9095c 100644 --- a/frontend/src/app/ui/admin/plan-status/editor/plan-status-editor/plan-status-editor.component.html +++ b/frontend/src/app/ui/admin/plan-status/editor/plan-status-editor/plan-status-editor.component.html @@ -39,6 +39,7 @@ {{'PLAN-STATUS-EDITOR.FIELDS.INTERNAL-STATUS' | translate}} {{enumUtils.toPlanStatusString(internalStatus)}} + {{'PLAN-STATUS-EDITOR.DEFAULT-VALUE.NONE' | translate}} {{formGroup.controls.internalStatus.getError('backendError').message}} diff --git a/frontend/src/assets/i18n/baq.json b/frontend/src/assets/i18n/baq.json index 4630304c4..46e6fb75f 100644 --- a/frontend/src/assets/i18n/baq.json +++ b/frontend/src/assets/i18n/baq.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/de.json b/frontend/src/assets/i18n/de.json index cb55ee095..f32703dd8 100644 --- a/frontend/src/assets/i18n/de.json +++ b/frontend/src/assets/i18n/de.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/en.json b/frontend/src/assets/i18n/en.json index 9ccb25747..137e0edc3 100644 --- a/frontend/src/assets/i18n/en.json +++ b/frontend/src/assets/i18n/en.json @@ -916,6 +916,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -963,7 +966,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "DESCRIPTION-OVERVIEW": { "TITLE": "Description", @@ -1468,6 +1474,9 @@ "LABEL": "Label", "INTERNAL-STATUS":"Internal Status" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", diff --git a/frontend/src/assets/i18n/es.json b/frontend/src/assets/i18n/es.json index 173880d88..a148167cc 100644 --- a/frontend/src/assets/i18n/es.json +++ b/frontend/src/assets/i18n/es.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/gr.json b/frontend/src/assets/i18n/gr.json index 6a3fc2ef6..6e3a74fc0 100644 --- a/frontend/src/assets/i18n/gr.json +++ b/frontend/src/assets/i18n/gr.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/hr.json b/frontend/src/assets/i18n/hr.json index f726095d3..17935d254 100644 --- a/frontend/src/assets/i18n/hr.json +++ b/frontend/src/assets/i18n/hr.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/pl.json b/frontend/src/assets/i18n/pl.json index 938abce83..5030528c4 100644 --- a/frontend/src/assets/i18n/pl.json +++ b/frontend/src/assets/i18n/pl.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/pt.json b/frontend/src/assets/i18n/pt.json index a42b2c9e3..fdc4d82ed 100644 --- a/frontend/src/assets/i18n/pt.json +++ b/frontend/src/assets/i18n/pt.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/sk.json b/frontend/src/assets/i18n/sk.json index 0c3ef9357..f1eaadf44 100644 --- a/frontend/src/assets/i18n/sk.json +++ b/frontend/src/assets/i18n/sk.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/sr.json b/frontend/src/assets/i18n/sr.json index 6bd96a663..c589b8f6f 100644 --- a/frontend/src/assets/i18n/sr.json +++ b/frontend/src/assets/i18n/sr.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save", diff --git a/frontend/src/assets/i18n/tr.json b/frontend/src/assets/i18n/tr.json index d7e8d1c20..99d672fcb 100644 --- a/frontend/src/assets/i18n/tr.json +++ b/frontend/src/assets/i18n/tr.json @@ -917,7 +917,10 @@ "ALLOW-ANONYMOUS": "Allow anonymous users", "ROLES": "User roles", "PLAN-ROLES": "User plan roles" - } + }, + "DEFAULT-VALUE": { + "NONE": "None" + } }, "PLAN-STATUS-LISTING": { "FIELDS": { @@ -940,10 +943,10 @@ "CREATE-PLAN-STATUS": "Create Plan Status" } }, - "PLAN-STATUS-EDITOR": { + "PLAN-STATUS-EDITOR": { "TITLE": { - "NEW": "New Plan Blueprint", - "EDIT": "Edit Plan Blueprint" + "NEW": "New Plan Status", + "EDIT": "Edit Plan Status" }, "FIELDS": { "NAME": "Name", @@ -957,6 +960,9 @@ "ROLES": "User roles", "PLAN-ROLES": "User plan roles" }, + "DEFAULT-VALUE": { + "NONE": "None" + }, "ACTIONS": { "SAVE": "Save", "CANCEL": "Cancel", @@ -1466,7 +1472,10 @@ "TITLE-EDIT-ANNOTATION-STATUS": "Editing Annotation Status", "FIELDS": { "LABEL": "Label", - "INTERNAL-STATUS": "Internal Status" + "INTERNAL-STATUS":"Internal Status" + }, + "DEFAULT-VALUE": { + "NONE": "None" }, "ACTIONS": { "SAVE": "Save",