mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
update: translate restart panel dialog
This commit is contained in:
@@ -165,10 +165,10 @@
|
||||
async restartPanel() {
|
||||
await new Promise(resolve => {
|
||||
this.$confirm({
|
||||
title: '重启面板',
|
||||
content: '确定要重启面板吗?点击确定将于 3 秒后重启,若重启后无法访问面板,请前往服务器查看面板日志信息',
|
||||
okText: '确定',
|
||||
cancelText: '取消',
|
||||
title: '{{ i18n "pages.setting.restartPanel" }}',
|
||||
content: '{{ i18n "pages.setting.restartPanelDesc" }}',
|
||||
okText: '{{ i18n "sure" }}',
|
||||
cancelText: '{{ i18n "cancel" }}',
|
||||
onOk: () => resolve(),
|
||||
});
|
||||
});
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"delete" = "delete"
|
||||
"reset" = "reset"
|
||||
"copySuccess" = "Copy successfully"
|
||||
"sure" = "Sure"
|
||||
|
||||
|
||||
[menu]
|
||||
@@ -95,6 +96,7 @@
|
||||
"title" = "Setting"
|
||||
"save" = "Save"
|
||||
"restartPanel" = "Restart Panel"
|
||||
"restartPanelDesc" = "Are you sure you want to restart the panel? Click OK to restart after 3 seconds. If you cannot access the panel after restarting, please go to the server to view the panel log information"
|
||||
"panelConfig" = "Panel Configuration"
|
||||
"userSetting" = "User Setting"
|
||||
"xrayConfiguration" = "xray Configuration"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"delete" = "删除"
|
||||
"reset" = "重置"
|
||||
"copySuccess" = "复制成功"
|
||||
"sure" = "确定"
|
||||
|
||||
[menu]
|
||||
"dashboard" = "系统状态"
|
||||
@@ -96,6 +97,7 @@
|
||||
"title" = "设置"
|
||||
"save" = "保存配置"
|
||||
"restartPanel" = "重启面板"
|
||||
"restartPanelDesc" = "确定要重启面板吗?点击确定将于 3 秒后重启,若重启后无法访问面板,请前往服务器查看面板日志信息"
|
||||
"panelConfig" = "面板配置"
|
||||
"userSetting" = "用户设置"
|
||||
"xrayConfiguration" = "xray 相关设置"
|
||||
|
||||
Reference in New Issue
Block a user