You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2026/01/23 08:49:19 UTC
(answer) 02/04: feat: update i18ns
This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch ai-ui
in repository https://gitbox.apache.org/repos/asf/answer.git
commit 10c674e0c4ab2a3dbe834e8a9b15f9e235672648
Author: shuai <li...@sifou.com>
AuthorDate: Fri Jan 16 16:33:15 2026 +0800
feat: update i18ns
---
i18n/en_US.yaml | 45 +++++++++++++++++++++++++++++++++++++++++++++
i18n/zh_CN.yaml | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index 653793f2..d8d31e44 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -857,6 +857,16 @@ ui:
http_403: HTTP Error 403
logout: Log Out
posts: Posts
+ ai_assistant: AI Assistant
+ ai_assistant:
+ description: Got a question? Ask it and get answers, perspectives, and recommendations.
+ recent_conversations: Recent Conversations
+ show_more: Show more
+ new: New chat
+ ai_generate: AI-generated from posts and may not be accurate.
+ copy: Copy
+ ask_a_follow_up: Ask a follow-up
+ ask_placeholder: Ask a question
notifications:
title: Notifications
inbox: Inbox
@@ -1816,6 +1826,10 @@ ui:
plugins: Plugins
installed_plugins: Installed Plugins
apperance: Appearance
+ AI: AI
+ conversations: Conversations
+ ai_settings: Settings
+ mcp: MCP
website_welcome: Welcome to {{site_name}}
user_center:
login: Login
@@ -2291,6 +2305,37 @@ ui:
show_logs: Show logs
status: Status
title: Badges
+ ai_settings:
+ title: Model
+ enabled:
+ label: AI enabled
+ check: Enable AI features
+ provider:
+ label: Provider
+ api_host:
+ label: API host
+ msg: API host is required
+ api_key:
+ label: API key
+ check: Check
+ check_success: "Connection successful."
+ msg: API key is required
+ model:
+ label: Model
+ msg: Model is required
+ add_success: AI settings updated successfully.
+ conversations:
+ title: Conversations
+ topic: Topic
+ helpful: Helpful
+ unhelpful: Unhelpful
+ created: Created
+ action: Action
+ empty: No conversations found.
+ delete_modal:
+ title: Delete conversation
+ content: Are you sure you want to delete this conversation? This is permanent!
+ delete_success: Conversation deleted successfully.
form:
optional: (optional)
empty: cannot be empty
diff --git a/i18n/zh_CN.yaml b/i18n/zh_CN.yaml
index a6c7f198..0779e3a5 100644
--- a/i18n/zh_CN.yaml
+++ b/i18n/zh_CN.yaml
@@ -846,6 +846,16 @@ ui:
http_403: HTTP 错误 403
logout: 退出
posts: 帖子
+ ai_assistant: AI 助手
+ ai_assistant:
+ description: 有问题吗?尽管提问,即可获得解答、不同观点及实用建议。
+ recent_conversations: 最近的对话
+ show_more: 展示更多
+ new: 新建对话
+ ai_generate: 由帖子生成的 AI 内容,可能并不准确。
+ copy: 复制
+ ask_a_follow_up: 继续提问
+ ask_placeholder: 提出问题
notifications:
title: 通知
inbox: 收件箱
@@ -1778,6 +1788,10 @@ ui:
plugins: 插件
installed_plugins: 已安装插件
apperance: 外观
+ AI: AI
+ conversations: 对话
+ ai_settings: 设置
+ mcp: MCP
website_welcome: 欢迎来到 {{site_name}}
user_center:
login: 登录
@@ -2252,6 +2266,37 @@ ui:
show_logs: 显示日志
status: 状态
title: 徽章
+ ai_settings:
+ title: 模型
+ enabled:
+ label: AI 启用
+ check: 启用 AI 功能
+ provider:
+ label: 提供者
+ api_host:
+ label: API 主机
+ msg: API 主机必填
+ api_key:
+ label: API Key
+ check: 校验
+ check_success: "连接成功."
+ msg: API key 必填
+ model:
+ label: 模型
+ msg: 模型必填
+ add_success: AI 设置已成功更新.
+ conversations:
+ title: 对话
+ topic: 话题
+ helpful: 有用的
+ unhelpful: 无用的
+ created: 创建于
+ action: 操作
+ empty: 没有会话记录。
+ delete_modal:
+ title: 删除对话
+ content: 你确定要删除此对话吗?这是永久的!
+ delete_success: 对话删除成功.
form:
optional: (选填)
empty: 不能为空