-
+
@@ -184,11 +184,11 @@
mode: 'whitelist',
modes: [
{
- label: 'Whitelist',
+ label: this.$t('pages.callForward.whitelist'),
value: 'whitelist'
},
{
- label: 'Blacklist',
+ label: this.$t('pages.callForward.blacklist'),
value: 'blacklist'
}
],
diff --git a/src/components/pages/Home.vue b/src/components/pages/Home.vue
index e95f8c26..4248ee2d 100644
--- a/src/components/pages/Home.vue
+++ b/src/components/pages/Home.vue
@@ -147,14 +147,14 @@
let self = this;
return [
{
- label: 'Install',
+ label: this.$t('buttons.install'),
handler () {
self.$store.commit('call/desktopSharingInstallReset');
window.open(getChromeExtensionUrl());
}
},
{
- label: 'Cancel',
+ label: this.$t('buttons.cancel'),
handler () {
self.$store.commit('call/desktopSharingInstallReset');
}
diff --git a/src/components/pages/PbxConfiguration/CscPbxCallQueue.vue b/src/components/pages/PbxConfiguration/CscPbxCallQueue.vue
index 09d4c1a5..6aa21a60 100644
--- a/src/components/pages/PbxConfiguration/CscPbxCallQueue.vue
+++ b/src/components/pages/PbxConfiguration/CscPbxCallQueue.vue
@@ -67,7 +67,7 @@
>
@@ -39,7 +39,7 @@
v-model="data.queue_wrap_up_time"
:float-label="$t('pbxConfig.wrapUpTime')"
clearable
- suffix="seconds"
+ :suffix="$t('pbxConfig.seconds')"
/>
diff --git a/src/components/pages/PbxConfiguration/CscPbxGroup.vue b/src/components/pages/PbxConfiguration/CscPbxGroup.vue
index fa1a448f..15b1cc9a 100644
--- a/src/components/pages/PbxConfiguration/CscPbxGroup.vue
+++ b/src/components/pages/PbxConfiguration/CscPbxGroup.vue
@@ -89,7 +89,7 @@
dark
v-model="changes.huntTimeout"
type="number"
- suffix="seconds"
+ :suffix="$t('pbxConfig.seconds')"
:after="huntTimeoutButtons"
:min="0"
@keyup.enter="saveHuntTimeout"
diff --git a/src/components/pages/PbxConfiguration/CscPbxGroupAddForm.vue b/src/components/pages/PbxConfiguration/CscPbxGroupAddForm.vue
index f46b055c..0a244bc6 100644
--- a/src/components/pages/PbxConfiguration/CscPbxGroupAddForm.vue
+++ b/src/components/pages/PbxConfiguration/CscPbxGroupAddForm.vue
@@ -48,7 +48,7 @@
v-model="data.huntTimeout"
clearable
:float-label="$t('pbxConfig.huntTimeout')"
- suffix="seconds"
+ :suffix="$t('pbxConfig.seconds')"
:min="1"
:max="3600"
/>
diff --git a/src/components/pages/Voicebox/Voicebox.vue b/src/components/pages/Voicebox/Voicebox.vue
index 08852059..51836209 100644
--- a/src/components/pages/Voicebox/Voicebox.vue
+++ b/src/components/pages/Voicebox/Voicebox.vue
@@ -165,7 +165,7 @@
Dialog.create({
title: self.$t('voicebox.deleteCustomDialogTitle'),
message: self.$t('voicebox.deleteCustomDialogText', {
- type: 'busy'
+ type: self.$t('voicebox.busy')
}),
buttons: [
{
@@ -191,7 +191,7 @@
Dialog.create({
title: self.$t('voicebox.deleteCustomDialogTitle'),
message: self.$t('voicebox.deleteCustomDialogText', {
- type: 'unavailable'
+ type: self.$t('voicebox.unavailable')
}),
buttons: [
{
diff --git a/src/locales/en.json b/src/locales/en.json
index b2f18f36..1049d388 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -8,6 +8,7 @@
"sendSms": "Send SMS",
"sendFax": "Send Fax",
"loggedInAs": "Logged in as",
+ "notFound" : "404 Not Found",
"buttons": {
"cancel": "Cancel",
"save": "Save",
@@ -22,7 +23,9 @@
"upload": "Upload",
"abort": "Abort",
"selectNew": "Select new",
- "resetDefaults": "Reset to defaults"
+ "resetDefaults": "Reset to defaults",
+ "install": "Install",
+ "addNew": "Add new"
},
"form": {
"destinationLabel": "Destination"
@@ -213,6 +216,13 @@
"updateOwnPhoneTimeoutSuccessMessage": "Own phone timeout set to {timeout}",
"updateOwnPhoneTimeoutErrorMessage": "An error occured while trying to update own phone timeout. Please try again",
"ownPhone": "own phone",
+ "disable": "Disable",
+ "enable": "Enable",
+ "whitelist": "Whitelist",
+ "blacklist": "Blacklist",
+ "enabled": "enabled",
+ "disabled": "disabled",
+ "seconds": "seconds",
"times": {
"removeDialogTitle": "Remove call forward time",
"removeDialogText": "You are about to remove the time entry for {day}",
@@ -398,7 +408,9 @@
"callQueue": "Call Queue",
"createConfig": "Create Call Queue",
"removeConfigTitle": "Remove call queue",
- "removeConfigText": "You are about to remove call queue for {subscriber}"
+ "removeConfigText": "You are about to remove call queue for {subscriber}",
+ "seconds": "seconds",
+ "callers": "callers"
},
"callBlocking": {
"privacyEnabledToast": "Your number is hidden to the callee",
@@ -473,6 +485,7 @@
"deleteGreetingSuccessMessage": "Deleted greeting sound successfully",
"deleteGreetingErrorMessage": "An error occured while trying to delete the greeting sound. Please try again",
"deleteCustomDialogTitle": "Reset busy greeting sound",
- "deleteCustomDialogText": "You are about to reset the custom {type} greeting sound to defaults"
+ "deleteCustomDialogText": "You are about to reset the custom {type} greeting sound to defaults",
+ "unavailable": "unavailable"
}
}
diff --git a/src/store/call-forward.js b/src/store/call-forward.js
index 127ac1e5..4e1eb3d5 100644
--- a/src/store/call-forward.js
+++ b/src/store/call-forward.js
@@ -480,7 +480,9 @@ export default {
state.updateOwnPhoneToggleError = null
},
updateOwnPhoneSucceeded(state, type) {
- let toggle = type === 'cft' ? 'enabled' : 'disabled';
+ let toggle = type === 'cft'
+ ? i18n.t('pages.callForward.enabled')
+ : i18n.t('pages.callForward.disabled');
state.lastOwnPhoneToggle = toggle;
state.updateOwnPhoneToggleState = RequestState.succeeded;
state.updateOwnPhoneToggleError = null