Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: customize renamed to apperance and move branding below apprance

shuai95f5de544d9c
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',
},
{