Skip to content

Releases: reZach/i18next-electron-fs-backend

v3.0.2

28 Apr 18:23
Compare
Choose a tag to compare

Changes

  • Pushed a patch to fix an issue with multiple windows

v3.0.1

09 Nov 02:04
Compare
Choose a tag to compare

Updates

  • Updated dependencies

v3.0.0

27 Jul 03:45
Compare
Choose a tag to compare

Changes

  • The package supports a custom contextBridge.exposeInMainWorld apiKey (first parameter) other than "api" now. The previous value of ipcRenderer was not used and confusing

Before

backend: {
    loadPath: "./app/localization/locales/{{lng}}/{{ns}}.json",
    addPath: "./app/localization/locales/{{lng}}/{{ns}}.missing.json",
    ipcRenderer: window.api.i18nextElectronBackend // important!
},

After

backend: {
    loadPath: "./app/localization/locales/{{lng}}/{{ns}}.json",
    addPath: "./app/localization/locales/{{lng}}/{{ns}}.missing.json",
    contextBridgeApiKey: "api" // needs to match first parameter of contextBridge.exposeInMainWorld in preload file; defaults to "api"
},

v2.0.0

20 Sep 02:11
Compare
Choose a tag to compare

Changes

  • Fixes translation files for mac, breaking change. Please pass in process into the backend (README updated with change).

v1.4.0

17 Jul 05:49
Compare
Choose a tag to compare

Changes

  • fixed packed translations for mac

v1.3.9

10 Sep 01:18
Compare
Choose a tag to compare

Changes

  • Bumped dependencies

v1.3.8

28 Jul 01:02
Compare
Choose a tag to compare

Changes

  • Fixed missing reference #10 (thanks to @fauxsoup)
  • Minify output file

v1.3.7

23 Jul 20:21
Compare
Choose a tag to compare

Changes

  • Added helpful logging in case the preload.js file isn't set up properly.

v1.3.6

22 Apr 03:11
Compare
Choose a tag to compare

Notes

  • bumped deps

v1.3.5

04 Oct 05:08
Compare
Choose a tag to compare

cleaning code up (lint fixing)
update deps