Correct language in messages

This commit is contained in:
Midgard 2021-09-19 14:00:26 +02:00
parent 1c9812b2d1
commit bb47b9101d
Signed by: midgard
GPG Key ID: 511C112F1331BBB4
2 changed files with 9 additions and 9 deletions

View File

@ -148,7 +148,7 @@ h1 {
<body>
<div id="owner_label"></div>
<h1>Zeus WPI LED-Automaten-Programmatie</h1>
<h1>Zeus WPI Led-Automaten-Programmatie</h1>
<p class="noscript">Voor deze applicatie is helaas JavaScript vereist.</p>
@ -158,17 +158,17 @@ h1 {
</div>
<div id="led-strip" class="yesscript">
<h2>LED-strip</h2>
<h2>Led-strip</h2>
<div id="segments">
LED-strip wordt geladen...
Led-strip wordt geladen...
</div>
</div>
<div id="segment-control">
<h2>Segmentcontrole</h2>
<h2>Segment</h2>
<div>
Segment <b id="active_segment_id"></b>
van LED <b id="active_segment_begin"></b>
van led <b id="active_segment_begin"></b>
tot <b id="active_segment_end"></b>
</div>
<div id="owner_line">Toegewezen aan: <b id="active_segment_owner"></b> <button id="claim_button"></button> <button id="release_button"></button></div>
@ -180,11 +180,11 @@ h1 {
<p id="not-your-own">Dit segment is niet van jou. Je kunt de code enkel bekijken.</p>
<textarea id="lua_editor" spellcheck="false"></textarea>
<div id="program-controls">
<button id="publish-button">Publiceren</button>
<button id="publish-button">Publiceer</button>
<p>De code wordt niet bestendig bewaard. <strong>Sla ze zelf op op je computer.</strong> Gebruik dit veld bij voorkeur enkel om naar te kopiëren-en-plakken.</p>
</div>
<div id="program-instructions">
<p>Programmeer je segment in Lua. Voor je code lijkt het alsof je LED 1 tot <code>ledamount()</code> hebt. Extra beschikbare functies:</p>
<p>Programmeer je segment in Lua. Voor je code lijkt het alsof je led 1 tot <code>ledamount()</code> hebt. Extra beschikbare functies:</p>
<dl>
<dt>led(led_nr, r, g, b)</dt>
<dd>Stel led <i>led_nr</i> in op de kleur met gegeven RGB-waarden (0255)</dd>

View File

@ -77,7 +77,7 @@ var ledStripControl = (function() {
if (owner) {
document.getElementById("owner_label").innerText = owner;
} else {
document.getElementById("owner_label").innerHTML = "<i>Vrij</i>";
document.getElementById("owner_label").innerHTML = "<i>vrij</i>";
}
document.getElementById("owner_label").style.display = "block";
document.getElementById("owner_label").style.left = (e.currentTarget.clientWidth/2 + e.currentTarget.offsetLeft - document.getElementById("owner_label").clientWidth/2) + "px";
@ -97,7 +97,7 @@ var ledStripControl = (function() {
document.getElementById("publish-button").innerText = "Gepubliceerd";
document.getElementById("publish-button").setAttribute("disabled", "disabled");
} else {
document.getElementById("publish-button").innerText = "Publiceren";
document.getElementById("publish-button").innerText = "Publiceer";
document.getElementById("publish-button").removeAttribute("disabled");
}
}