Initial Commit

Co-authored-by: Subin <subinthattaparambil@gmail.com>
Co-authored-by: Manoj <manojmj92@gmail.com>
Co-authored-by: Nithin <webofnithin@gmail.com>
This commit is contained in:
Pranav Raj Sreepuram
2019-08-14 15:18:44 +05:30
commit 2a34255e0b
537 changed files with 27318 additions and 0 deletions

View File

@@ -0,0 +1,108 @@
export default {
menuGroup: {
common: {
routes: [
'home',
'inbox_dashboard',
'inbox_conversation',
'settings_account_reports',
'billing_deactivated',
],
menuItems: {
assignedToMe: {
icon: 'ion-chatbox-working',
label: 'Conversations',
hasSubMenu: false,
key: '',
toState: '/u/dashboard',
toolTip: 'Conversation from all subscribed inboxes',
toStateName: 'home',
},
report: {
icon: 'ion-arrow-graph-up-right',
label: 'Reports',
hasSubMenu: false,
toState: '/u/reports',
toStateName: 'settings_account_reports',
},
settings: {
icon: 'ion-settings',
label: 'Settings',
hasSubMenu: false,
toState: '/u/settings/',
toStateName: 'settings_home',
},
inbox: {
icon: 'ion-folder',
label: 'Inboxes',
hasSubMenu: true,
newLink: true,
key: 'inbox',
cssClass: 'menu-title align-justify',
toState: '/u/settings/inboxes',
toStateName: 'settings_inbox_list',
children: [],
},
},
},
settings: {
routes: [
'agent_list',
'agent_new',
'canned_list',
'canned_new',
'settings_inbox',
'settings_inbox_new',
'settings_inbox_list',
'settings_inboxes_page_channel',
'settings_inboxes_add_agents',
'settings_inbox_finish',
'billing',
],
menuItems: {
back: {
icon: 'ion-ios-arrow-back',
label: 'Home',
hasSubMenu: false,
toStateName: 'home',
toState: '/u/dashboard',
},
agents: {
icon: 'ion-person-stalker',
label: 'Agents',
hasSubMenu: false,
toState: '/u/settings/agents/list',
toStateName: 'agent_list',
},
inboxes: {
icon: 'ion-archive',
label: 'Inboxes',
hasSubMenu: false,
toState: '/u/settings/inboxes/list',
toStateName: 'settings_inbox_list',
},
cannedResponses: {
icon: 'ion-chatbox-working',
label: 'Canned Responses',
hasSubMenu: false,
toState: '/u/settings/canned-response/list',
toStateName: 'canned_list',
},
billing: {
icon: 'ion-card',
label: 'Billing',
hasSubMenu: false,
toState: '/u/settings/billing',
toStateName: 'billing',
},
account: {
icon: 'ion-beer',
label: 'Account Settings',
hasSubMenu: false,
toState: '/u/settings/account',
toStateName: 'account',
},
},
},
},
};

View File

@@ -0,0 +1,15 @@
import en from './locale/en/';
export default {
...en,
APP_GLOBAL: {
TRIAL_MESSAGE: 'days trial remaining.',
TRAIL_BUTTON: 'Buy Now',
},
CONFIRM_EMAIL: 'Verifying...',
SETTINGS: {
INBOXES: {
NEW_INBOX: 'Add Inbox',
},
},
};

View File

@@ -0,0 +1,5 @@
import en from './en';
export default {
en,
};

View File

