mirror of
https://github.com/lordfriky/web-cfw-loader.git
synced 2024-12-28 16:11:55 +00:00
Merge pull request #24 from Rakau/master
Add Simplified Chinese and Traditional Chinese
This commit is contained in:
commit
0113200290
6
i18n.js
6
i18n.js
@ -23,6 +23,12 @@ function setPageLanguage(lang) {
|
||||
else if (lang === "pl-PL")
|
||||
langObj = plPL;
|
||||
|
||||
else if (lang === "zh-CN")
|
||||
langObj = zhCN;
|
||||
|
||||
else if (lang === "zh-TW")
|
||||
langObj = zhTW;
|
||||
|
||||
else
|
||||
langObj = enUS;
|
||||
|
||||
|
29
i18n/zh-CN.js
Normal file
29
i18n/zh-CN.js
Normal file
@ -0,0 +1,29 @@
|
||||
let zhCN = {
|
||||
"pageTitle" : "任天堂 Switch Payload 网页加载器",
|
||||
"pageSubtitle" : "Fusee Launcher利用WebUSB移植在JavaScript上",
|
||||
"dangerUpload" :"由于不可抗拒的原因,上传的Payload不起作用,目前我现在正在解决这个问题",
|
||||
"dangerDanger" :"这是实验性的测试项目,目前虽然没有发现任何问题,但如果有任何问题发生,我不负责!",
|
||||
"warningWindows" :"由于WebUSB在Chrome上功能受到限制(可能还有其他原因),暂不支持Windows系统。",
|
||||
"warningBrowser" :"除了Chrome浏览器外,其余浏览器无法使用WebUSB",
|
||||
"warningLinux" :"在Linux上,你可能会在Connect对话框中看到“Access Denied”或“No Compatible Device”的错误!如果条件允许,你可以尝试在<code>/etc/udev/rules.d/50-switch.rules</code>创建一个文件,添加内容如下:<code>SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0955\", MODE=\"0664\", GROUP=\"plugdev\"</code>",
|
||||
"warningTested" :"已测试可以在Linux、OSX、Android(无Root权限)和chromebook上使用,可能你的情况稍有不同",
|
||||
"labelInstructions" :"说明:",
|
||||
"liRCM" :"Switch进入RCM模式并且设备已经连接完毕",
|
||||
"liSelect" :"选择一个适合自己的Payload,或者你自己上传一个",
|
||||
"liPress" :"点击 '传递 Payload!'",
|
||||
"liAPX" :"在出现的对话框里,选择“APX”并点击“Connect”(Android系统可能会自动加载)",
|
||||
"liLaunch" :"如果一切顺利,Payload将成功加载!",
|
||||
"h1SetupDelivery" :"部署 Payload",
|
||||
"h4SelectPayload" :"选择 Payload:",
|
||||
"optionCTCaerHekate" :"CTCaer's Hekate Mod v3.0 (全版本)",
|
||||
"optionFusee" :"(Re)Switched test payload (fusee)",
|
||||
"optionSXOS" :"SX OS (全版本)",
|
||||
"optionUpload" :"上传 Payload",
|
||||
"h4GetByteArray" :"获取Payload byte array (无Sploit)",
|
||||
"goButton" :"传递 Payload!",
|
||||
"clearlogsbutton" :"清除日志",
|
||||
"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/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.'
|
||||
}
|
29
i18n/zh-TW.js
Normal file
29
i18n/zh-TW.js
Normal file
@ -0,0 +1,29 @@
|
||||
let zhTW = {
|
||||
"pageTitle" : "任天堂 Switch Payload 網頁加載器",
|
||||
"pageSubtitle" : "Fusee Launcher利用WebUSB移植在JavaScript上",
|
||||
"dangerUpload" :"由於不可抗拒的原因,上傳的Payload不起作用,目前我現在正在解決這個問題",
|
||||
"dangerDanger" :"這是實驗性的測試項目,目前雖然沒有發現任何問題,但如果有任何問題發生,我不負責!",
|
||||
"warningWindows" :"由於WebUSB在Chrome上功能受到限制(可能還有其他原因),暫不支持Windows系統。",
|
||||
"warningBrowser" :"除了Chrome瀏覽器外,其余瀏覽器無法使用WebUSB",
|
||||
"warningLinux" :"在Linux上,你可能會在Connect對話框中看到“Access Denied”或“No Compatible Device”的錯誤!如果條件允許,你可以嘗試在<code>/etc/udev/rules.d/50-switch.rules</code>創建壹個文件,添加內容如下:<code>SUBSYSTEM==\"usb\", ATTR{idVendor}==\"0955\", MODE=\"0664\", GROUP=\"plugdev\"</code>",
|
||||
"warningTested" :"已測試可以在Linux、OSX、Android(無Root權限)和chromebook上使用,可能你的情況稍有不同",
|
||||
"labelInstructions" :"說明:",
|
||||
"liRCM" :"Switch進入RCM模式並且設備已經連接完畢",
|
||||
"liSelect" :"選擇壹個適合自己的Payload,或者你自己上傳壹個",
|
||||
"liPress" :"點擊 '傳遞 Payload!'",
|
||||
"liAPX" :"在出現的對話框裏,選擇“APX”並點擊“Connect”(Android系統可能會自動加載)",
|
||||
"liLaunch" :"如果壹切順利,Payload將成功加載!",
|
||||
"h1SetupDelivery" :"部署 Payload",
|
||||
"h4SelectPayload" :"選擇 Payload:",
|
||||
"optionCTCaerHekate" :"CTCaer's Hekate Mod v3.0 (全版本)",
|
||||
"optionFusee" :"(Re)Switched test payload (fusee)",
|
||||
"optionSXOS" :"SX OS (全版本)",
|
||||
"optionUpload" :"上傳Payload",
|
||||
"h4GetByteArray" :"獲取Payload byte array (無Sploit)",
|
||||
"goButton" :"傳遞Payload!",
|
||||
"clearlogsbutton" :"清除日誌",
|
||||
"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/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.'
|
||||
}
|
@ -14,6 +14,8 @@
|
||||
<script src="./i18n/es-MX.js"></script>
|
||||
<script src="./i18n/fr-FR.js"></script>
|
||||
<script src="./i18n/pl-PL.js"></script>
|
||||
<script src="./i18n/zh-CN.js"></script>
|
||||
<script src="./i18n/zh-TW.js"></script>
|
||||
<script src="./i18n.js"></script>
|
||||
|
||||
<!-- JQuery: needed for some Bootstrap Components -->
|
||||
@ -45,6 +47,9 @@
|
||||
<a class="btn btn-info" href="#" onclick="setPageLanguage('es-MX')">Español</a>
|
||||
<a class="btn btn-info" href="#" onclick="setPageLanguage('fr-FR')">Français</a>
|
||||
<a class="btn btn-info" href="#" onclick="setPageLanguage('pl-PL')">Polski</a>
|
||||
<a class="btn btn-info" href="#" onclick="setPageLanguage('zh-CN')">简体中文</a>
|
||||
<a class="btn btn-info" href="#" onclick="setPageLanguage('zh-TW')">繁体中文</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user