This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
The following commit(s) were added to refs/heads/test by this push:
new 17b88b6a fix: reanme css/html page title and fix some zh_cn
translations
17b88b6a is described below
commit 17b88b6a4fa9fc7b5d5b8e355b0ae846e01ca327
Author: shuai <[email protected]>
AuthorDate: Tue May 20 11:49:05 2025 +0800
fix: reanme css/html page title and fix some zh_cn translations
---
i18n/en_US.yaml | 1 -
i18n/zh_CN.yaml | 10 +++-------
ui/src/pages/Admin/CssAndHtml/index.tsx | 2 +-
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index dd9a2d58..10134ffa 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -1787,7 +1787,6 @@ ui:
seo: SEO
customize: Customize
themes: Themes
- css_html: CSS/HTML
login: Login
privileges: Privileges
plugins: Plugins
diff --git a/i18n/zh_CN.yaml b/i18n/zh_CN.yaml
index 923f0520..f1a9f67b 100644
--- a/i18n/zh_CN.yaml
+++ b/i18n/zh_CN.yaml
@@ -1748,7 +1748,6 @@ ui:
seo: SEO
customize: 自定义
themes: 主题
- css_html: CSS/HTML
login: 登录
privileges: 特权
plugins: 插件
@@ -2112,16 +2111,13 @@ ui:
page_title: CSS 与 HTML
custom_css:
label: 自定义 CSS
- text: >
-
+ text: 这将作为 <link> 标签插入
head:
label: 头部
- text: >
-
+ text: 这将在 </head> 前插入
header:
label: 页眉
- text: >
-
+ text: 这将在 <body> 后插入
footer:
label: 页脚
text: 这将在 </body> 之前插入。
diff --git a/ui/src/pages/Admin/CssAndHtml/index.tsx
b/ui/src/pages/Admin/CssAndHtml/index.tsx
index de376ad7..422659af 100644
--- a/ui/src/pages/Admin/CssAndHtml/index.tsx
+++ b/ui/src/pages/Admin/CssAndHtml/index.tsx
@@ -150,7 +150,7 @@ const Index: FC = () => {
return (
<>
- <h3 className="mb-4">{t('page_title')}</h3>
+ <h3 className="mb-4">{t('customize', { keyPrefix: 'nav_menus' })}</h3>
<SchemaForm
schema={schema}
formData={formData}