mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-11 17:20:10 +08:00
【同步】前端项目源码
【修复】工作流兼容问题
This commit is contained in:
53
frontend/apps/allin-ssl/src/config/i18n.ts
Normal file
53
frontend/apps/allin-ssl/src/config/i18n.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
;[
|
||||
{
|
||||
code: 'zh-CN',
|
||||
name: '中文',
|
||||
icon: 'cn',
|
||||
},
|
||||
{
|
||||
code: 'zh-tw',
|
||||
name: '繁體中文',
|
||||
icon: 'tw',
|
||||
},
|
||||
{
|
||||
code: 'en-US',
|
||||
name: 'English',
|
||||
icon: 'us',
|
||||
},
|
||||
|
||||
{
|
||||
code: 'ja-JP',
|
||||
name: '日本語',
|
||||
icon: 'jp',
|
||||
},
|
||||
{
|
||||
code: 'ko-KR',
|
||||
name: '한국어',
|
||||
icon: 'kr',
|
||||
},
|
||||
{
|
||||
code: 'ru-RU',
|
||||
name: 'Русский',
|
||||
icon: 'ru',
|
||||
},
|
||||
{
|
||||
code: 'pt-BR',
|
||||
name: 'Português',
|
||||
icon: 'br',
|
||||
},
|
||||
{
|
||||
code: 'fr-FR',
|
||||
name: 'Français',
|
||||
icon: 'fr',
|
||||
},
|
||||
{
|
||||
code: 'es-AR',
|
||||
name: 'Español',
|
||||
icon: 'es',
|
||||
},
|
||||
{
|
||||
code: 'ar-DZ',
|
||||
name: 'العربية',
|
||||
icon: 'dz',
|
||||
},
|
||||
]
|
||||
16
frontend/apps/allin-ssl/src/config/route.ts
Normal file
16
frontend/apps/allin-ssl/src/config/route.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { $t } from '@locales/index'
|
||||
|
||||
export default {
|
||||
sortRoute: [
|
||||
{ name: 'home', title: $t('t_0_1744258111441') },
|
||||
{ name: 'autoDeploy', title: $t('t_1_1744258113857') },
|
||||
{ name: 'certManage', title: $t('t_2_1744258111238') },
|
||||
{ name: 'certApply', title: $t('t_3_1744258111182') },
|
||||
{ name: 'authApiManage', title: $t('t_4_1744258111238') },
|
||||
{ name: 'monitor', title: $t('t_5_1744258110516') },
|
||||
{ name: 'settings', title: $t('t_6_1744258111153') },
|
||||
], // 路由排序
|
||||
frameworkRoute: ['layout'], // 框架路由
|
||||
systemRoute: ['login', '404'], // 系统路由
|
||||
disabledRoute: [], // 禁用路由
|
||||
}
|
||||
Reference in New Issue
Block a user