2018-05-22 03:15:19 +00:00
|
|
|
|
|
|
|
function setPageLanguage(lang) {
|
|
|
|
var langObj = null;
|
|
|
|
|
|
|
|
if (lang === "en-US")
|
|
|
|
langObj = enUS;
|
|
|
|
|
2018-05-24 17:57:20 +00:00
|
|
|
else if (lang === "it-IT")
|
2018-05-22 03:15:19 +00:00
|
|
|
langObj = itIT;
|
|
|
|
|
|
|
|
else if (lang === "pt-BR")
|
|
|
|
langObj = ptBR;
|
|
|
|
|
|
|
|
else if (lang === "de-DE")
|
|
|
|
langObj = deDE;
|
2018-05-24 17:57:20 +00:00
|
|
|
|
|
|
|
else if (lang === "es-MX")
|
|
|
|
langObj = esMX;
|
2018-05-25 13:39:49 +00:00
|
|
|
|
|
|
|
else if (lang === "fr-FR")
|
|
|
|
langObj = frFR;
|
2018-07-06 16:13:20 +00:00
|
|
|
|
|
|
|
else if (lang === "pl-PL")
|
|
|
|
langObj = plPL;
|
2018-07-23 03:31:48 +00:00
|
|
|
|
2018-07-09 03:06:04 +00:00
|
|
|
else if (lang === "zh-CN")
|
|
|
|
langObj = zhCN;
|
2018-07-23 03:31:48 +00:00
|
|
|
|
2018-07-09 03:06:04 +00:00
|
|
|
else if (lang === "zh-TW")
|
|
|
|
langObj = zhTW;
|
2018-05-24 17:57:20 +00:00
|
|
|
|
2018-07-09 05:39:51 +00:00
|
|
|
else if (lang === "ru-RU")
|
|
|
|
langObj = ruRU;
|
2018-05-24 17:57:20 +00:00
|
|
|
|
|
|
|
else
|
2018-05-22 03:15:19 +00:00
|
|
|
langObj = enUS;
|
2018-05-24 17:57:20 +00:00
|
|
|
|
2018-05-22 03:15:19 +00:00
|
|
|
|
|
|
|
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;
|
2018-07-22 19:38:26 +00:00
|
|
|
if (langObj.labelAddPayload != null) document.getElementById("labelAddPayload").innerHTML = langObj.labelAddPayload;
|
2018-05-22 03:15:19 +00:00
|
|
|
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("h1SetupDelivery").innerHTML = langObj.h1SetupDelivery;
|
|
|
|
document.getElementById("h4SelectPayload").innerHTML = langObj.h4SelectPayload;
|
2018-07-08 21:36:10 +00:00
|
|
|
document.getElementById("optionCTCaerHekate").innerHTML = langObj.optionCTCaerHekate;
|
2018-05-22 03:15:19 +00:00
|
|
|
document.getElementById("optionFusee").innerHTML = langObj.optionFusee;
|
2018-07-08 21:36:10 +00:00
|
|
|
document.getElementById("optionSXOS").innerHTML = langObj.optionSXOS;
|
2018-07-23 03:31:48 +00:00
|
|
|
document.getElementById("optionReiNX").innerHTML = langObj.optionReiNX;
|
2018-05-22 03:15:19 +00:00
|
|
|
document.getElementById("optionUpload").innerHTML = langObj.optionUpload;
|
|
|
|
document.getElementById("h4GetByteArray").innerHTML = langObj.h4GetByteArray;
|
2018-07-09 22:34:29 +00:00
|
|
|
document.getElementById("h3Log").innerHTML = langObj.h3Log;
|
2018-05-22 03:15:19 +00:00
|
|
|
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;
|
2018-05-22 13:14:54 +00:00
|
|
|
}
|