From 68b887344289902273f0e0591e1038182ca4da77 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 24 Feb 2022 12:41:47 -0300 Subject: added ja lang and implemented transalation switch --- packages/taler-wallet-webextension/src/walletEntryPoint.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-webextension/src/walletEntryPoint.tsx') diff --git a/packages/taler-wallet-webextension/src/walletEntryPoint.tsx b/packages/taler-wallet-webextension/src/walletEntryPoint.tsx index 9d8d92863..f2240cdf1 100644 --- a/packages/taler-wallet-webextension/src/walletEntryPoint.tsx +++ b/packages/taler-wallet-webextension/src/walletEntryPoint.tsx @@ -35,6 +35,7 @@ import { } from "./components/styled"; import { DevContextProvider } from "./context/devContext"; import { IoCProviderForRuntime } from "./context/iocContext"; +import { TranslationProvider } from "./context/translation"; import { PayPage } from "./cta/Pay"; import { RefundPage } from "./cta/Refund"; import { TipPage } from "./cta/Tip"; @@ -93,7 +94,7 @@ function Application(): VNode { } } return ( -
+ {({ devMode }: { devMode: boolean }) => ( @@ -262,7 +263,7 @@ function Application(): VNode { )} -
+ ); } -- cgit v1.2.3