diff --git a/chatdesk-ui/components/messages/message.tsx b/chatdesk-ui/components/messages/message.tsx index 0599d31..95f4b50 100644 --- a/chatdesk-ui/components/messages/message.tsx +++ b/chatdesk-ui/components/messages/message.tsx @@ -307,7 +307,7 @@ export const Message: FC = ({ size={ICON_SIZE} /> -
Prompt
+
{t("RAG.prompt")}
) : (
@@ -380,7 +380,7 @@ export const Message: FC = ({
-
Searching files...
+
{t("RAG.searchingFiles")}...
) default: @@ -388,7 +388,8 @@ export const Message: FC = ({
-
Using {toolInUse}...
+ {/*
Using {toolInUse}...
*/} +
{t("RAG.usingTool", { tool: toolInUse })}
) } @@ -517,11 +518,11 @@ export const Message: FC = ({ {isEditing && (
)} diff --git a/chatdesk-ui/public/locales/ar/translation.json b/chatdesk-ui/public/locales/ar/translation.json index bd412c1..2801f55 100644 --- a/chatdesk-ui/public/locales/ar/translation.json +++ b/chatdesk-ui/public/locales/ar/translation.json @@ -288,5 +288,12 @@ "enabled": "مفعل", "disabled": "معطل", "startNewChat": "ابدأ محادثة جديدة" - } + }, + "RAG": { + "prompt": "الموجه", + "searchingFiles": "جارٍ البحث في الملفات...", + "usingTool": "يتم استخدام {{tool}}...", + "saveAndSend": "حفظ وإرسال", + "cancel": "إلغاء" + } } diff --git a/chatdesk-ui/public/locales/bn/translation.json b/chatdesk-ui/public/locales/bn/translation.json index 6d601f4..fb97233 100644 --- a/chatdesk-ui/public/locales/bn/translation.json +++ b/chatdesk-ui/public/locales/bn/translation.json @@ -288,5 +288,12 @@ "enabled": "সক্রিয়", "disabled": "নিষ্ক্রিয়", "startNewChat": "নতুন চ্যাট শুরু করুন" - } + }, + "RAG": { + "prompt": "প্রম্পট", + "searchingFiles": "ফাইল অনুসন্ধান করা হচ্ছে...", + "usingTool": "{{tool}} ব্যবহার করা হচ্ছে...", + "saveAndSend": "সংরক্ষণ এবং প্রেরণ", + "cancel": "বাতিল করুন" + } } diff --git a/chatdesk-ui/public/locales/de/translation.json b/chatdesk-ui/public/locales/de/translation.json index 83f3096..a910994 100644 --- a/chatdesk-ui/public/locales/de/translation.json +++ b/chatdesk-ui/public/locales/de/translation.json @@ -288,5 +288,12 @@ "enabled": "Aktiviert", "disabled": "Deaktiviert", "startNewChat": "Neuen Chat starten" - } + }, + "RAG": { + "prompt": "Prompt", + "searchingFiles": "Dateien werden durchsucht...", + "usingTool": "{{tool}} wird verwendet...", + "saveAndSend": "Speichern & Senden", + "cancel": "Abbrechen" + } } diff --git a/chatdesk-ui/public/locales/en/translation.json b/chatdesk-ui/public/locales/en/translation.json index fa5d4e5..ed0dc1c 100644 --- a/chatdesk-ui/public/locales/en/translation.json +++ b/chatdesk-ui/public/locales/en/translation.json @@ -288,5 +288,12 @@ "enabled": "Enabled", "disabled": "Disabled", "startNewChat": "Start a new chat" - } + }, + "RAG": { + "prompt": "Prompt", + "searchingFiles": "Searching files...", + "usingTool": "Using {{tool}}...", + "saveAndSend": "Save & Send", + "cancel": "Cancel" + } } diff --git a/chatdesk-ui/public/locales/es/translation.json b/chatdesk-ui/public/locales/es/translation.json index f7468ea..b31be22 100644 --- a/chatdesk-ui/public/locales/es/translation.json +++ b/chatdesk-ui/public/locales/es/translation.json @@ -288,5 +288,12 @@ "enabled": "Activado", "disabled": "Desactivado", "startNewChat": "Iniciar nuevo chat" - } + }, + "RAG": { + "prompt": "Indicador", + "searchingFiles": "Buscando archivos...", + "usingTool": "Usando {{tool}}...", + "saveAndSend": "Guardar y enviar", + "cancel": "Cancelar" + } } diff --git a/chatdesk-ui/public/locales/fr/translation.json b/chatdesk-ui/public/locales/fr/translation.json index eb54aa6..81d02a7 100644 --- a/chatdesk-ui/public/locales/fr/translation.json +++ b/chatdesk-ui/public/locales/fr/translation.json @@ -288,5 +288,12 @@ "enabled": "Activé", "disabled": "Désactivé", "startNewChat": "Commencer une nouvelle discussion" - } + }, + "RAG": { + "prompt": "Invite", + "searchingFiles": "Recherche de fichiers...", + "usingTool": "Utilisation de {{tool}}...", + "saveAndSend": "Enregistrer et envoyer", + "cancel": "Annuler" + } } diff --git a/chatdesk-ui/public/locales/he/translation.json b/chatdesk-ui/public/locales/he/translation.json index f57e376..fa775a0 100644 --- a/chatdesk-ui/public/locales/he/translation.json +++ b/chatdesk-ui/public/locales/he/translation.json @@ -289,5 +289,12 @@ "enabled": "מופעל", "disabled": "מנוטרל", "startNewChat": "התחל צ׳אט חדש" - } + }, + "RAG": { + "prompt": "הנחיה", + "searchingFiles": "מחפש קבצים...", + "usingTool": "משתמש ב־{{tool}}...", + "saveAndSend": "שמור ושלח", + "cancel": "ביטול" + } } diff --git a/chatdesk-ui/public/locales/id/translation.json b/chatdesk-ui/public/locales/id/translation.json index 10bb160..b13a2f9 100644 --- a/chatdesk-ui/public/locales/id/translation.json +++ b/chatdesk-ui/public/locales/id/translation.json @@ -288,5 +288,12 @@ "enabled": "Aktif", "disabled": "Nonaktif", "startNewChat": "Mulai Obrolan Baru" - } + }, + "RAG": { + "prompt": "Prompt", + "searchingFiles": "Mencari file...", + "usingTool": "Menggunakan {{tool}}...", + "saveAndSend": "Simpan & Kirim", + "cancel": "Batal" + } } diff --git a/chatdesk-ui/public/locales/it/translation.json b/chatdesk-ui/public/locales/it/translation.json index dfd1c4b..f446e26 100644 --- a/chatdesk-ui/public/locales/it/translation.json +++ b/chatdesk-ui/public/locales/it/translation.json @@ -288,5 +288,12 @@ "enabled": "Abilitato", "disabled": "Disabilitato", "startNewChat": "Avvia una nuova chat" - } + }, + "RAG": { + "prompt": "Prompt", + "searchingFiles": "Ricerca dei file in corso...", + "usingTool": "Utilizzo di {{tool}}...", + "saveAndSend": "Salva e invia", + "cancel": "Annulla" + } } diff --git a/chatdesk-ui/public/locales/ja/translation.json b/chatdesk-ui/public/locales/ja/translation.json index 339be1d..e06feeb 100644 --- a/chatdesk-ui/public/locales/ja/translation.json +++ b/chatdesk-ui/public/locales/ja/translation.json @@ -288,6 +288,13 @@ "enabled": "有効", "disabled": "無効", "startNewChat": "新しいチャットを開始" - } + }, + "RAG": { + "prompt": "プロンプト", + "searchingFiles": "ファイルを検索中...", + "usingTool": "{{tool}} を使用中...", + "saveAndSend": "保存して送信", + "cancel": "キャンセル" + } } \ No newline at end of file diff --git a/chatdesk-ui/public/locales/ko/translation.json b/chatdesk-ui/public/locales/ko/translation.json index e7bc091..43785eb 100644 --- a/chatdesk-ui/public/locales/ko/translation.json +++ b/chatdesk-ui/public/locales/ko/translation.json @@ -288,5 +288,12 @@ "enabled": "활성화됨", "disabled": "비활성화됨", "startNewChat": "새 채팅 시작" - } + }, + "RAG": { + "prompt": "프롬프트", + "searchingFiles": "파일 검색 중...", + "usingTool": "{{tool}} 사용 중...", + "saveAndSend": "저장 및 전송", + "cancel": "취소" + } } diff --git a/chatdesk-ui/public/locales/pt/translation.json b/chatdesk-ui/public/locales/pt/translation.json index 0d9859a..dd4ed6c 100644 --- a/chatdesk-ui/public/locales/pt/translation.json +++ b/chatdesk-ui/public/locales/pt/translation.json @@ -288,5 +288,12 @@ "enabled": "Ativado", "disabled": "Desativado", "startNewChat": "Iniciar nova conversa" - } + }, + "RAG": { + "prompt": "Prompt", + "searchingFiles": "Procurando arquivos...", + "usingTool": "Usando {{tool}}...", + "saveAndSend": "Salvar e Enviar", + "cancel": "Cancelar" + } } diff --git a/chatdesk-ui/public/locales/ru/translation.json b/chatdesk-ui/public/locales/ru/translation.json index c3b76fc..4e11980 100644 --- a/chatdesk-ui/public/locales/ru/translation.json +++ b/chatdesk-ui/public/locales/ru/translation.json @@ -288,5 +288,12 @@ "enabled": "Включено", "disabled": "Отключено", "startNewChat": "Начать новый чат" - } + }, + "RAG": { + "prompt": "Подсказка", + "searchingFiles": "Поиск файлов...", + "usingTool": "Используется {{tool}}...", + "saveAndSend": "Сохранить и отправить", + "cancel": "Отмена" + } } diff --git a/chatdesk-ui/public/locales/si/translation.json b/chatdesk-ui/public/locales/si/translation.json index a587ed6..23da68c 100644 --- a/chatdesk-ui/public/locales/si/translation.json +++ b/chatdesk-ui/public/locales/si/translation.json @@ -288,5 +288,12 @@ "enabled": "සක්‍රිය", "disabled": "අක්‍රිය", "startNewChat": "නව කතාබස් ආරම්භ කරන්න" - } + }, + "RAG": { + "prompt": "ප්‍රෝම්ප්ට්", + "searchingFiles": "ගොනු සෙවීම...", + "usingTool": "{{tool}} භාවිතා කරමින්...", + "saveAndSend": "සුරකින්න සහ යවන්න", + "cancel": "අවලංගු කරන්න" + } } diff --git a/chatdesk-ui/public/locales/sv/translation.json b/chatdesk-ui/public/locales/sv/translation.json index a80b2dd..0ecc6fa 100644 --- a/chatdesk-ui/public/locales/sv/translation.json +++ b/chatdesk-ui/public/locales/sv/translation.json @@ -288,5 +288,12 @@ "enabled": "Aktiverad", "disabled": "Avaktiverad", "startNewChat": "Starta ny chatt" - } + }, + "RAG": { + "prompt": "Prompt", + "searchingFiles": "Söker efter filer...", + "usingTool": "Använder {{tool}}...", + "saveAndSend": "Spara och skicka", + "cancel": "Avbryt" + } } diff --git a/chatdesk-ui/public/locales/te/translation.json b/chatdesk-ui/public/locales/te/translation.json index 8a6861f..2870e48 100644 --- a/chatdesk-ui/public/locales/te/translation.json +++ b/chatdesk-ui/public/locales/te/translation.json @@ -288,5 +288,12 @@ "enabled": "ప్రదర్శించబడింది", "disabled": "అచేతనం", "startNewChat": "కొత్త చాట్ ప్రారంభించు" - } + }, + "RAG": { + "prompt": "ప్రాంప్ట్", + "searchingFiles": "ఫైళ్లను శోధిస్తోంది...", + "usingTool": "{{tool}} ఉపయోగిస్తోంది...", + "saveAndSend": "సేవ్ చేసి పంపు", + "cancel": "రద్దు చేయి" + } } diff --git a/chatdesk-ui/public/locales/vi/translation.json b/chatdesk-ui/public/locales/vi/translation.json index 705106c..f175685 100644 --- a/chatdesk-ui/public/locales/vi/translation.json +++ b/chatdesk-ui/public/locales/vi/translation.json @@ -288,5 +288,12 @@ "enabled": "Đã bật", "disabled": "Đã tắt", "startNewChat": "Bắt đầu cuộc trò chuyện mới" - } + }, + "RAG": { + "prompt": "Gợi ý", + "searchingFiles": "Đang tìm kiếm tệp...", + "usingTool": "Đang sử dụng {{tool}}...", + "saveAndSend": "Lưu và gửi", + "cancel": "Hủy" + } } diff --git a/chatdesk-ui/public/locales/zh/translation.json b/chatdesk-ui/public/locales/zh/translation.json index e860e39..34807d7 100644 --- a/chatdesk-ui/public/locales/zh/translation.json +++ b/chatdesk-ui/public/locales/zh/translation.json @@ -288,5 +288,12 @@ "enabled": "启用", "disabled": "禁用", "startNewChat": "开始新的对话" - } + }, + "RAG": { + "prompt": "提示词", + "searchingFiles": "正在搜索文件...", + "usingTool": "正在使用 {{tool}}...", + "saveAndSend": "保存并发送", + "cancel": "取消" + } }