chore: Move missing text to translation files (#1501)

This commit is contained in:
Pranav Raj S 2020-12-08 23:31:25 +05:30 committed by GitHub
parent 870a24126e
commit 70002afc60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 66 additions and 18 deletions

View file

@ -31,13 +31,13 @@
<div class="multiselect-box ion-headphone"> <div class="multiselect-box ion-headphone">
<multiselect <multiselect
v-model="currentChat.meta.assignee" v-model="currentChat.meta.assignee"
:options="agentList"
label="name"
:allow-empty="true" :allow-empty="true"
deselect-label="Remove" :deselect-label="$t('CONVERSATION.ASSIGNMENT.REMOVE')"
placeholder="Select Agent" :options="agentList"
:placeholder="$t('CONVERSATION.ASSIGNMENT.SELECT_AGENT')"
:select-label="$t('CONVERSATION.ASSIGNMENT.ASSIGN')"
label="name"
selected-label selected-label
select-label="Assign"
track-by="id" track-by="id"
@select="assignAgent" @select="assignAgent"
@remove="removeAgent" @remove="removeAgent"

View file

@ -121,7 +121,7 @@ export default {
return this.data.message_type === 1 && !this.isHovered && sender return this.data.message_type === 1 && !this.isHovered && sender
? { ? {
content: `Sent by: ${sender.name}`, content: `${this.$t('CONVERSATION.SENT_BY')} ${sender.name}`,
classes: 'top', classes: 'top',
} }
: false; : false;

View file

@ -42,7 +42,13 @@
}, },
"VISIBLE_TO_AGENTS": "Private Note: Only visible to you and your team", "VISIBLE_TO_AGENTS": "Private Note: Only visible to you and your team",
"CHANGE_STATUS": "Conversation status changed", "CHANGE_STATUS": "Conversation status changed",
"CHANGE_AGENT": "Conversation Assignee changed" "CHANGE_AGENT": "Conversation Assignee changed",
"SENT_BY": "Sent by:",
"ASSIGNMENT": {
"SELECT_AGENT": "Select Agent",
"REMOVE": "Remove",
"ASSIGN": "Assign"
}
}, },
"EMAIL_TRANSCRIPT": { "EMAIL_TRANSCRIPT": {
"TITLE": "Send conversation transcript", "TITLE": "Send conversation transcript",

View file

@ -43,5 +43,12 @@
"CUSTOM_EMAIL_DOMAIN_ENABLED": "You can receive emails in your custom domain now." "CUSTOM_EMAIL_DOMAIN_ENABLED": "You can receive emails in your custom domain now."
} }
} }
},
"FORMS": {
"MULTISELECT": {
"ENTER_TO_SELECT": "Press enter to select",
"ENTER_TO_REMOVE": "Press enter to remove",
"SELECT_ONE": "Select one"
}
} }
} }

View file

@ -165,7 +165,9 @@
}, },
"AGENTS": { "AGENTS": {
"TITLE": "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 which 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." "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. <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.",
"VALIDATION_ERROR": "Add atleast one agent to your new Inbox",
"PICK_AGENTS": "Pick agents for the inbox"
}, },
"DETAILS": { "DETAILS": {
"TITLE": "Inbox Details", "TITLE": "Inbox Details",

View file

@ -27,6 +27,13 @@
"SUCCESS_MESSAGE": "Registration Successfull", "SUCCESS_MESSAGE": "Registration Successfull",
"ERROR_MESSAGE": "Could not connect to Woot Server, Please try again later" "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"
}
} }
} }

View file

@ -13,11 +13,26 @@
<div class="row align-center"> <div class="row align-center">
<div class="medium-5 column small-12"> <div class="medium-5 column small-12">
<ul class="signup--features"> <ul class="signup--features">
<li><i class="ion-beer beer"></i>Unlimited inboxes</li> <li>
<li><i class="ion-stats-bars report"></i>Robust Reporting</li> <i class="ion-beer beer"></i>
<li><i class="ion-chatbox-working canned"></i>Canned Responses</li> <span>{{ $t('REGISTER.FEATURES.UNLIMITED_INBOXES') }}</span>
<li><i class="ion-loop uptime"></i>Auto Assignment</li> </li>
<li><i class="ion-locked secure"></i>Enterprise level security</li> <li>
<i class="ion-stats-bars report"></i>
<span>{{ $t('REGISTER.FEATURES.ROBUST_REPORTING') }}</span>
</li>
<li>
<i class="ion-chatbox-working canned"></i>
<span>{{ $t('REGISTER.FEATURES.CANNED_RESPONSES') }}</span>
</li>
<li>
<i class="ion-loop uptime"></i>
<span>{{ $t('REGISTER.FEATURES.AUTO_ASSIGNMENT') }}</span>
</li>
<li>
<i class="ion-locked secure"></i>
<span>{{ $t('REGISTER.FEATURES.SECURITY') }}</span>
</li>
</ul> </ul>
</div> </div>
<div class="medium-5 column small-12"> <div class="medium-5 column small-12">

View file

@ -10,7 +10,7 @@
<div class="medium-7 columns"> <div class="medium-7 columns">
<div class="medium-12 columns"> <div class="medium-12 columns">
<label :class="{ error: $v.selectedAgents.$error }"> <label :class="{ error: $v.selectedAgents.$error }">
Agents {{ $t('INBOX_MGMT.ADD.AGENTS.TITLE') }}
<multiselect <multiselect
v-model="selectedAgents" v-model="selectedAgents"
:options="agentList" :options="agentList"
@ -20,12 +20,15 @@
:close-on-select="false" :close-on-select="false"
:clear-on-select="false" :clear-on-select="false"
:hide-selected="true" :hide-selected="true"
placeholder="Pick some" selected-label
:select-label="$t('FORMS.MULTISELECT.ENTER_TO_SELECT')"
:deselect-label="$t('FORMS.MULTISELECT.ENTER_TO_REMOVE')"
:placeholder="$t('INBOX_MGMT.ADD.AGENTS.PICK_AGENTS ')"
@select="$v.selectedAgents.$touch" @select="$v.selectedAgents.$touch"
> >
</multiselect> </multiselect>
<span v-if="$v.selectedAgents.$error" class="message"> <span v-if="$v.selectedAgents.$error" class="message">
Add atleast one agent to your new Inbox {{ $t('INBOX_MGMT.ADD.AGENTS.VALIDATION_ERROR') }}
</span> </span>
</label> </label>
</div> </div>

View file

@ -211,6 +211,9 @@
:clear-on-select="false" :clear-on-select="false"
:hide-selected="true" :hide-selected="true"
placeholder="Pick some" 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" @select="$v.selectedAgents.$touch"
/> />

View file

@ -41,6 +41,8 @@
:options="getSelectablePages" :options="getSelectablePages"
track-by="id" track-by="id"
label="name" 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')" :placeholder="$t('INBOX_MGMT.ADD.FB.PICK_A_VALUE')"
selected-label selected-label
@select="setPageName" @select="setPageName"

View file

@ -5,7 +5,10 @@
v-model="currentDateRangeSelection" v-model="currentDateRangeSelection"
track-by="name" track-by="name"
label="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" :options="dateRange"
:searchable="false" :searchable="false"
:allow-empty="true" :allow-empty="true"