From 90425542f83982c491effd060870b29f0695eb70 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Sat, 18 Jan 2025 18:58:12 +0530 Subject: [PATCH] (fix:locales) missing translations --- frontend/src/locale/en.json | 13 ++++++++++++- frontend/src/locale/es.json | 10 ++++++++++ frontend/src/locale/ru.json | 5 +++-- frontend/src/locale/zh-TW.json | 18 ++++++++++++++++++ frontend/src/locale/zh.json | 3 ++- 5 files changed, 45 insertions(+), 4 deletions(-) diff --git a/frontend/src/locale/en.json b/frontend/src/locale/en.json index daca2568f..37568ea03 100644 --- a/frontend/src/locale/en.json +++ b/frontend/src/locale/en.json @@ -217,10 +217,21 @@ "lastPage": "Last page" }, "conversation": { + "copy": "Copy", + "copied": "Copied", + "speak": "Speak", + "answer": "Answer", "edit": { "update": "Update", "cancel": "Cancel", "placeholder": "Enter updated query..." - } + }, + "sources": { + "title": "Sources", + "text": "Source text", + "link": "Source link", + "view_more": "View {{count}} more sources" + }, + "retry": "Retry" } } diff --git a/frontend/src/locale/es.json b/frontend/src/locale/es.json index 6bce0f5f7..9eefdd773 100644 --- a/frontend/src/locale/es.json +++ b/frontend/src/locale/es.json @@ -185,6 +185,16 @@ "apiKeyPlaceholder": "Ingrese la Clave API / OAuth", "addButton": "Agregar Herramienta", "closeButton": "Cerrar" + }, + "prompts": { + "addPrompt": "Agregar Prompt", + "addDescription": "Agrega tu prompt personalizado y guárdalo en DocsGPT", + "editPrompt": "Editar Prompt", + "editDescription": "Edita tu prompt personalizado y guárdalo en DocsGPT", + "promptName": "Nombre del Prompt", + "promptText": "Texto del Prompt", + "save": "Guardar", + "nameExists": "El nombre ya existe" } }, "sharedConv": { diff --git a/frontend/src/locale/ru.json b/frontend/src/locale/ru.json index 8cb508627..a7aed9a09 100644 --- a/frontend/src/locale/ru.json +++ b/frontend/src/locale/ru.json @@ -4,7 +4,7 @@ "chats": "Чаты", "newChat": "Новый чат", "myPlan": "Мой план", - "about": "О", + "about": "О нас", "inputPlaceholder": "Введите свое сообщение здесь...", "tagline": "DocsGPT использует GenAI, пожалуйста, проверьте важную информацию, используя источники.", "sourceDocs": "Источник", @@ -138,7 +138,8 @@ "secret": "Секрет клиента", "agent": "Пользовательский агент", "searchQueries": "Поисковые запросы", - "numberOfPosts": "Количество сообщений" + "numberOfPosts": "Количество сообщений", + "addQuery": "Добавить запрос" }, "drag": { "title": "Загрузить исходный файл", diff --git a/frontend/src/locale/zh-TW.json b/frontend/src/locale/zh-TW.json index e09c52d3d..30c69cb71 100644 --- a/frontend/src/locale/zh-TW.json +++ b/frontend/src/locale/zh-TW.json @@ -215,5 +215,23 @@ "previousPage": "上一頁", "nextPage": "下一頁", "lastPage": "最後一頁" + }, + "conversation": { + "copy": "複製", + "copied": "已複製", + "speak": "朗讀", + "answer": "回答", + "edit": { + "update": "更新", + "cancel": "取消", + "placeholder": "輸入更新的查詢..." + }, + "sources": { + "title": "來源", + "text": "來源文字", + "link": "來源連結", + "view_more": "查看更多 {{count}} 個來源" + }, + "retry": "重試" } } diff --git a/frontend/src/locale/zh.json b/frontend/src/locale/zh.json index 35fccad27..2aa0e0b88 100644 --- a/frontend/src/locale/zh.json +++ b/frontend/src/locale/zh.json @@ -69,7 +69,8 @@ "daily": "每天", "weekly": "每周", "monthly": "每月" - } + }, + "actions": "操作" }, "apiKeys": { "label": "聊天机器人",