Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
f4a122a4
Commit
f4a122a4
authored
Jun 06, 2024
by
Karl Lee
Browse files
Added missing i18n
Added missing i18n keys and update Chinese translation.
parent
34aea03c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
src/lib/components/chat/Settings/Models.svelte
src/lib/components/chat/Settings/Models.svelte
+2
-2
src/lib/i18n/locales/zh-CN/translation.json
src/lib/i18n/locales/zh-CN/translation.json
+4
-3
No files found.
src/lib/components/chat/Settings/Models.svelte
View file @
f4a122a4
...
...
@@ -541,7 +541,7 @@
]);
} else {
ollamaEnabled = false;
toast.error('Ollama API is disabled');
toast.error(
$i18n.t(
'Ollama API is disabled')
)
;
}
});
</script>
...
...
@@ -1063,7 +1063,7 @@
</div>
{/if}
{:else if ollamaEnabled === false}
<div>Ollama API is disabled</div>
<div>
{$i18n.t('
Ollama API is disabled
')}
</div>
{:else}
<div class="flex h-full justify-center">
<div class="my-auto">
...
...
src/lib/i18n/locales/zh-CN/translation.json
View file @
f4a122a4
...
...
@@ -123,7 +123,7 @@
"Create new secret key"
:
"创建新安全密钥"
,
"Created at"
:
"创建于"
,
"Created At"
:
"创建于"
,
"Created by"
:
"
创建
者"
,
"Created by"
:
"
作
者"
,
"Current Model"
:
"当前模型"
,
"Current Password"
:
"当前密码"
,
"Custom"
:
"自定义"
,
...
...
@@ -348,7 +348,7 @@
"Password"
:
"密码"
,
"PDF document (.pdf)"
:
"PDF 文档 (.pdf)"
,
"PDF Extract Images (OCR)"
:
"PDF 图像处理 (使用 OCR)"
,
"pending"
:
"待
定
"
,
"pending"
:
"待
激活
"
,
"Permission denied when accessing microphone: {{error}}"
:
"申请麦克风权限被拒绝:{{error}}"
,
"Personalization"
:
"个性化"
,
"Pipelines"
:
"Pipeline"
,
...
...
@@ -443,7 +443,7 @@
"Share to OpenWebUI Community"
:
"分享到 OpenWebUI 社区"
,
"short-summary"
:
"简短总结"
,
"Show"
:
"显示"
,
"Show Admin Details in Account Pending Overlay"
:
"在用户待
定
界面中显示管理员邮箱等详细信息"
,
"Show Admin Details in Account Pending Overlay"
:
"在用户待
激活
界面中显示管理员邮箱等详细信息"
,
"Show shortcuts"
:
"显示快捷方式"
,
"Showcased creativity"
:
"很有创意"
,
"sidebar"
:
"侧边栏"
,
...
...
@@ -545,6 +545,7 @@
"You're now logged in."
:
"已登录。"
,
"Youtube"
:
"YouTube"
,
"Youtube Loader Settings"
:
"YouTube 爬取设置"
,
"Ollama API is disabled"
:
"Ollama API 已禁用"
,
"Account Activation Pending"
:
"账号待激活"
,
"Contact Admin for WebUI Access"
:
"请联系管理员以获取访问权限"
,
"Your account status is currently pending activation."
:
"您的账号当前状态为待激活。"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment