Make translations static and update electron

This commit is contained in:
AlphaX-Projects
2023-11-25 16:25:19 +01:00
parent c9e70ce7cd
commit fc17216b3a
112 changed files with 555 additions and 425 deletions

View File

@@ -1,7 +1,7 @@
import Base58 from './deps/Base58.js'
import {kdf} from './kdf.js'
import {AES_CBC, HmacSha512} from 'asmcrypto.js'
import {get, registerTranslateConfig} from 'lit-translate'
import {get, registerTranslateConfig} from '../../core/translate/index.js'
registerTranslateConfig({
loader: lang => fetch(`/language/${lang}.json`).then(res => res.json())

View File

@@ -2,7 +2,7 @@ import {store} from '../api_deps.js'
import {stateAwait} from './utils/stateAwait.js'
import {Sha512} from 'asmcrypto.js'
import utils from '../api/deps/utils.js'
import {get, registerTranslateConfig} from 'lit-translate'
import {get, registerTranslateConfig} from '../../core/translate/index.js'
registerTranslateConfig({
loader: lang => fetch(`/language/${lang}.json`).then(res => res.json())