From 19b2dd934c6f8a12ee9cf054b04e3762cf239034 Mon Sep 17 00:00:00 2001 From: Lion Arar Date: Wed, 8 Oct 2025 10:54:50 -0400 Subject: [PATCH] feat: added the translation for thinking... in the chatbot --- src/i18n/en-ca/index.ts | 1 + src/i18n/fr-ca/index.ts | 1 + src/modules/chatbot/components/dialogue-content.vue | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/i18n/en-ca/index.ts b/src/i18n/en-ca/index.ts index 3f541be..43db3d8 100644 --- a/src/i18n/en-ca/index.ts +++ b/src/i18n/en-ca/index.ts @@ -4,6 +4,7 @@ export default { chat_initial_message: "Welcome to your technical assistant.\nPlease provide the Client ID and \na description of the problem.", chat_placeholder: "Enter a Message", + chat_thinking: "Thinking...", }, employee_list: { page_header: "Employee Directory", diff --git a/src/i18n/fr-ca/index.ts b/src/i18n/fr-ca/index.ts index 2668b21..1d4246d 100644 --- a/src/i18n/fr-ca/index.ts +++ b/src/i18n/fr-ca/index.ts @@ -4,6 +4,7 @@ export default { chat_initial_message: "Bienvenue à votre assistant technique.\nVeuillez fournir le ID du Client et \nune description du problème.", chat_placeholder: "Entré un Message", + chat_thinking: "Réflexion en cours...", }, employee_list: { page_header: "Répertoire du personnel", diff --git a/src/modules/chatbot/components/dialogue-content.vue b/src/modules/chatbot/components/dialogue-content.vue index 310a0f7..585d049 100644 --- a/src/modules/chatbot/components/dialogue-content.vue +++ b/src/modules/chatbot/components/dialogue-content.vue @@ -42,7 +42,7 @@ watch(props.messages, async () => { size="20px" color="primary" /> - Thinking... + {{ $t('chatbot.chat_thinking') }}