From a81ff286bbe4ef1fe37ae58e3c8fbc6d7a9a2caa Mon Sep 17 00:00:00 2001 From: Core Date: Fri, 16 Sep 2022 19:12:16 +0100 Subject: [PATCH] auto language on oobe --- src/main/base/store.ts | 1 - src/renderer/main/vueapp.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/base/store.ts b/src/main/base/store.ts index ad94b9e8..a2a98363 100644 --- a/src/main/base/store.ts +++ b/src/main/base/store.ts @@ -240,7 +240,6 @@ export class Store { }; constructor() { - this.defaults.general.language = this.checkLocale(app.getLocale().replace("-", "_")) ?? "en_US"; Store.cfg = new ElectronStore({ name: "cider-config", defaults: this.defaults, diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index 8e95b1d2..3341d4f9 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -1502,7 +1502,7 @@ const app = new Vue({ } } - this.library.backgroundNotification.message = "Building playlist cache..."; + this.library.backgroundNotification.message = app.getLz("notification.buildingPlaylistCache"); this.library.backgroundNotification.show = true; async function deepScan(parent = "p.playlistsroot") {