Externalize i18n and FAQ frontend assets

This commit is contained in:
2026-02-07 02:17:28 +01:00
parent c765dd322b
commit 5f31455651
6 changed files with 481 additions and 782 deletions

View File

@@ -26,7 +26,6 @@ import {
loadVoteData,
refreshPhaseData,
} from "./js/data.js";
initI18n();
const REFRESH_INTERVAL_MS = 4000;
let refreshInFlight = null;
@@ -332,6 +331,7 @@ async function adminAction(fn, successMessage) {
}
async function main() {
await initI18n();
setupHandlers();
await refreshWithUiErrorHandling();
startRefreshScheduler();