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