diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 6de161a9..53320096 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -328,7 +328,7 @@ }, }); }, - //here add stop xray function + //here add stop xray function async stopXrayService() { this.loading(true); const msg = await HttpUtil.post('server/stopXrayService'); @@ -337,7 +337,7 @@ return; } }, - //here add restart xray function + //here add restart xray function async restartXrayService() { this.loading(true); const msg = await HttpUtil.post('server/restartXrayService'); diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml index 4c200a22..7d341d23 100644 --- a/web/translation/translate.en_US.toml +++ b/web/translation/translate.en_US.toml @@ -69,6 +69,8 @@ "memory" = "Memory" "hard" = "Hard disk" "xrayStatus" = "xray Status" +"stopXray" = "Stop xray" +"restartXray" = "Restart xray" "xraySwitch" = "Switch Version" "xraySwitchClick" = "Click on the version you want to switch" "xraySwitchClickDesk" = "Please choose carefully, older versions may have incompatible configurations" diff --git a/web/translation/translate.fa_IR.toml b/web/translation/translate.fa_IR.toml index 6f992cc0..1296dc4d 100644 --- a/web/translation/translate.fa_IR.toml +++ b/web/translation/translate.fa_IR.toml @@ -69,6 +69,8 @@ "memory" = "حافظه رم" "hard" = "حافظه دیسک" "xrayStatus" = "وضعیت Xray" +"stopXray" = "توقف xray" +"restartXray" = "شروع مجدد xray" "xraySwitch" = "تغییر ورژن" "xraySwitchClick" = "ورژن مورد نظر را انتخاب کنید" "xraySwitchClickDesk" = "لطفا با دقت انتخاب کنید ، در صورت انتخاب اشتباه امکان قطعی سیستم وجود دارد ." diff --git a/web/translation/translate.zh_Hans.toml b/web/translation/translate.zh_Hans.toml index 8a7029bc..18c1e322 100644 --- a/web/translation/translate.zh_Hans.toml +++ b/web/translation/translate.zh_Hans.toml @@ -69,6 +69,8 @@ "memory" = "内存" "hard" = "硬盘" "xrayStatus" = "xray 状态" +"stopXray" = "停止 Xray" +"restartXray" = "重启 Xray" "xraySwitch" = "切换版本" "xraySwitchClick" = "点击你想切换的版本" "xraySwitchClickDesk" = "请谨慎选择,旧版本可能配置不兼容"