diff options
author | 0neGal <mail@0negal.com> | 2022-04-13 22:42:16 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2022-04-13 22:42:16 +0200 |
commit | e48c5d92d0bd113c680e53aa307ff6d440794007 (patch) | |
tree | c723c0b37679164cc776c503a030cd9a4ac9fe4e /src/app/main.js | |
parent | b0e0e919ee5d94a3a0d935018f08d3b0fa603245 (diff) | |
download | Viper-e48c5d92d0bd113c680e53aa307ff6d440794007.tar.gz Viper-e48c5d92d0bd113c680e53aa307ff6d440794007.zip |
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
Diffstat (limited to 'src/app/main.js')
-rw-r--r-- | src/app/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); |