add translations for new error type

This commit is contained in:
mchouliara 2024-09-10 17:55:24 +03:00
parent a5bae5aac1
commit 2a295f454e
12 changed files with 25 additions and 13 deletions

View File

@ -198,7 +198,8 @@ export class ResponseErrorCodeHelper {
return language.instant("GENERAL.BACKEND-ERRORS.MISSING-TENANT-ROLE"); return language.instant("GENERAL.BACKEND-ERRORS.MISSING-TENANT-ROLE");
case ResponseErrorCode.missingGlobalRole: case ResponseErrorCode.missingGlobalRole:
return language.instant("GENERAL.BACKEND-ERRORS.MISSING-GLOBAL-ROLE"); return language.instant("GENERAL.BACKEND-ERRORS.MISSING-GLOBAL-ROLE");
case ResponseErrorCode.userProfileInactive:
return language.instant("GENERAL.BACKEND-ERRORS.CANNOT-PERFORM-ACTION-ON-USER")
default: default:
return language.instant("GENERAL.SNACK-BAR.NOT-FOUND"); return language.instant("GENERAL.SNACK-BAR.NOT-FOUND");
} }

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Kontuz!", "WARNING": "Kontuz!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Warnung!", "WARNING": "Warnung!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Warning!", "WARNING": "Warning!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Atención!", "WARNING": "Atención!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Προσοχή!", "WARNING": "Προσοχή!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Oprez!", "WARNING": "Oprez!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Ostrzeżenie!", "WARNING": "Ostrzeżenie!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Atenção!", "WARNING": "Atenção!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Upozornenie!", "WARNING": "Upozornenie!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Oprez!", "WARNING": "Oprez!",

View File

@ -94,7 +94,8 @@
"DESCRIPTION-TEMPLATE-TYPE-IMPORT-DRAFT": "Description template type with code '{{descriptionTemplateTypeCode}}' is not finalized yet.", "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.", "PLAN-BLUEPRINT-IMPORT-DRAFT": "Plan Blueprint with code '{{planBlueprintCode}}' is not finalized yet.",
"MISSING-TENANT-ROLE": "Υou must also select a tenant role", "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": { "FORM-VALIDATION-DISPLAY-DIALOG": {
"WARNING": "Uyarı!", "WARNING": "Uyarı!",