diff --git a/src/app/locale/en/en.js b/src/app/locale/en/en.js index 7bf0db36f..5ab988a99 100644 --- a/src/app/locale/en/en.js +++ b/src/app/locale/en/en.js @@ -625,6 +625,7 @@ export default { }, customChat: { customChat: 'Custom Chat', + customChatGateway: 'Custom Chat Gateway', appSecretHint: 'Altering this field will interrupt the integration', metadata: { appSecret: 'App Secret', diff --git a/src/app/locale/ru/ru.js b/src/app/locale/ru/ru.js index 6f6d8e875..ad920c5ad 100644 --- a/src/app/locale/ru/ru.js +++ b/src/app/locale/ru/ru.js @@ -625,6 +625,7 @@ export default { }, customChat: { customChat: 'Custom Chat', + customChatGateway: 'Custom Chat Gateway', appSecretHint: 'Изменение этого поля прервет интеграцию', metadata: { appSecret: 'App Secret', diff --git a/src/app/locale/ua/ua.js b/src/app/locale/ua/ua.js index 87b84454b..0b4ee3c3e 100644 --- a/src/app/locale/ua/ua.js +++ b/src/app/locale/ua/ua.js @@ -626,6 +626,7 @@ export default { }, customChat: { customChat: 'Custom Chat', + customChatGateway: 'Custom Chat Gateway', appSecretHint: 'Зміна цього поля перерве інтеграцію', metadata: { appSecret: 'App Secret', diff --git a/src/modules/routing/modules/chat-gateways/components/create-chat-gateway-popup.vue b/src/modules/routing/modules/chat-gateways/components/create-chat-gateway-popup.vue index 5149b0608..a5cfbd752 100644 --- a/src/modules/routing/modules/chat-gateways/components/create-chat-gateway-popup.vue +++ b/src/modules/routing/modules/chat-gateways/components/create-chat-gateway-popup.vue @@ -78,7 +78,7 @@ export default { }; const custom = { value: ChatGatewayProvider.CUSTOM, - title: this.$t('objects.routing.chatGateways.customChat.customChat') + this.$tc('objects.routing.gateways.gateways', 1), + title: this.$t('objects.routing.chatGateways.customChat.customChatGateway'), icon: 'custom-chat-gateway', }; return [telegramBot, telegramApp, infobip, messenger, viber, webchat, custom]; diff --git a/src/modules/routing/modules/chat-gateways/components/opened-chat-gateway.vue b/src/modules/routing/modules/chat-gateways/components/opened-chat-gateway.vue index f5da2b7b5..e94333bc6 100644 --- a/src/modules/routing/modules/chat-gateways/components/opened-chat-gateway.vue +++ b/src/modules/routing/modules/chat-gateways/components/opened-chat-gateway.vue @@ -380,8 +380,7 @@ export default { default: return this.$tc('objects.routing.gateways.gateways', 1); } - return this.$t(`objects.routing.chatGateways.${chatTypeLocale}`) - .concat(' ', this.$tc('objects.routing.gateways.gateways', 1)); + return this.$t(`objects.routing.chatGateways.${chatTypeLocale}`); }, path() {