From 7b1c946069267176ed465d5b46973a086f90330a Mon Sep 17 00:00:00 2001 From: yangdx Date: Wed, 2 Apr 2025 23:28:58 +0800 Subject: [PATCH] Update i18n translation --- lightrag_webui/src/components/graph/SettingsDisplay.tsx | 2 +- lightrag_webui/src/locales/ar.json | 3 ++- lightrag_webui/src/locales/en.json | 3 ++- lightrag_webui/src/locales/fr.json | 3 ++- lightrag_webui/src/locales/zh.json | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lightrag_webui/src/components/graph/SettingsDisplay.tsx b/lightrag_webui/src/components/graph/SettingsDisplay.tsx index 5be25557..93fc0e01 100644 --- a/lightrag_webui/src/components/graph/SettingsDisplay.tsx +++ b/lightrag_webui/src/components/graph/SettingsDisplay.tsx @@ -13,7 +13,7 @@ const SettingsDisplay = () => { return (
{t('graphPanel.sideBar.settings.depth')}: {graphQueryMaxDepth}
-
{t('graphPanel.sideBar.settings.maxNodes')}: {graphMaxNodes}
+
{t('graphPanel.sideBar.settings.max')}: {graphMaxNodes}
) } diff --git a/lightrag_webui/src/locales/ar.json b/lightrag_webui/src/locales/ar.json index d3affb90..50119b06 100644 --- a/lightrag_webui/src/locales/ar.json +++ b/lightrag_webui/src/locales/ar.json @@ -150,7 +150,8 @@ "maxQueryDepth": "أقصى عمق للاستعلام", "maxNodes": "الحد الأقصى للعقد", "maxLayoutIterations": "أقصى تكرارات التخطيط", - "depth": "العمق", + "depth": "D", + "max": "Max", "degree": "الدرجة", "apiKey": "مفتاح واجهة برمجة التطبيقات", "enterYourAPIkey": "أدخل مفتاح واجهة برمجة التطبيقات الخاص بك", diff --git a/lightrag_webui/src/locales/en.json b/lightrag_webui/src/locales/en.json index a00cfc75..dd3757a9 100644 --- a/lightrag_webui/src/locales/en.json +++ b/lightrag_webui/src/locales/en.json @@ -150,7 +150,8 @@ "maxQueryDepth": "Max Query Depth", "maxNodes": "Max Nodes", "maxLayoutIterations": "Max Layout Iterations", - "depth": "Depth", + "depth": "D", + "max": "Max", "degree": "Degree", "apiKey": "API Key", "enterYourAPIkey": "Enter your API key", diff --git a/lightrag_webui/src/locales/fr.json b/lightrag_webui/src/locales/fr.json index c7f538dc..e8792fd4 100644 --- a/lightrag_webui/src/locales/fr.json +++ b/lightrag_webui/src/locales/fr.json @@ -150,7 +150,8 @@ "maxQueryDepth": "Profondeur maximale de la requête", "maxNodes": "Nombre maximum de nœuds", "maxLayoutIterations": "Itérations maximales de mise en page", - "depth": "Profondeur", + "depth": "D", + "max": "Max", "degree": "Degré", "apiKey": "Clé API", "enterYourAPIkey": "Entrez votre clé API", diff --git a/lightrag_webui/src/locales/zh.json b/lightrag_webui/src/locales/zh.json index 073d1253..c3c4676c 100644 --- a/lightrag_webui/src/locales/zh.json +++ b/lightrag_webui/src/locales/zh.json @@ -150,7 +150,8 @@ "maxQueryDepth": "最大查询深度", "maxNodes": "最大返回节点数", "maxLayoutIterations": "最大布局迭代次数", - "depth": "深度", + "depth": "深", + "max": "Max", "degree": "邻边", "apiKey": "API密钥", "enterYourAPIkey": "输入您的API密钥",