new translation fix and some overall imrpovement to how the tournament and league workflow works.
This commit is contained in:
@@ -22,9 +22,14 @@ async function initI18n() {
|
||||
|
||||
// Translate the page
|
||||
translatePage();
|
||||
|
||||
// Signal that translations are ready
|
||||
window.dispatchEvent(new Event('i18nReady'));
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Failed to initialize i18n:', error);
|
||||
// Even on error, signal ready so page doesn't get stuck
|
||||
window.dispatchEvent(new Event('i18nReady'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user