9eb861a3b7
* Custom attributes * Custom Attrs Manifest * Fix dropdown values for custom attributes * Handle edit mode for custom attributes * Ported duplicate logic to a mixin * fix Code climate issue * Fix Codeclimate complexity warning * Bug fix - Custom attributes getting duplicated * Bug fixes and Code Climate issue fix * Code Climate Issues Breakdown * Fix test spec * Add labels for Custom attributes in dropdown * Refactor * Refactor Automion mixin * Refactor Mixin * Refactor getOperator * Fix getOperatorType * File name method refactor * Refactor appendNewCondition * spec update * Refactor methods * Mixin Spec update * Automation Mixins Test Specs * Mixin Spec Rerun * Automation validations mixin spec * Automation helper test spec * Send custom_attr key * Fix spec fixtures * fix: Changes for custom attribute type and lower case search * fix: Specs * fix: Specs * fix: Ruby version change * fix: Ruby version change * Removes Lowercased values and fix label value in api payload * Fix specs * Fixed Query Spec * Removed disabled labels if no attributes are present * Code Climate Fixes * fix: custom attribute with indifferent access * fix: custom attribute with indifferent access * Fix specs * Minor label fix * REtrigger circle ci build * Update app/javascript/shared/mixins/specs/automationMixin.spec.js * Update app/javascript/shared/mixins/specs/automationMixin.spec.js * fix: Custom attribute case insensitivity search * Add missing reset action method to input * Set team_input to single select instead of multiple * fix: remove value case check for date,boolean and number data type * fix: cognitive complexity * fix: cognitive complexity * fix: Fixed activity message for automation system * fix: Fixed activity message for automation system * fix: Fixed activity message for automation system * fix: codeclimate * fix: codeclimate * fix: action cable events for label update * fix: codeclimate, conversation modela number of methods * fix: codeclimate, conversation modela number of methods * fix: codeclimate, conversation modela number of methods * fix: codeclimate, conversation modela number of methods * Fix margin bottom for attachment button * Remove margin bottom to avoid conflict from macros * Fix automation action query generator using the right key * fix: not running message created event for activity message * fix: not running message created event for activity message * codeclimate fix * codeclimate fix * codeclimate fix * Update app/javascript/dashboard/mixins/automations/methodsMixin.js Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> * Update app/javascript/shared/mixins/specs/automationHelper.spec.js Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> * Update app/javascript/dashboard/helper/automationHelper.js Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> * Update app/javascript/dashboard/mixins/automations/methodsMixin.js Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Pranav Raj S <pranav@chatwoot.com> Co-authored-by: Tejaswini <tejaswini@chatwoot.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Sojan Jose <sojan@pepalo.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
118 lines
4.3 KiB
JSON
118 lines
4.3 KiB
JSON
{
|
|
"AUTOMATION": {
|
|
"HEADER": "Automations",
|
|
"HEADER_BTN_TXT": "Add Automation Rule",
|
|
"LOADING": "Fetching automation rules",
|
|
"SIDEBAR_TXT": "<p><b>Automation Rules</b> <p>Automation can replace and automate existing processes that require manual effort. You can do many things with automation, including adding labels and assigning conversation to the best agent. So the team focuses on what they do best and spends more little time on manual tasks.</p>",
|
|
"ADD": {
|
|
"TITLE": "Add Automation Rule",
|
|
"SUBMIT": "Create",
|
|
"CANCEL_BUTTON_TEXT": "Cancel",
|
|
"FORM": {
|
|
"NAME": {
|
|
"LABEL": "Rule Name",
|
|
"PLACEHOLDER": "Enter rule name",
|
|
"ERROR": "Name is required"
|
|
},
|
|
"DESC": {
|
|
"LABEL": "Description",
|
|
"PLACEHOLDER": "Enter rule description",
|
|
"ERROR": "Description is required"
|
|
},
|
|
"EVENT": {
|
|
"LABEL": "Event",
|
|
"PLACEHOLDER": "Please select one",
|
|
"ERROR": "Event is required"
|
|
},
|
|
"CONDITIONS": {
|
|
"LABEL": "Conditions"
|
|
},
|
|
"ACTIONS": {
|
|
"LABEL": "Actions"
|
|
}
|
|
},
|
|
"CONDITION_BUTTON_LABEL": "Add Condition",
|
|
"ACTION_BUTTON_LABEL": "Add Action",
|
|
"API": {
|
|
"SUCCESS_MESSAGE": "Automation rule added successfully",
|
|
"ERROR_MESSAGE": "Could not able to create a automation rule, Please try again later"
|
|
}
|
|
},
|
|
"LIST": {
|
|
"TABLE_HEADER": [
|
|
"Name",
|
|
"Description",
|
|
"Active",
|
|
"Created on"
|
|
],
|
|
"404": "No automation rules found"
|
|
},
|
|
"DELETE": {
|
|
"TITLE": "Delete Automation Rule",
|
|
"SUBMIT": "Delete",
|
|
"CANCEL_BUTTON_TEXT": "Cancel",
|
|
"CONFIRM": {
|
|
"TITLE": "Confirm Deletion",
|
|
"MESSAGE": "Are you sure to delete ",
|
|
"YES": "Yes, Delete ",
|
|
"NO": "No, Keep "
|
|
},
|
|
"API": {
|
|
"SUCCESS_MESSAGE": "Automation rule deleted successfully",
|
|
"ERROR_MESSAGE": "Could not able to delete a automation rule, Please try again later"
|
|
}
|
|
},
|
|
"EDIT": {
|
|
"TITLE": "Edit Automation Rule",
|
|
"SUBMIT": "Update",
|
|
"CANCEL_BUTTON_TEXT": "Cancel",
|
|
"API": {
|
|
"SUCCESS_MESSAGE": "Automation rule updated successfully",
|
|
"ERROR_MESSAGE": "Could not update automation rule, Please try again later"
|
|
}
|
|
},
|
|
"CLONE": {
|
|
"TOOLTIP": "Clone",
|
|
"API": {
|
|
"SUCCESS_MESSAGE": "Automation cloned successfully",
|
|
"ERROR_MESSAGE": "Could not clone automation rule, Please try again later"
|
|
}
|
|
},
|
|
"FORM": {
|
|
"EDIT": "Edit",
|
|
"CREATE": "Create",
|
|
"DELETE": "Delete",
|
|
"CANCEL": "Cancel",
|
|
"RESET_MESSAGE": "Changing event type will reset the conditions and events you have added below"
|
|
},
|
|
"CONDITION": {
|
|
"DELETE_MESSAGE": "You need to have atleast one condition to save",
|
|
"CONTACT_CUSTOM_ATTR_LABEL": "Contact Custom Attributes",
|
|
"CONVERSATION_CUSTOM_ATTR_LABEL": "Conversation Custom Attributes"
|
|
},
|
|
"ACTION": {
|
|
"DELETE_MESSAGE": "You need to have atleast one action to save",
|
|
"TEAM_MESSAGE_INPUT_PLACEHOLDER": "Enter your message here",
|
|
"TEAM_DROPDOWN_PLACEHOLDER": "Select teams"
|
|
},
|
|
"TOGGLE": {
|
|
"ACTIVATION_TITLE": "Activate Automation Rule",
|
|
"DEACTIVATION_TITLE": "Deactivate Automation Rule",
|
|
"ACTIVATION_DESCRIPTION": "This action will activate the automation rule '{automationName}'. Are you sure you want to proceed?",
|
|
"DEACTIVATION_DESCRIPTION": "This action will deactivate the automation rule '{automationName}'. Are you sure you want to proceed?",
|
|
"ACTIVATION_SUCCESFUL": "Automation Rule Activated Successfully",
|
|
"DEACTIVATION_SUCCESFUL": "Automation Rule Deactivated Successfully",
|
|
"ACTIVATION_ERROR": "Could not Activate Automation, Please try again later",
|
|
"DEACTIVATION_ERROR": "Could not Deactivate Automation, Please try again later",
|
|
"CONFIRMATION_LABEL": "Yes",
|
|
"CANCEL_LABEL": "No"
|
|
},
|
|
"ATTACHMENT": {
|
|
"UPLOAD_ERROR": "Could not upload attachment, Please try again",
|
|
"LABEL_IDLE": "Upload Attachment",
|
|
"LABEL_UPLOADING": "Uploading...",
|
|
"LABEL_UPLOADED": "Successfully Uploaded",
|
|
"LABEL_UPLOAD_FAILED": "Upload Failed"
|
|
}
|
|
}
|
|
}
|