From f2b319921c53010446e05ac4f24eef9995f65836 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 9 Dec 2022 11:58:39 -0300
Subject: use translation from commons

---
 packages/demobank-ui/src/components/app.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'packages/demobank-ui/src/components/app.tsx')

diff --git a/packages/demobank-ui/src/components/app.tsx b/packages/demobank-ui/src/components/app.tsx
index 3c3784f19..8679b05dd 100644
--- a/packages/demobank-ui/src/components/app.tsx
+++ b/packages/demobank-ui/src/components/app.tsx
@@ -21,8 +21,9 @@ import {
 import { h, FunctionalComponent } from "preact";
 import { BackendStateProvider } from "../context/backend.js";
 import { PageStateProvider } from "../context/pageState.js";
-import { TranslationProvider } from "../context/translation.js";
 import { Routing } from "../pages/Routing.js";
+import { strings } from "../i18n/strings.js";
+import { TranslationProvider } from "@gnu-taler/web-util/lib/index.browser";
 
 /**
  * FIXME:
@@ -43,7 +44,7 @@ import { Routing } from "../pages/Routing.js";
 
 const App: FunctionalComponent = () => {
   return (
-    <TranslationProvider>
+    <TranslationProvider source={strings}>
       <PageStateProvider>
         <BackendStateProvider>
           <Routing />
-- 
cgit v1.2.3

