2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

feat: 添加App翻译

This commit is contained in:
2025-04-13 16:55:16 +08:00
parent 0402427b71
commit 493da1552d
7 changed files with 12 additions and 7 deletions

View File

@@ -19,8 +19,13 @@ export function translateTitle(key: string): string {
Tasks: $gettext('Tasks'),
Website: $gettext('Website'),
// 应用标题
'Fail2ban Manager': $gettext('Fail2ban Manager'),
'S3fs Manager': $gettext('S3fs Manager'),
'Supervisor Manager': $gettext('Supervisor Manager'),
'Rsync Manager': $gettext('Rsync Manager'),
'Frp Manager': $gettext('Frp Manager'),
'Rat Benchmark': $gettext('Rat Benchmark'),
Toolbox: $gettext('Toolbox')
'System Toolbox': $gettext('System Toolbox')
}
return titles[key] || key

View File

@@ -13,7 +13,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: 'Fail2ban',
title: 'Fail2ban Manager',
icon: 'mdi:wall-fire',
role: ['admin'],
requireAuth: true

View File

@@ -13,7 +13,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: 'Frp',
title: 'Frp Manager',
icon: 'icon-park-outline:connection-box',
role: ['admin'],
requireAuth: true

View File

@@ -13,7 +13,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: 'Rsync',
title: 'Rsync Manager',
icon: 'file-icons:rsync',
role: ['admin'],
requireAuth: true

View File

@@ -13,7 +13,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: 'S3fs',
title: 'S3fs Manager',
icon: 'logos:aws',
role: ['admin'],
requireAuth: true

View File

@@ -13,7 +13,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: 'Supervisor',
title: 'Supervisor Manager',
icon: 'mdi:monitor-dashboard',
role: ['admin'],
requireAuth: true

View File

@@ -13,7 +13,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: 'Toolbox',
title: 'System Toolbox',
icon: 'mdi:tools',
role: ['admin'],
requireAuth: true