Show alert for checking client permission

This commit is contained in:
Yukino Song
2024-12-02 01:50:35 +08:00
parent 71d90dd4c1
commit b913d97510
3 changed files with 4 additions and 0 deletions

View File

@@ -345,6 +345,8 @@
document.querySelector("#name-input").value = "";
setTimeout(() => this.refreshClients(), 1000);
alert(this.i18n.t('pin.pair_success_check_perm'));
} else {
document.querySelector(
"#status"

View File

@@ -420,6 +420,7 @@
"device_name": "Optional: Device Name",
"pair_failure": "Pairing Failed: Check if the PIN is typed correctly",
"pair_success": "Success! Please check Moonlight to continue",
"pair_success_check_perm": "Pair success! Please grant necessary permissions to the client manually below.",
"pin_pairing": "PIN Pairing",
"send": "Send",
"warning_msg": "Make sure you have access to the client you are pairing with. This software can give total control to your computer, so be careful!",

View File

@@ -420,6 +420,7 @@
"device_name": "设备名称",
"pair_failure": "配对失败:请检查 PIN 码是否正确输入",
"pair_success": "成功!请检查 Moonlight 以继续",
"pair_success_check_perm": "配对成功!请在下方手动授予客户端必要的权限。",
"pin_pairing": "PIN 码配对",
"send": "发送",
"warning_msg": "请确保您可以掌控您正在配对的客户端。该软件可以完全控制您的计算机,请务必小心!",