feat: Add translations and language support

This commit is contained in:
jamesread
2025-11-10 13:20:40 +00:00
parent 3967b91cf0
commit 2ed564a403
17 changed files with 669 additions and 135 deletions

View File

@@ -105,7 +105,7 @@ function waitForInitAndLoadDashboard() {
}, 1000)
// Check if init has completed successfully
if (window.initCompleted && window.initResponse) {
if (window.initResponse) {
getDashboard()
} else if (window.initError) {
// Init failed, show error immediately
@@ -118,7 +118,7 @@ function waitForInitAndLoadDashboard() {
} else {
// Init hasn't completed yet, poll for completion
checkInitInterval = setInterval(() => {
if (window.initCompleted && window.initResponse) {
if (window.initResponse) {
clearInterval(checkInitInterval)
checkInitInterval = null
getDashboard()