diff --git a/web/html/xui/setting.html b/web/html/xui/setting.html
index 91525ba6..c3f17cb8 100644
--- a/web/html/xui/setting.html
+++ b/web/html/xui/setting.html
@@ -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(),
});
});
diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml
index 6f605f46..eb91e320 100644
--- a/web/translation/translate.en_US.toml
+++ b/web/translation/translate.en_US.toml
@@ -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"
diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml
index a42afb5d..2b51d74d 100644
--- a/web/translation/translate.zh_Hans.toml
+++ b/web/translation/translate.zh_Hans.toml
@@ -25,6 +25,7 @@
"delete" = "删除"
"reset" = "重置"
"copySuccess" = "复制成功"
+"sure" = "确定"
[menu]
"dashboard" = "系统状态"
@@ -96,6 +97,7 @@
"title" = "设置"
"save" = "保存配置"
"restartPanel" = "重启面板"
+"restartPanelDesc" = "确定要重启面板吗?点击确定将于 3 秒后重启,若重启后无法访问面板,请前往服务器查看面板日志信息"
"panelConfig" = "面板配置"
"userSetting" = "用户设置"
"xrayConfiguration" = "xray 相关设置"