commit
55f9700af0
1
i18n.js
1
i18n.js
|
@ -44,6 +44,7 @@ function setPageLanguage(lang) {
|
|||
document.getElementById("warningLinux").innerHTML = langObj.warningLinux;
|
||||
document.getElementById("warningTested").innerHTML = langObj.warningTested;
|
||||
document.getElementById("labelInstructions").innerHTML = langObj.labelInstructions;
|
||||
if (langObj.labelAddPayload != null) document.getElementById("labelAddPayload").innerHTML = langObj.labelAddPayload;
|
||||
document.getElementById("liRCM").innerHTML = langObj.liRCM;
|
||||
document.getElementById("liSelect").innerHTML = langObj.liSelect;
|
||||
document.getElementById("liPress").innerHTML = langObj.liPress;
|
||||
|
|
|
@ -12,6 +12,7 @@ let enUS = {
|
|||
"liPress" :"Press 'Deliver Payload!'",
|
||||
"liAPX" :"On the consent screen that appears, select 'APX' and hit 'Connect'.",
|
||||
"liLaunch" :"If all goes well, the payload will launch!",
|
||||
"labelAddPayload":"If you would like to add another payload to this project, use <a href='https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308'>this converter</a> and do PR",
|
||||
"h1SetupDelivery" :"Setup Payload Delivery",
|
||||
"h4SelectPayload" :"Select Payload:",
|
||||
"optionCTCaerHekate" :"CTCaer's Hekate Mod v3.2 (All Firmwares)",
|
||||
|
@ -26,5 +27,5 @@ let enUS = {
|
|||
"disclaimer1" :'Source can be found on <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (or by hitting view source, there is no backend!).',
|
||||
"disclaimer2" :'Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.',
|
||||
"disclaimer3" :'Thanks to ktemkin and ReSwitched, as well as <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 and his website</a> as a beginning point for this one.',
|
||||
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/thomleg50">thomleg50</a> for the french translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation, and <a href="https://github.com/lorek123">Lorek</a> for the polish translation.'
|
||||
"disclaimer4" :'Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, and <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation.'
|
||||
}
|
||||
|
|
|
@ -5,14 +5,15 @@ let plPL = {
|
|||
"dangerDanger" :"Aplikacja została w miarę przetestowana. Nikt nie zgłosił żadnych błędów, ale nie jestem odpowiedzialny za cokolwiek, jeżeli coś pójdzie nie tak!",
|
||||
"warningWindows" :"Aplikacja nie działa na Windowsie, ze względu na ograniczenia w implementacji WebUSB w Chrome (pewnie z innych powodów też!)",
|
||||
"warningBrowser" :"Aplikacja działa tylko w Chrome, ponieważ inne przeglądarki nie implementują WebUSB.",
|
||||
"warningLinux" :"Na Linuksie, możesz dostać błąd 'Access Denied' lub 'No Compatible Device' po kliknięciu Połącz! W takiej sytuacji stwórz plik <code>/etc/udev/rules.d/50-switch.rules</code> z zawartością<br><code>SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0955\", MODE=\"0664\", GROUP=\"plugdev\"</code>",
|
||||
"warningTested" :"Aplikacja została przetestowana na Linuksie, OSX, Androidzie (bez roota) i Chromebookach. Ale u Ciebie nie musi",
|
||||
"warningLinux" :"Na Linuksie, możesz dostać błąd 'Access Denied' lub 'No Compatible Device' po kliknięciu Połącz! W takiej sytuacji stwórz plik <code>/etc/udev/rules.d/50-switch.rules</code> z zawartością<br><code>SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0955\", MODE=\"0664\", GROUP=\"plugdev\"</code>.",
|
||||
"warningTested" :"Aplikacja została przetestowana na Linuksie, OSX, Androidzie (bez roota) i Chromebookach. Ale u Ciebie nie musi działać.",
|
||||
"labelInstructions" :"Instrukcja",
|
||||
"liRCM" :"Przełącz Switcha w tryb RCM i podłącz do swojego urządzenia",
|
||||
"liSelect" :"Wybierz gotowy payload, lub załaduj własny",
|
||||
"liPress" :"Wybierz 'Dostarcz Payload!'",
|
||||
"liAPX" :"Następnie wybierz 'APX' i 'Połącz'.",
|
||||
"liLaunch" :"Jeżeli się udało, to payload zostanie uruchomiony!",
|
||||
"labelAddPayload" :'Jeżeli chciałbyś dodać swój payload do projektu to możesz skorzystać z <a href="https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308">tego konwertera</a> i wysłać PR.',
|
||||
"h1SetupDelivery" :"Wybierz konfigurację payloadu",
|
||||
"h4SelectPayload" :"Wybierz Payload",
|
||||
"optionCTCaerHekate" :"CTCaer's Hekate Mod v3.2 (All Firmwares)",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
let zhCN = {
|
||||
"pageTitle" : "任天堂 Switch Payload 网页加载器",
|
||||
"pageSubtitle" : "Fusee Launcher利用WebUSB移植在JavaScript上",
|
||||
"dangerUpload" :"由于不可抗拒的原因,上传的Payload不起作用,目前我现在正在解决这个问题",
|
||||
"dangerDanger" :"这是实验性的测试项目,目前虽然没有发现任何问题,但如果有任何问题发生,我不负责!",
|
||||
"warningWindows" :"由于WebUSB在Chrome上功能受到限制(可能还有其他原因),暂不支持Windows系统。",
|
||||
"warningBrowser" :"除了Chrome浏览器外,其余浏览器无法使用WebUSB",
|
||||
|
@ -15,7 +14,7 @@ let zhCN = {
|
|||
"liLaunch" :"如果一切顺利,Payload将成功加载!",
|
||||
"h1SetupDelivery" :"部署 Payload",
|
||||
"h4SelectPayload" :"选择 Payload:",
|
||||
"optionCTCaerHekate" :"CTCaer's Hekate Mod v3.0 (全版本)",
|
||||
"optionCTCaerHekate" :"CTCaer's Hekate Mod v3.2 (全版本)",
|
||||
"optionFusee" :"(Re)Switched test payload (fusee)",
|
||||
"optionSXOS" :"SX OS (全版本)",
|
||||
"optionReiNX" :"ReiNX (With SigPatches)",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
let zhTW = {
|
||||
"pageTitle" : "任天堂 Switch Payload 網頁加載器",
|
||||
"pageSubtitle" : "Fusee Launcher利用WebUSB移植在JavaScript上",
|
||||
"dangerUpload" :"由於不可抗拒的原因,上傳的Payload不起作用,目前我現在正在解決這個問題",
|
||||
"dangerDanger" :"這是實驗性的測試項目,目前雖然沒有發現任何問題,但如果有任何問題發生,我不負責!",
|
||||
"warningWindows" :"由於WebUSB在Chrome上功能受到限制(可能還有其他原因),暫不支持Windows系統。",
|
||||
"warningBrowser" :"除了Chrome瀏覽器外,其余瀏覽器無法使用WebUSB",
|
||||
|
@ -15,7 +14,7 @@ let zhTW = {
|
|||
"liLaunch" :"如果壹切順利,Payload將成功加載!",
|
||||
"h1SetupDelivery" :"部署 Payload",
|
||||
"h4SelectPayload" :"選擇 Payload:",
|
||||
"optionCTCaerHekate" :"CTCaer's Hekate Mod v3.0 (全版本)",
|
||||
"optionCTCaerHekate" :"CTCaer's Hekate Mod v3.2 (全版本)",
|
||||
"optionFusee" :"(Re)Switched test payload (fusee)",
|
||||
"optionSXOS" :"SX OS (全版本)",
|
||||
"optionReiNX" :"ReiNX (With SigPatches)",
|
||||
|
|
|
@ -93,7 +93,9 @@
|
|||
<li id="liLaunch">If all goes well, the payload will launch!</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-info" role="alert">
|
||||
<p id="labelAddPayload">If you would like to add another payload to this project, use <a href="https://gist.github.com/lorek123/561e4f7b5f61618029cc70672e3d7308">this converter</a> and do PR</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -113,6 +115,7 @@
|
|||
<option value="fusee" id="optionFusee" >(Re)Switched test payload (fusee)</option>
|
||||
<option value="sx os" id="optionSXOS" >SX OS (All Firmwares)</option>
|
||||
<option value="ReiNX" id="optionReiNX" >ReiNX (With SigPatches)</option>
|
||||
<option value="briccmii" id="briccmii" >briccmii</option>
|
||||
<option value="uploaded" id="optionUpload" >Upload payload</option>
|
||||
</select>
|
||||
</div>
|
||||
|
@ -165,7 +168,7 @@
|
|||
<p id="disclaimer1">Source can be found on <a href="https://github.com/ElijahZAwesome/web-cfw-loader/">GitHub</a> (or by hitting view source, there is no backend!).</p>
|
||||
<p id="disclaimer2">Ported from <a href="https://github.com/reswitched/fusee-launcher">fusee-launcher</a>.</p>
|
||||
<p id="disclaimer3">Thanks to ktemkin and ReSwitched, as well as <br><a href="https://atlas44.s3-us-west-2.amazonaws.com/web-fusee-launcher/index.html">Atlas44 and his website</a> as a beginning point for this one. </p>
|
||||
<p id="disclaimer4">Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/thomleg50">thomleg50</a> for the french translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation, and <a href="https://github.com/lorek123">Lorek</a> for the polish translation.</p>
|
||||
<p id="disclaimer4">Lastly, thanks to <a href="https://github.com/falquinho">falquinho</a> for the new bootstrap layout and portuguese translation, <a href="https://github.com/thomleg50">thomleg50</a> for the french translation, <a href="https://github.com/Filo97">Filo97</a> for the italian translation, <a href="https://github.com/tumGER">tumGER</a> for his german translation, <a href="https://github.com/lordfriky">Lord_Friky</a> for the spanish translation, <a href="https://github.com/lorek123">Lorek</a> for the polish translation, <a href="https://github.com/Rakau">Rakau</a> for the chinese translations and <a href="https://github.com/tumGER">tumGER</a> for the russian translations</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
3
main.js
3
main.js
|
@ -158,6 +158,9 @@ document.getElementById("goButton").addEventListener("click", async () => {
|
|||
} else if (payloadType === "ReiNX") {
|
||||
payload = ReiNX;
|
||||
|
||||
} else if (payloadType === "briccmii") {
|
||||
payload = briccmii;
|
||||
|
||||
} else if (payloadType === "uploaded") {
|
||||
const file = document.getElementById("payloadUpload").files[0];
|
||||
if (!file) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue