Skip to content

Commit

Permalink
chore: renamed omnichannel voip settings group
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandernsilva committed Oct 13, 2024
1 parent 8dec359 commit cd20346
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const SettingsGroupSelector = ({ groupId, onClickBack }: SettingsGroupSelectorPr
return <LDAPGroupPage {...group} onClickBack={onClickBack} />;
}

if (groupId === 'Call_Center') {
if (groupId === 'VoIP_Omnichannel') {
return <VoipGroupPage {...group} onClickBack={onClickBack} />;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function VoipGroupPage({ _id, onClickBack, ...group }: VoipGroupPageProps) {

const [tab, setTab] = useState(tabs[0]);
const handleTabClick = useMemo(() => (tab: string) => (): void => setTab(tab), [setTab]);
const sections = useEditableSettingsGroupSections('Call_Center', tab);
const sections = useEditableSettingsGroupSections('VoIP_Omnichannel', tab);

if (!tab && tabs[0]) {
setTab(tabs[0]);
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/server/settings/call-center.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { settingsRegistry } from '../../app/settings/server';

export const createCallCenterSettings = () =>
settingsRegistry.addGroup('Call_Center', async function () {
settingsRegistry.addGroup('VoIP_Omnichannel', async function () {
// TODO: Check with the backend team if an i18nPlaceholder is possible
await this.with({ tab: 'Settings' }, async function () {
await this.section('General_Settings', async function () {
Expand Down
1 change: 1 addition & 0 deletions apps/meteor/server/startup/migrations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ import './v300';
import './v301';
import './v303';
import './v304';
import './v305';

export * from './xrun';
10 changes: 10 additions & 0 deletions apps/meteor/server/startup/migrations/v305.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Settings } from '@rocket.chat/models';

import { addMigration } from '../../lib/migrations';

addMigration({
version: 305,
async up() {
await Settings.deleteOne({ _id: 'Call_Center', type: 'group' });
},
});
2 changes: 1 addition & 1 deletion packages/i18n/src/locales/de.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,6 @@
"Call": "Anruf",
"Call_back": "Rückruf",
"Calling": "Anruf wird ausgeführt",
"Call_Center_Description": "Konfigurieren Sie das Rocket.Chat Call Center.",
"Call_ended": "Anruf beendet",
"Calls": "Anrufe",
"Calls_in_queue_zero": "Warteschlange ist leer",
Expand Down Expand Up @@ -5207,6 +5206,7 @@
"VoIP_Enabled": "VoIP aktiviert",
"VoIP_Enabled_Description": "Verbindung zwischen Agenten und Kunden durch ausgehende und eingehende Anrufe",
"VoIP_Extension": "VoIP-Erweiterung",
"VoIP_Omnichannel_Description": "Konfigurieren Sie das Rocket.Chat Call Center.",
"Voip_Server_Configuration": "Serverkonfiguration",
"VoIP_Server_Websocket_Port": "Websocket-Port",
"VoIP_Server_Name": "Servername",
Expand Down
4 changes: 2 additions & 2 deletions packages/i18n/src/locales/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -886,8 +886,6 @@
"Call_not_found": "Call not found",
"Call_not_found_error": "This could happen when the call URL is not valid, or you're having connection issues. Please check with the source of the call URL and try again, or talk to your workspace administrator if the problem persists",
"Calling": "Calling",
"Call_Center": "Omnichannel voice channel (VoIP)",
"Call_Center_Description": "Configure Rocket.Chat's voice channels",
"Call_ended": "Call ended",
"Calls": "Calls",
"Calls_in_queue_zero": "Queue is empty",
Expand Down Expand Up @@ -5979,6 +5977,8 @@
"VoIP_Enabled": "Enable voice channel",
"VoIP_Enabled_Description": "Connect agents to customers through outbound and incoming calls",
"VoIP_Extension": "VoIP Extension",
"VoIP_Omnichannel": "Omnichannel voice channel (VoIP)",
"VoIP_Omnichannel_Description": "Configure Rocket.Chat's voice channels",
"Voip_Server_Configuration": "Asterisk WebSocket Server",
"VoIP_Server_Websocket_Port": "Websocket Port",
"VoIP_Server_Name": "Server Name",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/src/locales/fi.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,6 @@
"Call_not_found": "Kutsua ei löydy",
"Call_not_found_error": "Näin voi käydä, kun kutsun URL-osoite ei ole kelvollinen tai yhteysongelmien yhteydessä. Tarkista kutsun URL-osoitteen lähde ja yritä uudelleen tai ota yhteyttä työtilan järjestelmänvalvojaan, jos ongelma jatkuu",
"Calling": "Soitetaan",
"Call_Center_Description": "Määritä Rocket.Chatin äänikanavat",
"Call_ended": "Puhelu päättyi",
"Calls": "Puhelut",
"Calls_in_queue_zero": "Jono on tyhjä",
Expand Down Expand Up @@ -5326,6 +5325,7 @@
"VoIP_Enabled": "Ota äänikanava käyttöön",
"VoIP_Enabled_Description": "Yhdistä agentit asiakkaisiin lähtevien ja saapuvien puhelujen avulla",
"VoIP_Extension": "VoIP-laajennus",
"VoIP_Omnichannel_Description": "Määritä Rocket.Chatin äänikanavat",
"Voip_Server_Configuration": "Asterisk WebSocket-palvelin",
"VoIP_Server_Websocket_Port": "Websocket-portti",
"VoIP_Server_Name": "Palvelimen nimi",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/src/locales/hi-IN.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,6 @@
"Call_not_found": "कॉल नहीं मिली",
"Call_not_found_error": "ऐसा तब हो सकता है जब कॉल यूआरएल मान्य नहीं है, या आपको कनेक्शन संबंधी समस्याएं आ रही हैं। कृपया कॉल यूआरएल के स्रोत की जांच करें और पुनः प्रयास करें, या यदि समस्या बनी रहती है तो अपने कार्यक्षेत्र व्यवस्थापक से बात करें",
"Calling": "कॉलिंग",
"Call_Center_Description": "रॉकेट.चैट के वॉयस चैनल कॉन्फ़िगर करें",
"Call_ended": "कॉल समाप्त",
"Calls": "कॉल",
"Calls_in_queue": "{{calls}} कतार में कॉल करें",
Expand Down Expand Up @@ -5608,6 +5607,7 @@
"VoIP_Enabled": "ध्वनि चैनल सक्षम करें",
"VoIP_Enabled_Description": "आउटबाउंड और इनकमिंग कॉल के माध्यम से एजेंटों को ग्राहकों से जोड़ें",
"VoIP_Extension": "वीओआइपी एक्सटेंशन",
"VoIP_Omnichannel_Description": "रॉकेट.चैट के वॉयस चैनल कॉन्फ़िगर करें",
"Voip_Server_Configuration": "तारांकन वेबसॉकेट सर्वर",
"VoIP_Server_Websocket_Port": "वेबसॉकेट पोर्ट",
"VoIP_Server_Name": "सर्वर का नाम",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/src/locales/hu.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,6 @@
"Call": "Hívás",
"Call_back": "Visszahívás",
"Calling": "Hívás",
"Call_Center_Description": "A Rocket.Chat hangcsatornáinak beállítása",
"Call_ended": "Hívás befejezve",
"Calls": "Hívások",
"Calls_in_queue_zero": "A várólista üres",
Expand Down Expand Up @@ -5123,6 +5122,7 @@
"VoIP_Enabled": "Hangcsatorna engedélyezése",
"VoIP_Enabled_Description": "Ügyintézők kapcsolása az ügyfelekhez kimenő és bejövő hívásokon keresztül",
"VoIP_Extension": "VoIP-kiterjesztés",
"VoIP_Omnichannel_Description": "A Rocket.Chat hangcsatornáinak beállítása",
"Voip_Server_Configuration": "Asterisk WebSocket-kiszolgáló",
"VoIP_Server_Websocket_Port": "WebSocket portja",
"VoIP_Server_Name": "Kiszolgáló neve",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/src/locales/pl.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,6 @@
"cache_cleared": "Pamięć podręczna wyczyszczona",
"Call": "Zadzwoń",
"Calling": "Dzwoni",
"Call_Center_Description": "Konfiguracja Rocket.Chat call center.",
"Call_ended": "Połączenie zakończone",
"Calls": "Połączenia",
"Calls_in_queue_zero": "Kolejka jest pusta",
Expand Down Expand Up @@ -5116,6 +5115,7 @@
"VoIP_Enable_Keep_Alive_For_Unstable_Networks_Description": "Włącza lub wyłącza utrzymywanie aktywności za pomocą SIP-OPTIONS w oparciu o jakość sieci",
"VoIP_Enabled": "Protokół VoIP włączony",
"VoIP_Extension": "Rozszerzenie VoIP",
"VoIP_Omnichannel_Description": "Konfiguracja Rocket.Chat call center.",
"Voip_Server_Configuration": "Konfiguracja serwera",
"VoIP_Server_Websocket_Port": "Port WebSocket",
"VoIP_Server_Name": "Nazwa serwera",
Expand Down
4 changes: 2 additions & 2 deletions packages/i18n/src/locales/pt-BR.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,6 @@
"cache_cleared": "Cache limpo",
"Call": "Ligação",
"Calling": "Chamando",
"Call_Center": "Omnichannel canal de voz (VoIP)",
"Call_Center_Description": "Configure o canal de voz no Rocket.Chat",
"Calls_in_queue_zero": "A fila está Vazia",
"Calls_in_queue_one": "{{count}} chamadas na fila",
"Calls_in_queue_other": "{{count}} chamadas na fila",
Expand Down Expand Up @@ -4776,6 +4774,8 @@
"VoIP_Enabled": "Canal de voz habilitado",
"VoIP_Enabled_Description": "Conecte agentes e clientes através de chamadas de voz",
"VoIP_Extension": "Extensão de VoIP",
"VoIP_Omnichannel": "Omnichannel canal de voz (VoIP)",
"VoIP_Omnichannel_Description": "Configure o canal de voz no Rocket.Chat",
"Voip_Server_Configuration": "Servidor Websocket Asterisk",
"VoIP_Server_Websocket_Port": "Porta do webSocket",
"VoIP_Server_Name": "Nome do servidor",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/src/locales/ru.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,6 @@
"Call": "Звонок",
"Call_back": "Обратный звонок",
"Calling": "Идет вызов",
"Call_Center_Description": "Настройка кол-центра Rocket.Chat",
"Call_ended": "Звонок завершен",
"Calls": "Звонки",
"Calls_in_queue_zero": "Очередь пуста",
Expand Down Expand Up @@ -4816,6 +4815,7 @@
"VoIP_Enabled": "Технология VoIP включена",
"VoIP_Enabled_Description": "Соединять агентов с клиентами посредством исходящих и входящих звонков",
"VoIP_Extension": "Расширение VoIP",
"VoIP_Omnichannel_Description": "Настройка кол-центра Rocket.Chat",
"Voip_Server_Configuration": "Конфигурация сервера",
"VoIP_Server_Websocket_Port": "Порт WebSocket",
"VoIP_Server_Name": "Имя сервера",
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/src/locales/sv.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,6 @@
"Call_not_found": "Samtal inte hittat",
"Call_not_found_error": "Detta kan hända när URL:en för samtalet inte är giltig eller om du har problem med anslutningen. Kontrollera källan till URL-adressen och försök igen, eller prata med arbetsytans administratör om problemet kvarstår",
"Calling": "Ringer upp",
"Call_Center_Description": "Konfigurera röstkanalerna i Rocket.Chat",
"Call_ended": "Samtalet avslutades",
"Calls": "Samtal",
"Calls_in_queue_zero": "Kön är tom",
Expand Down Expand Up @@ -5335,6 +5334,7 @@
"VoIP_Enabled": "Aktivera röstkanal",
"VoIP_Enabled_Description": "Anslut agenter till kunder via utgående och inkommande samtal",
"VoIP_Extension": "VoIP-anknytning",
"VoIP_Omnichannel_Description": "Konfigurera röstkanalerna i Rocket.Chat",
"Voip_Server_Configuration": "Asterisk WebSocket Server",
"VoIP_Server_Websocket_Port": "Websocket-port",
"VoIP_Server_Name": "Servernamn",
Expand Down

0 comments on commit cd20346

Please sign in to comment.