From 145baa0e1606816d7784deac8eafa58490854141 Mon Sep 17 00:00:00 2001 From: Rémy Raes Date: Tue, 4 Jan 2022 17:41:13 +0100 Subject: fix: No game path (#24) * [refactor] moving main.setPath listener outside start method * [refactor] setpath tells if game path is set or not * newpath event tells if game path dialog is successful or not * [feat] main window will not show if path is not set * [feat] viper displays a dialog and exits if no game path was prompted * [fix] viper prompts for game path if viper.json:gamepath is not set * [feat] translating gui.gamepath.must key * code cleanup fixing single quotes and alike * fix gui.gamepath.must message Co-authored-by: 0neGal --- src/lang/en.json | 1 + src/lang/fr.json | 1 + 2 files changed, 2 insertions(+) (limited to 'src/lang') diff --git a/src/lang/en.json b/src/lang/en.json index 83f23f3..cc75268 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -36,6 +36,7 @@ "gui.launchnorthstar": "Northstar", "gui.selectpath": "Please select the path!", + "gui.gamepath.must": "The game path must be set to start Viper.", "general.launching": "Launching", diff --git a/src/lang/fr.json b/src/lang/fr.json index fe4d63c..870fbfe 100644 --- a/src/lang/fr.json +++ b/src/lang/fr.json @@ -36,6 +36,7 @@ "gui.launchnorthstar": "Northstar", "gui.selectpath": "Veuillez sélectionner le dossier où se trouve le client Titanfall 2.", + "gui.gamepath.must": "Vous devez sélectionner le chemin du dossier du jeu Titanfall 2 pour pouvoir lancer Viper.", "general.launching": "Lancement", -- cgit v1.2.3