diff --git a/src/i18n/en.json b/src/i18n/en.json index ba10b994..07d34878 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -194,6 +194,7 @@ "Group/Seat/Pilot": "Group/Seat/Pilot", "Groups": "Groups", "Hide number within own PBX": "Hide number within own PBX", + "Hide your number to the callee": "Hide your number to the callee", "Hunt Policy": "Hunt Policy", "Hunt Timeout": "Hunt Timeout", "Hunt timeout": "Hunt timeout", diff --git a/src/pages/CscPageCallBlockingPrivacy.vue b/src/pages/CscPageCallBlockingPrivacy.vue index 5ea452d1..22f1fa42 100644 --- a/src/pages/CscPageCallBlockingPrivacy.vue +++ b/src/pages/CscPageCallBlockingPrivacy.vue @@ -11,7 +11,7 @@ > <q-item-section> <q-toggle - :label="privacyLabel" + :label="$t('Hide your number to the callee')" :value="privacy" :disable="privacyLoading" checked-icon="visibility_off" @@ -53,13 +53,6 @@ export default { return {} }, computed: { - privacyLabel () { - if (this.privacy) { - return this.$t('Your number is hidden to the callee') - } else { - return this.$t('Your number is visible to the callee') - } - }, fieldIcon () { if (!this.privacy) { return 'visibility'