diff --git a/frontend/src/app/core/common/enum/respone-error-code.ts b/frontend/src/app/core/common/enum/respone-error-code.ts index 349e7d51d..cea47da18 100644 --- a/frontend/src/app/core/common/enum/respone-error-code.ts +++ b/frontend/src/app/core/common/enum/respone-error-code.ts @@ -55,7 +55,7 @@ export enum ResponseErrorCode { planBlueprintImportDraft = 157, missingTenantRole = 158, missingGlobalRole = 159, - userProfileInactive = 160, + userProfileInactive = 160, // Notification & Annotation Errors InvalidApiKey = 200, @@ -198,7 +198,8 @@ export class ResponseErrorCodeHelper { return language.instant("GENERAL.BACKEND-ERRORS.MISSING-TENANT-ROLE"); case ResponseErrorCode.missingGlobalRole: return language.instant("GENERAL.BACKEND-ERRORS.MISSING-GLOBAL-ROLE"); - + case ResponseErrorCode.userProfileInactive: + return language.instant("GENERAL.BACKEND-ERRORS.CANNOT-PERFORM-ACTION-ON-USER") default: return language.instant("GENERAL.SNACK-BAR.NOT-FOUND"); } diff --git a/frontend/src/assets/i18n/baq.json b/frontend/src/assets/i18n/baq.json index 96feddb53..42d529741 100644 --- a/frontend/src/assets/i18n/baq.json +++ b/frontend/src/assets/i18n/baq.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Kontuz!", diff --git a/frontend/src/assets/i18n/de.json b/frontend/src/assets/i18n/de.json index 9fe1197c8..12ea4e12c 100644 --- a/frontend/src/assets/i18n/de.json +++ b/frontend/src/assets/i18n/de.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Warnung!", diff --git a/frontend/src/assets/i18n/en.json b/frontend/src/assets/i18n/en.json index f62668003..f0d909d18 100644 --- a/frontend/src/assets/i18n/en.json +++ b/frontend/src/assets/i18n/en.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Warning!", diff --git a/frontend/src/assets/i18n/es.json b/frontend/src/assets/i18n/es.json index a58e8695e..0a79f99d5 100644 --- a/frontend/src/assets/i18n/es.json +++ b/frontend/src/assets/i18n/es.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Atención!", diff --git a/frontend/src/assets/i18n/gr.json b/frontend/src/assets/i18n/gr.json index 883693c5b..64dc6286c 100644 --- a/frontend/src/assets/i18n/gr.json +++ b/frontend/src/assets/i18n/gr.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Προσοχή!", diff --git a/frontend/src/assets/i18n/hr.json b/frontend/src/assets/i18n/hr.json index dbea01a07..48fe6ac61 100644 --- a/frontend/src/assets/i18n/hr.json +++ b/frontend/src/assets/i18n/hr.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Oprez!", diff --git a/frontend/src/assets/i18n/pl.json b/frontend/src/assets/i18n/pl.json index c9183d97c..5a2040ad6 100644 --- a/frontend/src/assets/i18n/pl.json +++ b/frontend/src/assets/i18n/pl.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Ostrzeżenie!", diff --git a/frontend/src/assets/i18n/pt.json b/frontend/src/assets/i18n/pt.json index 0d6a71f97..3991da27a 100644 --- a/frontend/src/assets/i18n/pt.json +++ b/frontend/src/assets/i18n/pt.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Atenção!", diff --git a/frontend/src/assets/i18n/sk.json b/frontend/src/assets/i18n/sk.json index 92ef6d64d..abc3e9eaf 100644 --- a/frontend/src/assets/i18n/sk.json +++ b/frontend/src/assets/i18n/sk.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Upozornenie!", diff --git a/frontend/src/assets/i18n/sr.json b/frontend/src/assets/i18n/sr.json index 46398f5eb..8483eda0b 100644 --- a/frontend/src/assets/i18n/sr.json +++ b/frontend/src/assets/i18n/sr.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Oprez!", diff --git a/frontend/src/assets/i18n/tr.json b/frontend/src/assets/i18n/tr.json index 5a30ec4c7..0f96a683f 100644 --- a/frontend/src/assets/i18n/tr.json +++ b/frontend/src/assets/i18n/tr.json @@ -94,7 +94,8 @@ "DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.", "MISSING-TENANT-ROLE": "Υou must also select a tenant role", - "MISSING-GLOBAL-ROLE": "Υou must also select a global role" + "MISSING-GLOBAL-ROLE": "Υou must also select a global role", + "CANNOT-PERFORM-ACTION-ON-USER": "Cannot perform action, user account has not been activated" }, "FORM-VALIDATION-DISPLAY-DIALOG": { "WARNING": "Uyarı!",