@@ -0,0 +1,89 @@
{
"AGENT_MGMT": {
"HEADER": "Agents",
"HEADER_BTN_TXT": "Add Agent",
"LOADING": "Fetching Agent List",
"SIDEBAR_TXT": "<p><b>Agents</b></p> <p> An <b>Agent</b> is a member of your Customer Support team. </p><p> Agents will be able to view and reply to messages from your users. The list shows all agents currently in your account. </p><p> Click on <b>Add Agent</b> to add a new agent. Agent you add will receive an email with a confirmation link to activate their account, after which they can access Chatwoot and respond to messages. </p><p> Access to Chatwoot's features are based on following roles. </p><p> <b>Agent</b> - Agents with this role can only access inboxes, reports and conversations. They can assign conversations to other agents or themselves and resolve conversations.</p><p> <b>Administrator</b> - Administrator will have access to all Chatwoot features enabled for your account, including settings and billing, along with all of a normal agents' privileges.</p>",
"AGENT_TYPES": [
{
"name": "administrator",
"label": "Administrator"
}, {
"name": "agent",
"label": "Agent"
}
],
"LIST": {
"404": "There are no agents associated to this account",
"TITLE": "Manage agents in your team",
"DESC": "You can add/remove agents to/in your team.",
"NAME": "Name",
"EMAIL": "EMAIL",
"STATUS": "Status",
"ACTIONS": "Actions",
"VERIFIED": "Verified",
"VERIFICATION_PENDING": "Verification Pending"
},
"ADD": {
"TITLE": "Add agent to your team",
"DESC": "You can add people who will be able to handle support for your inboxes.",
"FORM": {
"NAME" : {
"LABEL": "Agent Name",
"PLACEHOLDER": "Please enter a name of the agent"
},
"AGENT_TYPE" : {
"LABEL": "Agent Type",
"PLACEHOLDER": "Please select a type",
"ERROR": "Agent type is required"
},
"EMAIL" : {
"LABEL": "Email Address",
"PLACEHOLDER": "Please enter an email address of the agent"
},
"SUBMIT": "Add Agent"
},
"API": {
"SUCCESS_MESSAGE": "Agent added successfully",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
}
},
"DELETE": {
"BUTTON_TEXT": "Delete",
"API": {
"SUCCESS_MESSAGE": "Agent deleted successfully",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
},
"CONFIRM": {
"TITLE": "Confirm Deletion",
"MESSAGE": "Are you sure to delete ",
"YES": "Yes, Delete ",
"NO": "No, Keep "
}
},
"EDIT": {
"TITLE": "Edit agent",
"FORM": {
"NAME" : {
"LABEL": "Agent Name",
"PLACEHOLDER": "Please enter a name of the agent"
},
"AGENT_TYPE" : {
"LABEL": "Agent Type",
"PLACEHOLDER": "Please select a type",
"ERROR": "Agent type is required"
},
"EMAIL" : {
"LABEL": "Email Address",
"PLACEHOLDER": "Please enter an email address of the agent"
},
"SUBMIT": "Edit Agent"
},
"BUTTON_TEXT": "Edit",
"API": {
"SUCCESS_MESSAGE": "Agent updated successfully",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
}
}
}
}

View File

@@ -0,0 +1,19 @@
{
"BILLING": {
"HEADER": "Billing",
"LOADING": "Fetching Subscriptions",
"ACCOUNT_STATE": "Account State",
"AGENT_COUNT": "Agent Count",
"PER_AGENT_COST": "Per Agent Cost",
"TOTAL_COST": "Total Cost",
"BUTTON": {
"ADD": "Add Payment Method",
"EDIT": "EDIT Payment Method"
},
"TRIAL": {
"TITLE": "Your Trial period is over",
"MESSAGE": "Add a payment method to continue using Chatwoot."
},
"ACCOUNT_LOCKED": "Your account is not available at the moment. <br>Please contact your administrator for reactivation."
}
}

View File

@@ -0,0 +1,74 @@
{
"CANNED_MGMT": {
"HEADER": "Canned Responses",
"HEADER_BTN_TXT": "Add Canned Response",
"LOADING": "Fetching Canned Responses",
"SEARCH_404": "There are no items matching this query",
"SIDEBAR_TXT": "<p><b>Canned Responses</b> </p><p> Canned Responses are saved reply templates which can be used to quickly send out a reply to a conversation . </p><p> For creating a Canned Response, just click on the <b>Add Canned Response</b>. You can also edit or delete an existing Canned Response by clicking on the Edit or Delete button </p><p> Canned responses are used with the help of <b>Short Codes</b>. Agents can access canned responses while on a chat by typing <b>'/'</b> followed by the short code. </p>",
"LIST": {
"404": "There are no canned responses available in this account.",
"TITLE": "Manage canned responses",
"DESC": "Canned Responses are predefined reply templates which can be used to quickly send out replies to tickets.",
"TABLE_HEADER": [
"Short Code",
"Content",
"Actions"
]
},
"ADD": {
"TITLE": "Add Canned Response",
"DESC": "Canned Responses are saved reply templates which can be used to quickly send out reply to conversation .",
"FORM": {
"SHORT_CODE" : {
"LABEL": "Short Code",
"PLACEHOLDER": "Please enter a shortcode",
"ERROR": "Short Code is required"
},
"CONTENT" : {
"LABEL": "Content",
"PLACEHOLDER": "Please enter a content",
"ERROR": "Content is required"
},
"SUBMIT": "Submit"
},
"API": {
"SUCCESS_MESSAGE": "Canned Response added successfully",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
}
},
"EDIT": {
"TITLE": "Edit Canned Response",
"FORM": {
"SHORT_CODE" : {
"LABEL": "Short Code",
"PLACEHOLDER": "Please enter a shortcode",
"ERROR": "Short Code is required"
},
"CONTENT" : {
"LABEL": "Content",
"PLACEHOLDER": "Please enter a content",
"ERROR": "Content is required"
},
"SUBMIT": "Submit"
},
"BUTTON_TEXT": "Edit",
"API": {
"SUCCESS_MESSAGE": "Canned Response updated successfully",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
}
},
"DELETE": {
"BUTTON_TEXT": "Delete",
"API": {
"SUCCESS_MESSAGE": "Canned response deleted successfully",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
},
"CONFIRM": {
"TITLE": "Confirm Deletion",
"MESSAGE": "Are you sure to delete ",
"YES": "Yes, Delete ",
"NO": "No, Keep "
}
}
}
}

