From 194564e253ef60086e33b8efcd3656f18e11c151 Mon Sep 17 00:00:00 2001
From: Karl Lee <61072264+KarlLee830@users.noreply.github.com>
Date: Thu, 6 Jun 2024 13:03:11 +0800
Subject: [PATCH 1/7] Update Chinese translation
---
src/lib/i18n/locales/zh-CN/translation.json | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/lib/i18n/locales/zh-CN/translation.json b/src/lib/i18n/locales/zh-CN/translation.json
index 17801c2c8..92cbc2ace 100644
--- a/src/lib/i18n/locales/zh-CN/translation.json
+++ b/src/lib/i18n/locales/zh-CN/translation.json
@@ -88,6 +88,7 @@
"Chunk Params": "块参数 (Chunk Params)",
"Chunk Size": "块大小 (Chunk Size)",
"Citation": "引文",
+ "Clear memory": "清除记忆",
"Click here for help.": "点击这里获取帮助。",
"Click here to": "单击",
"Click here to select": "点击这里选择",
@@ -122,6 +123,7 @@
"Create new secret key": "创建新安全密钥",
"Created at": "创建于",
"Created At": "创建于",
+ "Created by": "创建者",
"Current Model": "当前模型",
"Current Password": "当前密码",
"Custom": "自定义",
@@ -153,6 +155,7 @@
"Discover a prompt": "发现更多提示词",
"Discover, download, and explore custom prompts": "发现、下载并探索更多自定义提示词",
"Discover, download, and explore model presets": "发现、下载并探索更多模型预设",
+ "Dismissible": "可关闭",
"Display the username instead of You in the Chat": "在对话中显示用户名而不是“你”",
"Document": "文档",
"Document Settings": "文档设置",
@@ -272,6 +275,7 @@
"LTR": "从左至右",
"Made by OpenWebUI Community": "由 OpenWebUI 社区制作",
"Make sure to enclose them with": "确保将它们包含在内",
+ "Manage": "管理",
"Manage Models": "管理模型",
"Manage Ollama Models": "管理 Ollama 模型",
"Manage Pipelines": "管理 Pipeline",
@@ -385,6 +389,7 @@
"Rosé Pine": "Rosé Pine",
"Rosé Pine Dawn": "Rosé Pine Dawn",
"RTL": "从右至左",
+ "Running": "运行中",
"Save": "保存",
"Save & Create": "保存并创建",
"Save & Update": "保存并更新",
@@ -406,6 +411,7 @@
"See what's new": "查阅最新更新内容",
"Seed": "种子 (Seed)",
"Select a base model": "选择一个基础模型",
+ "Select a engine": "选择一个搜索引擎",
"Select a mode": "选择一个模式",
"Select a model": "选择一个模型",
"Select a pipeline": "选择一个管道",
@@ -531,6 +537,7 @@
"Write a summary in 50 words that summarizes [topic or keyword].": "用 50 个字写一个总结 [主题或关键词]。",
"Yesterday": "昨天",
"You": "你",
+ "You can personalize your interactions with LLMs by adding memories through the 'Manage' button below, making them more helpful and tailored to you.": "通过点击下方的“管理”按钮,你可以添加记忆,以个性化大语言模型的互动,使其更有用,更符合你的需求。",
"You cannot clone a base model": "你不能复制基础模型",
"You have no archived conversations.": "你没有已归档的对话。",
"You have shared this chat": "你之前已经分享过此",
From e7fb86190ab25d92d28a550460e0ede5966c85aa Mon Sep 17 00:00:00 2001
From: Karl Lee <61072264+KarlLee830@users.noreply.github.com>
Date: Thu, 6 Jun 2024 13:12:45 +0800
Subject: [PATCH 2/7] added missing i18n keys
---
src/lib/components/layout/Overlay/AccountPending.svelte | 7 +++----
src/lib/i18n/locales/zh-CN/translation.json | 7 ++++++-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/lib/components/layout/Overlay/AccountPending.svelte b/src/lib/components/layout/Overlay/AccountPending.svelte
index 79ab23493..21cb3b5ab 100644
--- a/src/lib/components/layout/Overlay/AccountPending.svelte
+++ b/src/lib/components/layout/Overlay/AccountPending.svelte
@@ -21,17 +21,16 @@
- Account Activation Pending Contact Admin for WebUI Access
+ {$i18n.t('Account Activation Pending')} {$i18n.t('Contact Admin for WebUI Access')}
- Your account status is currently pending activation. To access the WebUI, please reach
- out to the administrator. Admins can manage user statuses from the Admin Panel.
+ {$i18n.t('Your account status is currently pending activation.')} {$i18n.t('To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel.')}