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 95f5de54 fix: customize renamed to apperance and move branding below
apprance
95f5de54 is described below
commit 95f5de544d9c08cfbe6e90ae38df5269247bc90c
Author: shuai <[email protected]>
AuthorDate: Mon May 19 18:05:56 2025 +0800
fix: customize renamed to apperance and move branding below apprance
---
i18n/en_US.yaml | 1 +
i18n/zh_CN.yaml | 1 +
ui/src/common/constants.ts | 7 +++----
ui/src/router/routes.ts | 2 +-
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml
index 6bae82b9..dd9a2d58 100644
--- a/i18n/en_US.yaml
+++ b/i18n/en_US.yaml
@@ -1792,6 +1792,7 @@ ui:
privileges: Privileges
plugins: Plugins
installed_plugins: Installed Plugins
+ apperance: Appearance
website_welcome: Welcome to {{site_name}}
user_center:
login: Login
diff --git a/i18n/zh_CN.yaml b/i18n/zh_CN.yaml
index 64dfcf98..923f0520 100644
--- a/i18n/zh_CN.yaml
+++ b/i18n/zh_CN.yaml
@@ -1753,6 +1753,7 @@ ui:
privileges: 特权
plugins: 插件
installed_plugins: 已安装插件
+ apperance: 外观
website_welcome: 欢迎来到 {{site_name}}
user_center:
login: 登录
diff --git a/ui/src/common/constants.ts b/ui/src/common/constants.ts
index 855d1a24..163d4989 100644
--- a/ui/src/common/constants.ts
+++ b/ui/src/common/constants.ts
@@ -103,16 +103,16 @@ export const ADMIN_NAV_MENUS = [
icon: 'award-fill',
},
{
- name: 'customize',
+ name: 'apperance',
icon: 'palette-fill',
children: [
{
name: 'themes',
},
{
- name: 'css_html',
- path: 'css-html',
+ name: 'customize',
},
+ { name: 'branding' },
],
},
{
@@ -121,7 +121,6 @@ export const ADMIN_NAV_MENUS = [
children: [
{ name: 'general' },
{ name: 'interface' },
- { name: 'branding' },
{ name: 'smtp' },
{ name: 'legal' },
{ name: 'write' },
diff --git a/ui/src/router/routes.ts b/ui/src/router/routes.ts
index 60ca7e91..d9d20a44 100644
--- a/ui/src/router/routes.ts
+++ b/ui/src/router/routes.ts
@@ -351,7 +351,7 @@ const routes: RouteNode[] = [
page: 'pages/Admin/Themes',
},
{
- path: 'css-html',
+ path: 'customize',
page: 'pages/Admin/CssAndHtml',
},
{