From 8c3e57293422d670b93c2f2a19cfc47f3aecc7b1 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 23 Feb 2022 15:44:14 -0300
Subject: we are force to use i18n.Translate, otherwise pogen won't find the
 tag

---
 .../src/components/Diagnostics.tsx                   | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/components/Diagnostics.tsx')

diff --git a/packages/taler-wallet-webextension/src/components/Diagnostics.tsx b/packages/taler-wallet-webextension/src/components/Diagnostics.tsx
index 04b6abb55..b136ebc24 100644
--- a/packages/taler-wallet-webextension/src/components/Diagnostics.tsx
+++ b/packages/taler-wallet-webextension/src/components/Diagnostics.tsx
@@ -14,7 +14,7 @@
  GNU Taler; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
  */
 
-import { Translate, WalletDiagnostics } from "@gnu-taler/taler-util";
+import { i18n, WalletDiagnostics } from "@gnu-taler/taler-util";
 import { Fragment, h, VNode } from "preact";
 import { PageLink } from "../renderHtml";
 
@@ -27,9 +27,9 @@ export function Diagnostics({ timedOut, diagnostics }: Props): VNode {
   if (timedOut) {
     return (
       <p>
-        <Translate>
+        <i18n.Translate>
           Diagnostics timed out. Could not talk to the wallet backend.
-        </Translate>
+        </i18n.Translate>
       </p>
     );
   }
@@ -48,7 +48,7 @@ export function Diagnostics({ timedOut, diagnostics }: Props): VNode {
         }}
       >
         <p>
-          <Translate>Problems detected:</Translate>
+          <i18n.Translate>Problems detected:</i18n.Translate>
         </p>
         <ol>
           {diagnostics.errors.map((errMsg) => (
@@ -57,23 +57,23 @@ export function Diagnostics({ timedOut, diagnostics }: Props): VNode {
         </ol>
         {diagnostics.firefoxIdbProblem ? (
           <p>
-            <Translate>
+            <i18n.Translate>
               Please check in your <code>about:config</code> settings that you
               have IndexedDB enabled (check the preference name{" "}
               <code>dom.indexedDB.enabled</code>).
-            </Translate>
+            </i18n.Translate>
           </p>
         ) : null}
         {diagnostics.dbOutdated ? (
           <p>
-            <Translate>
+            <i18n.Translate>
               Your wallet database is outdated. Currently automatic migration is
               not supported. Please go{" "}
               <PageLink pageName="/reset-required">
-                <Translate>here</Translate>
+                <i18n.Translate>here</i18n.Translate>
               </PageLink>{" "}
               to reset the wallet database.
-            </Translate>
+            </i18n.Translate>
           </p>
         ) : null}
       </div>
@@ -82,7 +82,7 @@ export function Diagnostics({ timedOut, diagnostics }: Props): VNode {
 
   return (
     <p>
-      <Translate>Running diagnostics</Translate> ...
+      <i18n.Translate>Running diagnostics</i18n.Translate> ...
     </p>
   );
 }
-- 
cgit v1.2.3

