From 0c30429ab4b0a941f00b7ced79065ef05575d583 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 3 Jan 2022 17:25:47 +0100 Subject: [PATCH] fixed missingpath localization --- src/app/main.js | 2 +- src/utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/main.js b/src/app/main.js index d30489e8..8cd00a34 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -21,7 +21,7 @@ if (fs.existsSync("viper.json")) { settings = {...settings, ...JSON.parse(fs.readFileSync("viper.json", "utf8"))}; settings.zip = path.join(settings.gamepath + "/northstar.zip"); } else { - alert(lang("general.missinggamepath")); + alert(lang("general.missingpath")); setpath(); } diff --git a/src/utils.js b/src/utils.js index e3783663..35c8932e 100644 --- a/src/utils.js +++ b/src/utils.js @@ -30,7 +30,7 @@ if (fs.existsSync("viper.json")) { settings = {...settings, ...JSON.parse(fs.readFileSync("viper.json", "utf8"))}; settings.zip = path.join(settings.gamepath + "/northstar.zip"); } else { - console.log(lang("general.missinggamepath")); + console.log(lang("general.missingpath")); } function setpath(win) {