fix(i18n): update localization docs and js strings (#2325)

This commit is contained in:
ReenigneArcher
2024-03-30 10:01:48 -04:00
committed by GitHub
parent ae71a6ad83
commit 2b059c6797
3 changed files with 14 additions and 2 deletions

View File

@@ -50,12 +50,12 @@
if (response.status.toString().toLowerCase() === "true") {
document.querySelector(
"#status"
).innerHTML = `<div class="alert alert-success" role="alert">Success! Please check Moonlight to continue</div>`;
).innerHTML = `<div class="alert alert-success" role="alert">$t('pin.pair_success')</div>`;
document.querySelector("#pin-input").value = "";
} else {
document.querySelector(
"#status"
).innerHTML = `<div class="alert alert-danger" role="alert">Pairing Failed: Check if the PIN is typed correctly</div>`;
).innerHTML = `<div class="alert alert-danger" role="alert">$t('pin.pair_failure')</div>`;
}
});
});

View File

@@ -336,6 +336,8 @@
"success_msg": "Password has been changed successfully! This page will reload soon, your browser will ask you for the new credentials."
},
"pin": {
"pair_failure": "Pairing Failed: Check if the PIN is typed correctly",
"pair_success": "Success! Please check Moonlight to continue",
"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!"