aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-09-16 03:16:37 +0200
committer0neGal <mail@0negal.com>2023-09-16 03:16:37 +0200
commit53c19052738a4a9cc43feca31e8231c844b4d2b5 (patch)
tree1ca9f7ad99e839bf4b87b542cd4db053b65daa22 /src/modules
parent1c405a64400b16414559dc48250b946722f0108a (diff)
downloadViper-53c19052738a4a9cc43feca31e8231c844b4d2b5.tar.gz
Viper-53c19052738a4a9cc43feca31e8231c844b4d2b5.zip
more minor fixes to the change in lang files
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/update.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/update.js b/src/modules/update.js
index c6c92d7..087cbd9 100644
--- a/src/modules/update.js
+++ b/src/modules/update.js
@@ -171,7 +171,7 @@ update.northstar = async () => {
// Makes sure it is not already the latest version
if (! await northstar_update_available()) {
- ipcMain.emit("ns-update-event", "cli.update.uptodate.short");
+ ipcMain.emit("ns-update-event", "cli.update.uptodate_short");
console.ok(lang("cli.update.uptodate").replace("%s", ns_version));
win.log(lang("gui.update.uptodate"));
@@ -189,7 +189,7 @@ update.northstar = async () => {
https.get(requests.getLatestNsVersionLink(), (res) => {
// cancel out if zip can't be retrieved and or found
if (res.statusCode !== 200) {
- ipcMain.emit("ns-update-event", "cli.update.uptodate.short");
+ ipcMain.emit("ns-update-event", "cli.update.uptodate_short");
console.ok(lang("cli.update.uptodate"), ns_version);
return false;
}
@@ -249,7 +249,7 @@ update.northstar = async () => {
ipcMain.emit("gui-getmods");
ipcMain.emit("get-version");
- ipcMain.emit("ns-update-event", "cli.update.uptodate.short");
+ ipcMain.emit("ns-update-event", "cli.update.uptodate_short");
win.log(lang("gui.update.finished"));
console.ok(lang("cli.update.finished"));
cli.exit();