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");
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");
}

View File

@ -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!",

View File

@ -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!",

View File

@ -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!",

View File

@ -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!",

View File

@ -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": "Προσοχή!",

View File

@ -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!",

View File

@ -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!",

View File

@ -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!",

View File

@ -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!",

View File

@ -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!",

View File

@ -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ı!",