diff --git a/assets/jsons/translations/en.json b/assets/jsons/translations/en.json index fbaa376b..4c07473c 100644 --- a/assets/jsons/translations/en.json +++ b/assets/jsons/translations/en.json @@ -150,12 +150,14 @@ "UNABLE_TO_LAUNCH": "Unable to launch", "STEAM_NOT_RUNNING": "Steam is not running", "BS_ALREADY_RUNNING": "BeatSaber already running", - "EXE_NOT_FINDED": "Missing files" + "EXE_NOT_FINDED": "Missing files", + "EXIT": "Abrupt stop" }, "msg":{ "STEAM_NOT_RUNNING": "Steam must be running to launch BeatSaber.", "BS_ALREADY_RUNNING": "Close BeatSaber before launching it again.", - "EXE_NOT_FINDED": "Some files seem to be missing, try to verify the files." + "EXE_NOT_FINDED": "Some files seem to be missing, try to verify the files.", + "EXIT": "BeatSaber stopped abruptly, tries to check the files." } } }, diff --git a/assets/jsons/translations/es.json b/assets/jsons/translations/es.json index 00126e8f..e8032c3b 100644 --- a/assets/jsons/translations/es.json +++ b/assets/jsons/translations/es.json @@ -151,12 +151,14 @@ "UNABLE_TO_LAUNCH": "No se puede lanzar", "STEAM_NOT_RUNNING": "Steam no funciona", "BS_ALREADY_RUNNING": "BeatSaber ya está en marcha", - "EXE_NOT_FINDED": "Archivos perdidos" + "EXE_NOT_FINDED": "Archivos perdidos", + "EXIT": "Parada abrupta" }, "msg":{ "STEAM_NOT_RUNNING": "Para iniciar BeatSaber es necesario que Steam esté en funcionamiento.", "BS_ALREADY_RUNNING": "Cierra BeatSaber antes de volver a lanzarlo.", - "EXE_NOT_FINDED": "Parece que faltan algunos archivos, intente verificar los archivos." + "EXE_NOT_FINDED": "Parece que faltan algunos archivos, intente verificar los archivos.", + "EXIT": "BeatSaber se detuvo abruptamente, trata de revisar los archivos." } } }, diff --git a/assets/jsons/translations/fr.json b/assets/jsons/translations/fr.json index c1175c6e..b75dfa42 100644 --- a/assets/jsons/translations/fr.json +++ b/assets/jsons/translations/fr.json @@ -150,12 +150,14 @@ "UNABLE_TO_LAUNCH": "Lancement impossible", "STEAM_NOT_RUNNING": "Steam n'est pas lancé", "BS_ALREADY_RUNNING": "BeatSaber est déjà lancé", - "EXE_NOT_FINDED": "Fichiers manquants" + "EXE_NOT_FINDED": "Fichiers manquants", + "EXIT": "Arrêt brutal" }, "msg":{ "STEAM_NOT_RUNNING": "Steam doit être en cours d'exécution pour lancer BeatSaber.", "BS_ALREADY_RUNNING": "Ferme BeatSaber avant de le lancer à nouveau.", - "EXE_NOT_FINDED": "Quelques fichiers semblent manquants. Essaye de vérifier les fichiers." + "EXE_NOT_FINDED": "Quelques fichiers semblent manquants. Essaye de vérifier les fichiers.", + "EXIT": "BeatSaber s'est arrêté brusquement, essaye de vérifier les fichiers." } } }, diff --git a/src/renderer/services/bs-launcher.service.ts b/src/renderer/services/bs-launcher.service.ts index 0cd571b2..7f14c258 100644 --- a/src/renderer/services/bs-launcher.service.ts +++ b/src/renderer/services/bs-launcher.service.ts @@ -32,7 +32,7 @@ export class BSLauncherService{ const version = this.launchState$.value; this.launchState$.next(null); if(res.success){ return; } - this.notificationService.notifyError({title: "Arrêt brutal", desc: "BeatSaber s'est arrêté brusquement, essaye de vérifier les fichiers", actions: [{id: "0", title: "misc.verify"}]}).then(res => { + this.notificationService.notifyError({title: "notifications.bs-launch.errors.titles.EXIT", desc: "notifications.bs-launch.errors.msg.EXIT", actions: [{id: "0", title: "misc.verify"}]}).then(res => { if(res === "0"){ this.bsDownloaderService.download(version, true); } }); });