diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-01-10 00:45:32 +0100 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-01-10 00:45:32 +0100 |
commit | 7ffe08c2bf76edd66f7d3099fb212831a0567f31 (patch) | |
tree | 2adbd66d79bca985283109fc733ffedb2b27d9f2 /src | |
parent | 06a57cce8195e7091e4fa22e2068afefb8dff19c (diff) | |
download | Viper-7ffe08c2bf76edd66f7d3099fb212831a0567f31.tar.gz Viper-7ffe08c2bf76edd66f7d3099fb212831a0567f31.zip |
[feat] translating 'install' option
Diffstat (limited to 'src')
-rw-r--r-- | src/app/main.js | 2 | ||||
-rw-r--r-- | src/lang/en.json | 1 | ||||
-rw-r--r-- | src/lang/fr.json | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/app/main.js b/src/app/main.js index 86722b4..3879ac5 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -163,7 +163,7 @@ ipcRenderer.on("version", (event, versions) => { } // Since Northstar is not installed, we cannot launch it - northstar.innerText = 'Install'; + northstar.innerText = lang('gui.installnorthstar'); shouldInstallNorthstar = true; } }); ipcRenderer.send("getversion"); diff --git a/src/lang/en.json b/src/lang/en.json index 61a8545..68d46c7 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -61,6 +61,7 @@ "gui.launch": "Launch", "gui.launchvanilla": "Vanilla", "gui.launchnorthstar": "Northstar", + "gui.installnorthstar": "Install", "gui.selectpath": "Please select the path!", "gui.gamepath.must": "The game path must be set to start Viper.", diff --git a/src/lang/fr.json b/src/lang/fr.json index 58302e9..22afa9a 100644 --- a/src/lang/fr.json +++ b/src/lang/fr.json @@ -61,6 +61,7 @@ "gui.launch": "Jouer", "gui.launchvanilla": "Vanilla", "gui.launchnorthstar": "Northstar", + "gui.installnorthstar": "Installer", "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.", |