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
046dd02a
Commit
046dd02a
authored
Jun 07, 2024
by
Karl Lee
Browse files
Added missing i18n key
parent
72e1615f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
src/lib/components/chat/Messages/ResponseMessage.svelte
src/lib/components/chat/Messages/ResponseMessage.svelte
+1
-1
src/lib/i18n/locales/zh-CN/translation.json
src/lib/i18n/locales/zh-CN/translation.json
+1
-0
No files found.
src/lib/components/chat/Messages/ResponseMessage.svelte
View file @
046dd02a
...
@@ -757,7 +757,7 @@
...
@@ -757,7 +757,7 @@
</Tooltip>
</Tooltip>
{#if $config?.features.enable_image_generation && !readOnly}
{#if $config?.features.enable_image_generation && !readOnly}
<Tooltip content="Generate Image" placement="bottom">
<Tooltip content="
{$i18n.t('
Generate Image
')}
" placement="bottom">
<button
<button
class="{isLastMessage
class="{isLastMessage
? 'visible'
? 'visible'
...
...
src/lib/i18n/locales/zh-CN/translation.json
View file @
046dd02a
...
@@ -550,6 +550,7 @@
...
@@ -550,6 +550,7 @@
"Refer to yourself as \"User\" (e.g., \"User is learning Spanish\")"
:
"使用
\"
User
\"
(用户) 来指代自己(例如:“User 正在学习西班牙语”)"
,
"Refer to yourself as \"User\" (e.g., \"User is learning Spanish\")"
:
"使用
\"
User
\"
(用户) 来指代自己(例如:“User 正在学习西班牙语”)"
,
"Local Models"
:
"本地模型"
,
"Local Models"
:
"本地模型"
,
"External Models"
:
"外部模型"
,
"External Models"
:
"外部模型"
,
"Generate Image"
:
"生成图像"
,
"Account Activation Pending"
:
"账号待激活"
,
"Account Activation Pending"
:
"账号待激活"
,
"Contact Admin for WebUI Access"
:
"请联系管理员以获取访问权限"
,
"Contact Admin for WebUI Access"
:
"请联系管理员以获取访问权限"
,
"Your account status is currently pending activation."
:
"您的账号当前状态为待激活。"
,
"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