From 70002afc60abb92f68e50667d71845e6b9ba557a Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Tue, 8 Dec 2020 23:31:25 +0530 Subject: [PATCH] chore: Move missing text to translation files (#1501) --- .../conversation/ConversationHeader.vue | 10 ++++---- .../widgets/conversation/Message.vue | 2 +- .../i18n/locale/en/conversation.json | 8 +++++- .../i18n/locale/en/generalSettings.json | 7 ++++++ .../dashboard/i18n/locale/en/inboxMgmt.json | 4 ++- .../dashboard/i18n/locale/en/signup.json | 9 ++++++- .../dashboard/routes/auth/Signup.vue | 25 +++++++++++++++---- .../dashboard/settings/inbox/AddAgents.vue | 9 ++++--- .../dashboard/settings/inbox/Settings.vue | 3 +++ .../settings/inbox/channels/Facebook.vue | 2 ++ .../dashboard/settings/reports/Index.vue | 5 +++- 11 files changed, 66 insertions(+), 18 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue index 29bbc77bc..ca6f7d5a3 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue @@ -31,13 +31,13 @@
PS: As an administrator, if you need access to all inboxes, you should add yourself as agent to all inboxes that you create." + "DESC": "Here you can add agents to manage your newly created inbox. Only these selected agents will have access to your inbox. Agents which are not part of this inbox will not be able to see or respond to messages in this inbox when they login.
PS: As an administrator, if you need access to all inboxes, you should add yourself as agent to all inboxes that you create.", + "VALIDATION_ERROR": "Add atleast one agent to your new Inbox", + "PICK_AGENTS": "Pick agents for the inbox" }, "DETAILS": { "TITLE": "Inbox Details", diff --git a/app/javascript/dashboard/i18n/locale/en/signup.json b/app/javascript/dashboard/i18n/locale/en/signup.json index e52705224..08366a1e3 100644 --- a/app/javascript/dashboard/i18n/locale/en/signup.json +++ b/app/javascript/dashboard/i18n/locale/en/signup.json @@ -27,6 +27,13 @@ "SUCCESS_MESSAGE": "Registration Successfull", "ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later" }, - "SUBMIT": "Submit" + "SUBMIT": "Submit", + "FEATURES": { + "UNLIMITED_INBOXES": "Unlimited inboxes", + "ROBUST_REPORTING": "Robust Reporting", + "CANNED_RESPONSES": "Canned Responses", + "AUTO_ASSIGNMENT": "Auto Assignment", + "SECURITY": "Enterprise level security" + } } } diff --git a/app/javascript/dashboard/routes/auth/Signup.vue b/app/javascript/dashboard/routes/auth/Signup.vue index 2cb309bb2..1c3835596 100644 --- a/app/javascript/dashboard/routes/auth/Signup.vue +++ b/app/javascript/dashboard/routes/auth/Signup.vue @@ -13,11 +13,26 @@
diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/AddAgents.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/AddAgents.vue index 1d0395bef..18888d008 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/AddAgents.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/AddAgents.vue @@ -10,7 +10,7 @@
diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue index 0bdd3d151..ff16700bf 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/Settings.vue @@ -211,6 +211,9 @@ :clear-on-select="false" :hide-selected="true" placeholder="Pick some" + selected-label + :select-label="$t('FORMS.MULTISELECT.ENTER_TO_SELECT')" + :deselect-label="$t('FORMS.MULTISELECT.ENTER_TO_REMOVE')" @select="$v.selectedAgents.$touch" /> diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue index bcd9cda9d..96cb95c1c 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/channels/Facebook.vue @@ -41,6 +41,8 @@ :options="getSelectablePages" track-by="id" label="name" + :select-label="$t('FORMS.MULTISELECT.ENTER_TO_SELECT')" + :deselect-label="$t('FORMS.MULTISELECT.ENTER_TO_REMOVE')" :placeholder="$t('INBOX_MGMT.ADD.FB.PICK_A_VALUE')" selected-label @select="setPageName" diff --git a/app/javascript/dashboard/routes/dashboard/settings/reports/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/reports/Index.vue index f9559ca28..58e861392 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/reports/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/reports/Index.vue @@ -5,7 +5,10 @@ v-model="currentDateRangeSelection" track-by="name" label="name" - placeholder="Select one" + :placeholder="$t('FORMS.MULTISELECT.SELECT_ONE')" + selected-label + :select-label="$t('FORMS.MULTISELECT.ENTER_TO_SELECT')" + :deselect-label="$t('FORMS.MULTISELECT.ENTER_TO_REMOVE')" :options="dateRange" :searchable="false" :allow-empty="true"