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

---
 .../taler-wallet-webextension/src/components/DebugCheckbox.tsx | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

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

diff --git a/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx b/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx
index 522fbce98..b5ad7cda7 100644
--- a/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx
+++ b/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx
@@ -14,7 +14,7 @@
  TALER; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
  */
 
-import { Translate } from "@gnu-taler/taler-util";
+import { i18n } from "@gnu-taler/taler-util";
 import { h, VNode } from "preact";
 
 export function DebugCheckbox({
@@ -37,7 +37,9 @@ export function DebugCheckbox({
         htmlFor="checkbox-perm"
         style={{ marginLeft: "0.5em", fontWeight: "bold" }}
       >
-        <Translate>Automatically open wallet based on page content</Translate>
+        <i18n.Translate>
+          Automatically open wallet based on page content
+        </i18n.Translate>
       </label>
       <span
         style={{
@@ -48,10 +50,10 @@ export function DebugCheckbox({
         }}
       >
         (
-        <Translate>
+        <i18n.Translate>
           Enabling this option below will make using the wallet faster, but
           requires more permissions from your browser.
-        </Translate>
+        </i18n.Translate>
         )
       </span>
     </div>
-- 
cgit v1.2.3

