mirror of
https://github.com/lordfriky/web-cfw-loader.git
synced 2024-12-27 07:31:56 +00:00
e6357d48b2
* Update README
* Delete unneeded file
* Update language stuff
* Update disclaimer (1/2)
* Update disclaimer (2/2)
It still need to be updated on some languages, but that's all I could do for now :b
* Oops
I forgot to include this in the last commit :b
* Update README
I think you should include all the colaborators in the readme as well, not only Elijah
Btw, I'm arranging them in the order in which the languages are shown (excluding Thomleg :b)
* Clearing all Thomleg traces...
* Remove Briccmii
C'mon, was it even necessary to include it in the first place? Hekate can also install AutoRCM by itself...
* Put payloads in individual files
* Add fusee-primary for Atmosphère 0.8.3
* Add proper contribuiting instructions
Plz, improve my grammar on the CONTRIBUITING file, english is hard >.<
* 🤦 x2, maintaing
English is hard x2
* Bump version to 1.4
Because, why not? :b
68 lines
2.9 KiB
JavaScript
68 lines
2.9 KiB
JavaScript
|
|
function setPageLanguage(lang) {
|
|
var langObj = null;
|
|
|
|
if (lang === "en-US")
|
|
langObj = enUS;
|
|
|
|
else if (lang === "it-IT")
|
|
langObj = itIT;
|
|
|
|
else if (lang === "pt-BR")
|
|
langObj = ptBR;
|
|
|
|
else if (lang === "de-DE")
|
|
langObj = deDE;
|
|
|
|
else if (lang === "es-MX")
|
|
langObj = esMX;
|
|
|
|
else if (lang === "pl-PL")
|
|
langObj = plPL;
|
|
|
|
else if (lang === "zh-CN")
|
|
langObj = zhCN;
|
|
|
|
else if (lang === "zh-TW")
|
|
langObj = zhTW;
|
|
|
|
else if (lang === "ru-RU")
|
|
langObj = ruRU;
|
|
|
|
else
|
|
langObj = enUS;
|
|
|
|
|
|
document.getElementById("pageTitle").innerHTML = langObj.pageTitle;
|
|
document.getElementById("pageSubtitle").innerHTML = langObj.pageSubtitle;
|
|
document.getElementById("dangerDanger").innerHTML = langObj.dangerDanger;
|
|
document.getElementById("warningWindows").innerHTML = langObj.warningWindows;
|
|
document.getElementById("warningBrowser").innerHTML = langObj.warningBrowser;
|
|
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;
|
|
document.getElementById("liAPX").innerHTML = langObj.liAPX;
|
|
document.getElementById("liLaunch").innerHTML = langObj.liLaunch;
|
|
document.getElementById("labelContribute").innerHTML = langObj.labelContribute;
|
|
document.getElementById("h1SetupDelivery").innerHTML = langObj.h1SetupDelivery;
|
|
document.getElementById("h4SelectPayload").innerHTML = langObj.h4SelectPayload;
|
|
document.getElementById("optionAtmosphere").innerHTML = langObj.optionAtmosphere;
|
|
document.getElementById("optionSXOS").innerHTML = langObj.optionSXOS;
|
|
document.getElementById("optionReiNX").innerHTML = langObj.optionReiNX;
|
|
document.getElementById("optionCTCaerHekate").innerHTML = langObj.optionCTCaerHekate;
|
|
document.getElementById("optionFusee").innerHTML = langObj.optionFusee;
|
|
document.getElementById("optionUpload").innerHTML = langObj.optionUpload;
|
|
document.getElementById("h4GetByteArray").innerHTML = langObj.h4GetByteArray;
|
|
document.getElementById("h3Log").innerHTML = langObj.h3Log;
|
|
document.getElementById("goButton").innerHTML = langObj.goButton;
|
|
document.getElementById("clearlogsbutton").innerHTML = langObj.clearlogsbutton;
|
|
document.getElementById("disclaimer1").innerHTML = langObj.disclaimer1;
|
|
document.getElementById("disclaimer2").innerHTML = langObj.disclaimer2;
|
|
document.getElementById("disclaimer3").innerHTML = langObj.disclaimer3;
|
|
document.getElementById("disclaimer4").innerHTML = langObj.disclaimer4;
|
|
}
|