From 93bd12d00f06ca2593eb0cc35734d49022bfa625 Mon Sep 17 00:00:00 2001 From: Giancarlo Errigo Mattos Date: Wed, 5 Nov 2025 09:20:12 +0100 Subject: [PATCH] MT#63511 Fix Faxes tab visibility * Adds new messages for CE users to replace the "No Calls, Voicemails or Faxes found" greeting and "Calls, Faxes, VoiceMails" submenu item with "No Calls or Voicemails found" and "Calls, VoiceMails" respectively * Adds translations for both the "No Calls or Voicemails found" and "Calls, VoiceMails" messages * Fixes typo in the word occurred on en.json * Fixes some French and Spanish translation errors * Fixes the call Cost formatting under CscCallItem.vue Change-Id: I0da1dbf78ea1a609a0e1861fa1c14ee41a41d563 (cherry picked from commit 4d92ef013e0fe718db5b29beeb99610eec274c21) --- src/components/CscMainMenuTop.vue | 2 +- src/components/pages/Conversations/CscCallItem.vue | 2 +- src/i18n/de.json | 4 +++- src/i18n/en.json | 12 +++++++----- src/i18n/es.json | 8 +++++--- src/i18n/fr.json | 6 ++++-- src/i18n/it.json | 4 +++- src/pages/CscPageConversations.vue | 3 +++ 8 files changed, 27 insertions(+), 14 deletions(-) diff --git a/src/components/CscMainMenuTop.vue b/src/components/CscMainMenuTop.vue index fd956261..5ef92864 100644 --- a/src/components/CscMainMenuTop.vue +++ b/src/components/CscMainMenuTop.vue @@ -94,7 +94,7 @@ export default { to: '/user/conversations', icon: 'question_answer', label: this.$t('Conversations'), - sublabel: this.$t('Calls, Faxes, VoiceMails'), + sublabel: this.isFaxFeatureEnabled ? this.$t('Calls, Faxes, VoiceMails') : this.$t('Calls, VoiceMails'), visible: this.hasSubscriberProfileAttribute(PROFILE_ATTRIBUTE_MAP.conversations) }, { diff --git a/src/components/pages/Conversations/CscCallItem.vue b/src/components/pages/Conversations/CscCallItem.vue index eda56f6a..b44335df 100644 --- a/src/components/pages/Conversations/CscCallItem.vue +++ b/src/components/pages/Conversations/CscCallItem.vue @@ -34,7 +34,7 @@ caption > - {{ $t('Cost') }} + {{ $t('Cost') + ": " }} {{ $filters.wholeCurrency(totalCustomerCostRounded) }} diff --git a/src/i18n/de.json b/src/i18n/de.json index bc49d5a4..cd365dc1 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -92,6 +92,7 @@ "Calling {number}...": "{number} wird angerufen …", "Calls": "Anrufe", "Calls, Faxes, VoiceMails": "Anrufe, Faxe, Sprachnachrichten", + "Calls, VoiceMails": "Anrufe, Sprachnachrichten", "Cancel": "Abbrechen", "Cancel Mode": "Abbrechen Modus", "Cdr": "Cdr", @@ -320,7 +321,8 @@ "New password": "Neues Passwort", "New password retyped": "Neues Passwort wiederholen", "No Calls found": "Keine Anrufe gefunden", - "No Calls, Voicemails or Faxes found": "Keine Anrufe, Sprachnachrichten oder Faxe gefunden", + "No Calls or Voicemails found": "Keine Anrufe oder Voicemails gefunden", + "No Calls, Voicemails or Faxes found": "Keine Anrufe, Voicemails oder Faxe gefunden", "No Faxes found": "Keine Faxe gefunden", "No Voicemails found": "Keine Voicemails gefunden", "No call queues created yet": "Es wurden noch keine Anrufwarteschlangen erstellt", diff --git a/src/i18n/en.json b/src/i18n/en.json index 4bda01ed..d423faf4 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -43,10 +43,10 @@ "Allow mail2fax emails only to this IP (the IP or hostname is present in the \\\"Received\\\" header).": "Allow mail2fax emails only to this IP (the IP or hostname is present in the \\\"Received\\\" header).", "Allowed extensions are between {min} and {max}": "Allowed extensions are between {min} and {max}", "Always": "Always", - "An error occured while trying to assign the speed dial slot. Please try again": "An error occured while trying to assign the speed dial slot. Please try again", - "An error occured while trying to load the speed dials. Please try again": "An error occured while trying to load the speed dials. Please try again", - "An error occured while trying to send the fax. Please try again": "An error occured while trying to send the fax. Please try again", - "An error occured while trying to unassign the speed dial slot. Please try again": "An error occured while trying to unassign the speed dial slot. Please try again", + "An error occurred while trying to assign the speed dial slot. Please try again": "An error occurred while trying to assign the speed dial slot. Please try again", + "An error occurred while trying to load the speed dials. Please try again": "An error occurred while trying to load the speed dials. Please try again", + "An error occurred while trying to send the fax. Please try again": "An error occurred while trying to send the fax. Please try again", + "An error occurred while trying to unassign the speed dial slot. Please try again": "An error occurred while trying to unassign the speed dial slot. Please try again", "An error occurred:": "An error occurred:", "Apps": "Apps", "April": "April", @@ -91,6 +91,7 @@ "Calling {number}...": "Calling {number}...", "Calls": "Calls", "Calls, Faxes, VoiceMails": "Calls, Faxes, VoiceMails", + "Calls, VoiceMails": "Calls, VoiceMails", "Cancel": "Cancel", "Cancel Mode": "Cancel Mode", "Cdr": "Cdr", @@ -309,6 +310,7 @@ "New password retyped": "New password retyped", "No": "No", "No Calls found": "No Calls found", + "No Calls or Voicemails found": "No Calls or Voicemails found", "No Calls, Voicemails or Faxes found": "No Calls, Voicemails or Faxes found", "No Faxes found": "No Faxes found", "No Voicemails found": "No Voicemails found", @@ -652,4 +654,4 @@ "{field} must consist of numeric characters only": "{field} must consist of numeric characters only", "{field} must consist only of numeric characters or the symbols +, * or #.": "{field} must consist only of numeric characters or the symbols +, * or #.", "{field} must have at most {maxLength} letters": "{field} must have at most {maxLength} letters" -} \ No newline at end of file +} diff --git a/src/i18n/es.json b/src/i18n/es.json index 33864826..02e1e128 100644 --- a/src/i18n/es.json +++ b/src/i18n/es.json @@ -91,7 +91,8 @@ "Calling Card": "Tarjeta de llamada", "Calling {number}...": "Iniciando ...", "Calls": "Llamadas", - "Calls, Faxes, VoiceMails": "Llamadas, faxes, correos de voz", + "Calls, Faxes, VoiceMails": "Llamadas, faxes, mensajes de voz", + "Calls, VoiceMails": "Llamadas, mensajes de voz", "Cancel": "Cancelar", "Cancel Mode": "Modo de cancelación", "Cdr": "Cdr", @@ -323,7 +324,8 @@ "New password retyped": "Nueva contraseña reescrita", "No": "No", "No Calls found": "No se encontraron llamadas", - "No Calls, Voicemails or Faxes found": "No se encontraron llamadas, correos de voz o faxes", + "No Calls or Voicemails found": "No se encontraron llamadas o mensajes de voz", + "No Calls, Voicemails or Faxes found": "No se encontraron llamadas, mensajes de voz o faxes", "No Faxes found": "No se encontraron faxes", "No Voicemails found": "No se encontraron mensajes de voz", "No call queues created yet": "Aún no se han creado colas de llamadas", @@ -686,4 +688,4 @@ "{field} must consist of numeric characters only": "El campo {field} debe constar sólo de caracteres numéricos", "{field} must consist only of numeric characters or the symbols +, * or #.": "El campo {field} debe consistir únicamente en caracteres numéricos o los símbolos +, * o #.", "{field} must have at most {maxLength} letters": "El campo {field} debe tener como máximo {maxLength} letras" -} \ No newline at end of file +} diff --git a/src/i18n/fr.json b/src/i18n/fr.json index f1bd4f82..34821623 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -92,6 +92,7 @@ "Calling {number}...": "Appel en cours de {number}...", "Calls": "Appels", "Calls, Faxes, VoiceMails": "Appels, télécopies, messages vocaux", + "Calls, VoiceMails": "Appels, messages vocaux", "Cancel": "Annuler", "Cancel Mode": "Mode annuler", "Cdr": "Cdr", @@ -321,7 +322,8 @@ "New password retyped": "Nouveau mot de passe saisi à nouveau", "No": "Non", "No Calls found": "Aucun appel trouvé", - "No Calls, Voicemails or Faxes found": "Pas d'appels, de messages vocaux ou de fax trouvés", + "No Calls or Voicemails found": "Aucun appel ni message vocal", + "No Calls, Voicemails or Faxes found": "Aucun appel, message vocal ni fax trouvé", "No Faxes found": "Aucun fax trouvé", "No Voicemails found": "Aucun message vocal trouvé", "No call queues created yet": "Aucune file d'attente n'a encore été créée", @@ -678,4 +680,4 @@ "{field} must consist of numeric characters only": "{field} ne peut contenir que des caractères numériques", "{field} must consist only of numeric characters or the symbols +, * or #.": "Le champ {field} doit contenir uniquement des caractères numériques ou les symboles +, * ou #.", "{field} must have at most {maxLength} letters": "{field} doit avoir au maximum {maxLength} caractères" -} \ No newline at end of file +} diff --git a/src/i18n/it.json b/src/i18n/it.json index de4fd73e..9921a354 100644 --- a/src/i18n/it.json +++ b/src/i18n/it.json @@ -90,6 +90,7 @@ "Calling {number}...": "Chiamata in corso a {number}...", "Calls": "Chiamate", "Calls, Faxes, VoiceMails": "Chiamate, Fax, Messaggi Vocali", + "Calls, VoiceMails": "Chiamate, Messaggi Vocali", "Cancel": "Annulla", "Cancel Mode": "Cancel Mode", "Cdr": "Cdr", @@ -314,6 +315,7 @@ "New password retyped": "Ripeti la nuova password", "No": "No", "No Calls found": "Non è stata trovata alcuna chiamata", + "No Calls or Voicemails found": "Non sono stati trovati chiamate né messaggi vocali", "No Calls, Voicemails or Faxes found": "Non sono stati trovati chiamate, messaggi vocali né fax", "No Faxes found": "Non è stato trovato alcun fax", "No Voicemails found": "Non è stato trovato alcun messaggio vocale", @@ -670,4 +672,4 @@ "{field} must consist of numeric characters only": "Il campo {field} deve contenere solo caratteri numerici", "{field} must consist only of numeric characters or the symbols +, * or #.": "{field} deve contenere solo caratteri numerici o i simboli +, * o #.", "{field} must have at most {maxLength} letters": "Il campo {field} può contenere al massimo {maxLength} lettere" -} \ No newline at end of file +} diff --git a/src/pages/CscPageConversations.vue b/src/pages/CscPageConversations.vue index 030b726c..5c2e3298 100644 --- a/src/pages/CscPageConversations.vue +++ b/src/pages/CscPageConversations.vue @@ -203,6 +203,9 @@ export default { }, noResultsMessage () { if (this.selectedTab === 'call-fax-voicemail') { + if (!this.isFaxFeatureEnabled) { + return this.$t('No Calls or Voicemails found') + } return this.$t('No Calls, Voicemails or Faxes found') } else if (this.selectedTab === 'call') { return this.$t('No Calls found')