Translations fix (#61)

* Make translations work again!

* Woops, seems like this is broken too

* Forgot this
This commit is contained in:
Lord Friky 2020-01-20 02:40:42 -06:00 committed by tomGER
parent 9ce81963a7
commit a6f58f9095
2 changed files with 1 additions and 6 deletions

View File

@ -56,18 +56,13 @@ function setPageLanguage(lang) {
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;
}

View File

@ -77,7 +77,7 @@
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<p>On Linux, you might get an 'Access Denied' or 'No Compatible Device' error on the Connect dialog! If you do, you can try creating a file at <code>/etc/udev/rules.d/50-switch.rules</code>With the following contents:<br><code>SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"</code> and afterwards add yourself to the plugdev group by typing <code>sudo usermod -a -G plugdev YOUR_NAME</code></p>
<p id="warningLinux">On Linux, you might get an 'Access Denied' or 'No Compatible Device' error on the Connect dialog! If you do, you can try creating a file at <code>/etc/udev/rules.d/50-switch.rules</code>With the following contents:<br><code>SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"</code> and afterwards add yourself to the plugdev group by typing <code>sudo usermod -a -G plugdev YOUR_NAME</code></p>
</div>
<div class="alert alert-warning alert-dismissible" role="alert">