update: translate common sider

This commit is contained in:
Mohammad Foroughi
2022-10-30 02:25:30 +03:30
parent da1f161490
commit 1f87c1fb86
4 changed files with 27 additions and 8 deletions

View File

@@ -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}}

View File

@@ -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"

View File

@@ -11,6 +11,13 @@
"enable" = "启用"
"protocol" = "协议"
[menu]
"dashboard" = "系统状态"
"inbounds" = "入站列表"
"setting" = "面板设置"
"logout" = "退出登录"
"link" = "其他"
[pages.login]
"title" = "登录"

View File

@@ -11,6 +11,13 @@
"enable" = "啟用"
"protocol" = "協議"
[menu]
"dashboard" = "系统状态"
"inbounds" = "入站列表"
"setting" = "面板设置"
"logout" = "退出登录"
"link" = "其他"
[pages.login]
"title" = "登錄"