add translations for new error type
This commit is contained in:
parent
a5bae5aac1
commit
2a295f454e
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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": "Προσοχή!",
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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!",
|
||||
|
|
|
@ -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ı!",
|
||||
|
|
Loading…
Reference in New Issue