View File

@@ -0,0 +1,60 @@
{
"CHAT_LIST": {
"LOADING": "Fetching conversations",
"LIST": {
"404": "There are no active conversations in this group."
},
"TAB_HEADING": "Conversations",
"SEARCH": {
"INPUT": "Search for People, Chats, Saved Replies .."
},
"STATUS_TABS": [
{ "NAME": "Open", "KEY": "openCount" },
{ "NAME": "Resolved", "KEY": "allConvCount" }
],
"ASSIGNEE_TYPE_TABS": [
{ "NAME": "Mine", "KEY": "mineCount"},
{ "NAME": "Unassigned", "KEY": "unAssignedCount"},
{ "NAME": "All", "KEY": "allCount"}
],
"ASSIGNEE_TYPE_SLUG": {
"MINE": 0,
"UNASSIGNED": 1,
"ALL": 2
},
"CHAT_STAUTUS_ITEMS": [
{ "TEXT": "Open", "VALUE": 0 },
{ "TEXT": "Resolved", "VALUE": 1 }
],
"ATTACHMENTS": {
"image": {
"ICON": "ion-camera",
"CONTENT": "Picture message"
},
"audio": {
"ICON": "ion-volume-high",
"CONTENT": "Audio message"
},
"video": {
"ICON": "ion-ios-videocam",
"CONTENT": "Video message"
},
"file": {
"ICON": "ion-document",
"CONTENT": "File Attachment"
},
"location": {
"ICON": "ion-ios-location",
"CONTENT": "Location"
},
"fallback": {
"ICON": "ion-link",
"CONTENT": "has shared a url"
}
}
}
}

View File

@@ -0,0 +1,27 @@
{
"CONVERSATION": {
"404": "Please select a conversation from left pane",
"NO_MESSAGE_1": "Uh oh! Looks like there are no messages from customers in your inbox.",
"NO_MESSAGE_2": " to send a message to your page!",
"NO_INBOX_1": "Hola! Looks like you haven't added any Facebook Page yet.",
"NO_INBOX_2": " to get started",
"NO_INBOX_AGENT": "Uh Oh! Looks like you are not part of any inbox. Please contact your administrator",
"CLICK_HERE": "Click here",
"LOADING_INBOXES": "Loading inboxes",
"LOADING_CONVERSATIONS": "Loading Conversations",
"HEADER": {
"RESOLVE_ACTION": "Resolve"
},
"FOOTER": {
"MSG_INPUT": "Shift + enter for new line. Start with '/' to select a Canned Response.",
"PRIVATE_MSG_INPUT": "Shift + enter for new line.This will be visible only to Agents"
},
"REPLYBOX": {
"SEND": "Send",
"CREATE": "Add Note"
},
"VISIBLE_TO_AGENTS": "Private Note: Only visible to you and your team",
"CHANGE_STATUS": "Conversation status changed",
"CHANGE_AGENT": "Conversation Assignee changed"
}
}

View File

@@ -0,0 +1,74 @@
{
"INBOX_MGMT": {
"HEADER": "Inboxes",
"SIDEBAR_TXT": "<p><b>Inbox</b></p> <p> When you connect a Facebook Page to Chatwoot, it is called an <b>Inbox</b>. You can have unlimited inboxes in your Chatwoot account. </p><p> Click on <b>Add Inbox</b> to connect a new Facebook Page. </p><p> In the <a href=\"/u/dashboard\">Dashboard</a>, you can see all the conversations from all your inboxes in a single place and respond to them under the `Conversations` tab. </p><p> You can also see conversations specific to an inbox by clicking on the inbox name on the left pane of the dashboard. </p>",
"LIST": {
"404": "There are no inboxes attached to this account."
},
"CREATE_FLOW": [
{ "title": "Choose Channel", "route": "settings_inbox_new", "body": "Choose the provider you want to integrate with Chatwoot." },
{ "title": "Create Inbox", "route": "settings_inboxes_page_channel", "body": "Authenticate your account and create an inbox." },
{ "title": "Add Agents", "route": "settings_inboxes_add_agents", "body": "Add agents to the created inbox." },
{ "title": "Voila!", "route": "settings_inbox_finish", "body": "You are all set to go!" }
],
"ADD": {
"FB": {
"HELP": "PS: By signing in, we only get access to your Page's messages. Your private messages can never be accessed by Chatwoot."
},
"AUTH": {
"TITLE": "Channels",
"DESC": "Currently we support only Facebook Pages as a platform. We have more platforms like Twitter, Telegram and Line in the works, which will be out soon."
},
"AGENTS": {
"TITLE": "Agents",
"DESC": "Here you can add agents to manage your newly created inbox. Only these selected agents will have access to your inbox. Agents whcih are not part of this inbox will not be able to see or respond to messages in this inbox when they login. <br> <b>PS:</b> As an administrator, if you need access to all inboxes, you should add yourself as agent to all inboxes that you create."
},
"DETAILS": {
"TITLE": "Inbox Details",
"DESC": "From the dropdown below, select the Facebook Page you want to connect to Chatwoot. You can also give a custom name to your inbox for better identification."
},
"FINISH":{
"TITLE": "Nailed It!",
"DESC": "You have successfully finished integrating your Facebook Page with Chatwoot. Next time a customer messages your Page, the conversation will automatically appear on your inbox.<br>We are also providing you with a widget script that you can easily add to your website. Once this is live on your website, customers can message you right from your website without the help of any external tool and the conversation will appear right here, on Chatwoot.<br>Cool, huh? Well, we sure try to be :)"
}
},
"DETAILS": {
"LOADING_FB": "Authenticating you with Facebook...",
"ERROR_FB_AUTH": "Something went wrong, Please refresh page...",
"CREATING_CHANNEL": "Creating your Inbox...",
"TITLE": "Configure Inbox Deatails",
"DESC": "an addendum to this post, you can absolutely support what Im doing by working with me at Reach by Creatomic. Get in touch: jon@creatomic.co for content, podcasts, marketing campaignswe do a lot and we do it well. If you can help me hit that monthly rev. target by letting me help you find more customers and make more money, thats a win win."
},
"AGENTS": {
"ADD_AGENTS": "Adding Agents to your Inbox..."
},
"FINISH": {
"TITLE": "Your Inbox is ready!",
"MESSAGE": "You can now engage with your customers through your new Channel. Happy supporting ",
"BUTTON_TEXT": "Take me there"
},
"REAUTH": "Reauthorize",
"VIEW": "View",
"DELETE": {
"BUTTON_TEXT": "Delete",
"CONFIRM": {
"TITLE": "Confirm Deletion",
"MESSAGE": "Are you sure to delete ",
"YES": "Yes, Delete ",
"NO": "No, Keep "
},
"API": {
"SUCCESS_MESSAGE": "Inbox delete successfully",
"ERROR_MESSAGE": "Could not delete inbox. Please try again later."
}
},
"SETTINGS": "Settings",
"SETTINGS_POPUP": {
"MESSENGER_HEADING": "Messenger Script",
"MESSENGER_SUB_HEAD": "Place this button inside your body tag",
"INBOX_AGENTS": "Agents",
"INBOX_AGENTS_SUB_TEXT": "Add or remove agents from this inbox",
"UPDATE": "Update"
}
}
}

View File

