finished translations

This commit is contained in:
MathMan05
2024-11-01 13:17:04 -05:00
parent 00c105db28
commit 3fb4920ab0
10 changed files with 126 additions and 29 deletions

View File

@@ -20,7 +20,17 @@ import { I18n } from "./i18n.js";
window.location.href = "/login.html";
return;
}
{
const loadingText=document.getElementById("loadingText");
const loaddesc=document.getElementById("load-desc");
const switchaccounts=document.getElementById("switchaccounts");
if(loadingText&&loaddesc&&switchaccounts){
loadingText.textContent=I18n.getTranslation("htmlPages.loadingText");
loaddesc.textContent=I18n.getTranslation("htmlPages.loaddesc");
switchaccounts.textContent=I18n.getTranslation("htmlPages.switchaccounts");
}
}
I18n
function showAccountSwitcher(): void{
const table = document.createElement("div");
table.classList.add("flexttb","accountSwitcher");