feat: translate error messages in automation

This commit is contained in:
Shivam Mishra
2024-07-26 12:21:08 +05:30
parent a55ec03eb1
commit d3d2e361b2
3 changed files with 30 additions and 10 deletions
@@ -39,12 +39,7 @@
}
},
"LIST": {
"TABLE_HEADER": [
"Name",
"Description",
"Active",
"Created on"
],
"TABLE_HEADER": ["Name", "Description", "Active", "Created on"],
"404": "No automation rules found"
},
"DELETE": {
@@ -113,6 +108,15 @@
"LABEL_UPLOADING": "Uploading...",
"LABEL_UPLOADED": "Successfully Uploaded",
"LABEL_UPLOAD_FAILED": "Upload Failed"
},
"ERRORS": {
"ATTRIBUTE_KEY_REQUIRED": "Attribute key is required",
"FILTER_OPERATOR_REQUIRED": "Filter operator is required",
"VALUE_REQUIRED": "Value is required",
"VALUE_MUST_BE_BETWEEN_1_AND_998": "Value must be between 1 and 998",
"ACTION_PARAMETERS_REQUIRED": "Action parameters are required",
"ATLEAST_ONE_CONDITION_REQUIRED": "At least one condition is required",
"ATLEAST_ONE_ACTION_REQUIRED": "At least one action is required"
}
}
}