From e48c5d92d0bd113c680e53aa307ff6d440794007 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Wed, 13 Apr 2022 22:42:16 +0200 Subject: fixed: console logs not parsed through lang() I've known about this bug for a bit but haven't been bothered to fix it, essentially a language key was being logged instead of the string attached to that key :p --- src/app/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/main.js b/src/app/main.js index 9206ae6..9218ec7 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -92,7 +92,7 @@ ipcRenderer.on("setbuttons", (event, state) => {setButtons(state)}) // Frontend part of updating Northstar ipcRenderer.on("ns-update-event", (event, key) => { document.getElementById("update").innerText = `(${lang(key)})`; - console.log(key); + console.log(lang(key)); switch(key) { case "cli.update.uptodate.short": setButtons(true); -- cgit v1.2.3