diff --git a/src/asteroids-website/src/lib/localizer.ts b/src/asteroids-website/src/lib/localizer.ts index c6a4aef..1ab5f20 100644 --- a/src/asteroids-website/src/lib/localizer.ts +++ b/src/asteroids-website/src/lib/localizer.ts @@ -82,11 +82,11 @@ export class Localizer { case Locales.english: case Locales.unknown: default: - return "Starting..."; - case Locales.french: - return "Démarrage en cours..."; + return "Starting... ⌛"; case Locales.spanish: - return "Iniciando..."; + return "Iniciando... ⌛"; + case Locales.french: + return "Démarrage en cours... ⌛"; } } } diff --git a/src/asteroids-website/src/lib/module.ts b/src/asteroids-website/src/lib/module.ts index 3dc0ef5..8a9921c 100644 --- a/src/asteroids-website/src/lib/module.ts +++ b/src/asteroids-website/src/lib/module.ts @@ -96,10 +96,7 @@ export class Module implements ICustomModule { Module.setStatus(e); } - public static readonly statusMessage = writable("⏳", () => { - this.statusMessage.set(Localizer.GetLocalInitText()); - return () => {}; - }); + public static readonly statusMessage = writable("⏳"); public static setStatus(e: string): void { // "Running..." is from emscripten.js and isn't localized so just return" if (e == "Running...") diff --git a/src/asteroids-website/src/locales/en.json b/src/asteroids-website/src/locales/en.json index 4d49293..273fdd6 100644 --- a/src/asteroids-website/src/locales/en.json +++ b/src/asteroids-website/src/locales/en.json @@ -1,6 +1,6 @@ { "page": { - "Downloading": "Downloading...", + "Downloading": "Downloading... 📡", "View_Source": "View Source", "Fullscreen": "Fullscreen", "Exit_Fullscreen": "Exit_Fullscreen", diff --git a/src/asteroids-website/src/locales/es.json b/src/asteroids-website/src/locales/es.json index ede1fe1..0af3ec7 100644 --- a/src/asteroids-website/src/locales/es.json +++ b/src/asteroids-website/src/locales/es.json @@ -1,6 +1,6 @@ { "page": { - "Downloading": "Descargando...", + "Downloading": "Descargando... 📡", "View_Source": "Ver código fuente", "Fullscreen": "Pantalla completa", "Exit_Fullscreen": "Salir de pantalla completa", diff --git a/src/asteroids-website/src/locales/fr.json b/src/asteroids-website/src/locales/fr.json index 1bbceb9..c89b26d 100644 --- a/src/asteroids-website/src/locales/fr.json +++ b/src/asteroids-website/src/locales/fr.json @@ -1,6 +1,6 @@ { "page": { - "Downloading": "Téléchargement en cours...", + "Downloading": "Téléchargement en cours... 📡", "View_Source": "Voir le code source", "Fullscreen": "Plein écran", "Exit_Fullscreen": "Quitter le plein écran", diff --git a/src/asteroids-website/src/routes/+page.svelte b/src/asteroids-website/src/routes/+page.svelte index 48f76c2..9155b02 100644 --- a/src/asteroids-website/src/routes/+page.svelte +++ b/src/asteroids-website/src/routes/+page.svelte @@ -107,6 +107,7 @@ let emscripten: CustomEmscriptenModule | undefined; onMount(async () => { + Module.setStatus(Localizer.GetLocalInitText()); isItchZone = window.location?.host?.endsWith("itch.zone"); fullscreenEnabled = document.fullscreenEnabled; manifestJson = Localizer.GetLocalePrefix() + ".manifest.json";