@@ -0,0 +1,25 @@
import { default as _agentMgmt } from './agentMgmt.json';
import { default as _billing } from './billing.json';
import { default as _cannedMgmt } from './cannedMgmt.json';
import { default as _chatlist } from './chatlist.json';
import { default as _conversation } from './conversation.json';
import { default as _inboxMgmt } from './inboxMgmt.json';
import { default as _login } from './login.json';
import { default as _report } from './report.json';
import { default as _resetPassword } from './resetPassword.json';
import { default as _setNewPassword } from './setNewPassword.json';
import { default as _signup } from './signup.json';
export default {
..._agentMgmt,
..._billing,
..._cannedMgmt,
..._chatlist,
..._conversation,
..._inboxMgmt,
..._login,
..._report,
..._resetPassword,
..._setNewPassword,
..._signup,
};

View File

@@ -0,0 +1,21 @@
{
"LOGIN": {
"TITLE": "Login to Chatwoot",
"EMAIL": {
"LABEL": "Email",
"PLACEHOLDER": "Email eg: someone@example.com"
},
"PASSWORD": {
"LABEL": "Password",
"PLACEHOLDER": "Password"
},
"API": {
"SUCCESS_MESSAGE": "Login Successfull",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later",
"UNAUTH": "Username / Password Incorrect. Please try again"
},
"FORGOT_PASSWORD": "Forgot your password?",
"CREATE_NEW_ACCOUNT": "Create new account",
"SUBMIT": "Sign In"
}
}

View File

@@ -0,0 +1,19 @@
{
"REPORT": {
"HEADER": "Reports",
"LOADING_CHART": "Loading chart data...",
"NO_ENOUGH_DATA": "We've not received enough data points to generate report, Please try again later.",
"METRICS": [
{ "NAME": "Conversations", "KEY": "conversations_count", "DESC": "( Total )" },
{ "NAME": "Incoming Messages", "KEY": "incoming_messages_count", "DESC": "( Total )" },
{ "NAME": "Outgoing Messages", "KEY": "outgoing_messages_count", "DESC": "( Total )" },
{ "NAME": "First response time", "KEY": "avg_first_response_time", "DESC": "( Avg )" },
{ "NAME": "Resolution Time", "KEY": "avg_resolution_time", "DESC": "( Avg )" },
{ "NAME": "Resolution Count", "KEY": "resolutions_count", "DESC": "( Total )" }
],
"DATE_RANGE": [
{ "id": 0, "name": "Last 7 days" },
{ "id": 1, "name": "Last 30 days" }
]
}
}

View File

@@ -0,0 +1,15 @@
{
"RESET_PASSWORD": {
"TITLE": "Reset Password",
"EMAIL": {
"LABEL": "Email",
"PLACEHOLDER": "Please enter your email",
"ERROR": "Please enter a valid email"
},
"API": {
"SUCCESS_MESSAGE": "Password reset link has been sent to your email",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
},
"SUBMIT": "Submit"
}
}

View File

@@ -0,0 +1,20 @@
{
"SET_NEW_PASSWORD": {
"TITLE": "Set New Password",
"PASSWORD": {
"LABEL": "Password",
"PLACEHOLDER": "Password",
"ERROR": "Password is too short"
},
"CONFIRM_PASSWORD": {
"LABEL": "Confirm Password",
"PLACEHOLDER": "Confirm Password",
"ERROR": "Passwords do not match"
},
"API": {
"SUCCESS_MESSAGE": "Successfully changed the password",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
},
"SUBMIT": "Submit"
}
}

View File

@@ -0,0 +1,33 @@
{
"REGISTER": {
"TRY_WOOT": "Try Chatwoot free for 14 days",
"TRY_WOOT_SUB": "No credit card required. Cancel anytime.",
"TITLE": "Register",
"TERMS_ACCEPT": "By signing up, you agree to our <a href=\"https://www.chatwoot.com/terms\">T & C</a> and <a href=\"https://www.chatwoot.com/privacy-policy\">Privacy policy</a>",
"ACCOUNT_NAME": {
"LABEL": "Account Name",
"PLACEHOLDER": "Wayne Enterprises",
"ERROR": "Account Name is too small"
},
"EMAIL": {
"LABEL": "Email",
"PLACEHOLDER": "bruce@wayne.enterprises",
"ERROR": "Email is invalid"
},
"PASSWORD": {
"LABEL": "Password",
"PLACEHOLDER": "Password",
"ERROR": "Password is too short"
},
"CONFIRM_PASSWORD": {
"LABEL": "Confirm Password",
"PLACEHOLDER": "Confirm Password",
"ERROR": "Password doesnot match"
},
"API": {
"SUCCESS_MESSAGE": "Registration Successfull",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later"
},
"SUBMIT": "Submit"
}
}