diff options
author | Sebastian <sebasjm@gmail.com> | 2021-06-08 15:58:13 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-06-08 17:18:24 -0300 |
commit | 2e1438eb048e48ec7aa71246878b1125c9e34694 (patch) | |
tree | 142ae520aa09b16785c3f9dd7a41575d6349db33 /packages/taler-wallet-webextension | |
parent | 2c5612fd63f766ce19a9f885e5142b04bcf11604 (diff) | |
download | wallet-core-2e1438eb048e48ec7aa71246878b1125c9e34694.tar.xz |
moving logger into taler-util
Diffstat (limited to 'packages/taler-wallet-webextension')
3 files changed, 6 insertions, 5 deletions
diff --git a/packages/taler-wallet-webextension/src/browserHttpLib.ts b/packages/taler-wallet-webextension/src/browserHttpLib.ts index fe12289d2..63fd456f4 100644 --- a/packages/taler-wallet-webextension/src/browserHttpLib.ts +++ b/packages/taler-wallet-webextension/src/browserHttpLib.ts @@ -19,13 +19,12 @@ */ import { OperationFailedError, - Logger, HttpRequestLibrary, HttpRequestOptions, HttpResponse, Headers, } from "@gnu-taler/taler-wallet-core"; -import { TalerErrorCode } from "@gnu-taler/taler-util"; +import { Logger, TalerErrorCode } from "@gnu-taler/taler-util"; const logger = new Logger("browserHttpLib"); diff --git a/packages/taler-wallet-webextension/src/browserWorkerEntry.ts b/packages/taler-wallet-webextension/src/browserWorkerEntry.ts index 8ab22e23b..d8dff72fb 100644 --- a/packages/taler-wallet-webextension/src/browserWorkerEntry.ts +++ b/packages/taler-wallet-webextension/src/browserWorkerEntry.ts @@ -22,7 +22,8 @@ * Imports. */ -import { CryptoImplementation, Logger } from "@gnu-taler/taler-wallet-core"; +import { Logger } from "@gnu-taler/taler-util"; +import { CryptoImplementation } from "@gnu-taler/taler-wallet-core"; const logger = new Logger("browserWorkerEntry.ts"); diff --git a/packages/taler-wallet-webextension/src/pageEntryPoint.ts b/packages/taler-wallet-webextension/src/pageEntryPoint.ts index 00fd5fc72..960b19950 100644 --- a/packages/taler-wallet-webextension/src/pageEntryPoint.ts +++ b/packages/taler-wallet-webextension/src/pageEntryPoint.ts @@ -21,7 +21,8 @@ */ import { render } from "preact"; -import { setupI18n } from "@gnu-taler/taler-wallet-core"; +import { setupI18n } from "@gnu-taler/taler-util"; +import { strings } from "./i18n" import { Application } from './Application'; function main(): void { @@ -37,7 +38,7 @@ function main(): void { } } -setupI18n("en-US"); +setupI18n("en-US", strings); if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", main); |