mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
update: translate common sider
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{{define "menuItems"}}
|
||||
<a-menu-item key="{{ .base_path }}xui/">
|
||||
<a-icon type="dashboard"></a-icon>
|
||||
<span>系统状态</span>
|
||||
<span>{{ i18n "menu.dashboard"}}</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="{{ .base_path }}xui/inbounds">
|
||||
<a-icon type="user"></a-icon>
|
||||
<span>入站列表</span>
|
||||
<span>{{ i18n "menu.inbounds"}}</span>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="{{ .base_path }}xui/setting">
|
||||
<a-icon type="setting"></a-icon>
|
||||
<span>面板设置</span>
|
||||
<span>{{ i18n "menu.setting"}}</span>
|
||||
</a-menu-item>
|
||||
<!--<a-menu-item key="{{ .base_path }}xui/clients">-->
|
||||
<!-- <a-icon type="laptop"></a-icon>-->
|
||||
@@ -18,7 +18,7 @@
|
||||
<a-sub-menu>
|
||||
<template slot="title">
|
||||
<a-icon type="link"></a-icon>
|
||||
<span>其他</span>
|
||||
<span>{{ i18n "menu.link"}}</span>
|
||||
</template>
|
||||
<a-menu-item key="https://github.com/vaxilu/x-ui/">
|
||||
<a-icon type="github"></a-icon>
|
||||
@@ -27,7 +27,7 @@
|
||||
</a-sub-menu>
|
||||
<a-menu-item key="{{ .base_path }}logout">
|
||||
<a-icon type="logout"></a-icon>
|
||||
<span>退出登录</span>
|
||||
<span>{{ i18n "menu.logout"}}</span>
|
||||
</a-menu-item>
|
||||
{{end}}
|
||||
|
||||
|
||||
@@ -11,6 +11,13 @@
|
||||
"enable" = "enable"
|
||||
"protocol" = "protocol"
|
||||
|
||||
[menu]
|
||||
"dashboard" = "System Status"
|
||||
"inbounds" = "Inbounds"
|
||||
"setting" = "Panel Setting"
|
||||
"logout" = "LogOut"
|
||||
"link" = "Other"
|
||||
|
||||
[pages.login]
|
||||
"title" = "Login"
|
||||
|
||||
@@ -19,8 +26,6 @@
|
||||
|
||||
[pages.inbounds]
|
||||
"title" = "Inbounds"
|
||||
"titleCh" = "入站列表"
|
||||
|
||||
[pages.setting]
|
||||
"title" = "Setting"
|
||||
"titleCh" = "设置"
|
||||
"title" = "Setting"
|
||||
@@ -11,6 +11,13 @@
|
||||
"enable" = "启用"
|
||||
"protocol" = "协议"
|
||||
|
||||
[menu]
|
||||
"dashboard" = "系统状态"
|
||||
"inbounds" = "入站列表"
|
||||
"setting" = "面板设置"
|
||||
"logout" = "退出登录"
|
||||
"link" = "其他"
|
||||
|
||||
[pages.login]
|
||||
"title" = "登录"
|
||||
|
||||
|
||||
@@ -11,6 +11,13 @@
|
||||
"enable" = "啟用"
|
||||
"protocol" = "協議"
|
||||
|
||||
[menu]
|
||||
"dashboard" = "系统状态"
|
||||
"inbounds" = "入站列表"
|
||||
"setting" = "面板设置"
|
||||
"logout" = "退出登录"
|
||||
"link" = "其他"
|
||||
|
||||
[pages.login]
|
||||
"title" = "登錄"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user