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

---
 packages/taler-wallet-webextension/src/NavigationBar.tsx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

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

diff --git a/packages/taler-wallet-webextension/src/NavigationBar.tsx b/packages/taler-wallet-webextension/src/NavigationBar.tsx
index f0fc3da28..f72d54ef1 100644
--- a/packages/taler-wallet-webextension/src/NavigationBar.tsx
+++ b/packages/taler-wallet-webextension/src/NavigationBar.tsx
@@ -67,10 +67,10 @@ export function PopupNavBar({ path = "" }: { path?: string }): VNode {
   return (
     <NavigationHeader>
       <a href="/balance" class={path.startsWith("/balance") ? "active" : ""}>
-        <Translate>Balance</Translate>
+        <i18n.Translate>Balance</i18n.Translate>
       </a>
       <a href="/backup" class={path.startsWith("/backup") ? "active" : ""}>
-        <Translate>Backup</Translate>
+        <i18n.Translate>Backup</i18n.Translate>
       </a>
       <a />
       <a href={innerUrl} target="_blank" rel="noreferrer">
@@ -85,15 +85,15 @@ export function WalletNavBar({ path = "" }: { path?: string }): VNode {
     <NavigationHeaderHolder>
       <NavigationHeader>
         <a href="/balance" class={path.startsWith("/balance") ? "active" : ""}>
-          <Translate>Balance</Translate>
+          <i18n.Translate>Balance</i18n.Translate>
         </a>
         <a href="/backup" class={path.startsWith("/backup") ? "active" : ""}>
-          <Translate>Backup</Translate>
+          <i18n.Translate>Backup</i18n.Translate>
         </a>
 
         <JustInDevMode>
           <a href="/dev" class={path.startsWith("/dev") ? "active" : ""}>
-            <Translate>Dev</Translate>
+            <i18n.Translate>Dev</i18n.Translate>
           </a>
         </JustInDevMode>
 
@@ -102,7 +102,7 @@ export function WalletNavBar({ path = "" }: { path?: string }): VNode {
           href="/settings"
           class={path.startsWith("/settings") ? "active" : ""}
         >
-          <Translate>Settings</Translate>
+          <i18n.Translate>Settings</i18n.Translate>
         </a>
       </NavigationHeader>
     </NavigationHeaderHolder>
-- 
cgit v1.2.3

