update: translate restart panel dialog

This commit is contained in:
Mohammad Foroughi
2022-10-30 21:34:54 +03:30
parent b7233a990d
commit 6863c2b2a6
3 changed files with 8 additions and 4 deletions

View File

@@ -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(),
});
});

View File

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

View File

@@ -25,6 +25,7 @@
"delete" = "删除"
"reset" = "重置"
"copySuccess" = "复制成功"
"sure" = "确定"
[menu]
"dashboard" = "系统状态"
@@ -96,6 +97,7 @@
"title" = "设置"
"save" = "保存配置"
"restartPanel" = "重启面板"
"restartPanelDesc" = "确定要重启面板吗?点击确定将于 3 秒后重启,若重启后无法访问面板,请前往服务器查看面板日志信息"
"panelConfig" = "面板配置"
"userSetting" = "用户设置"
"xrayConfiguration" = "xray 相关设置"