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/wallet/BackupPage.tsx                          | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

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

diff --git a/packages/taler-wallet-webextension/src/wallet/BackupPage.tsx b/packages/taler-wallet-webextension/src/wallet/BackupPage.tsx
index 73fff6e85..a5821d48b 100644
--- a/packages/taler-wallet-webextension/src/wallet/BackupPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/BackupPage.tsx
@@ -72,7 +72,7 @@ export function BackupPage({ onAddProvider }: Props): VNode {
   if (status.hasError) {
     return (
       <LoadingError
-        title={<Translate>Could not load backup providers</Translate>}
+        title={<i18n.Translate>Could not load backup providers</i18n.Translate>}
         error={status}
       />
     );
@@ -126,10 +126,10 @@ export function BackupView({
         {!providers.length && (
           <Centered style={{ marginTop: 100 }}>
             <BoldLight>
-              <Translate>No backup providers configured</Translate>
+              <i18n.Translate>No backup providers configured</i18n.Translate>
             </BoldLight>
             <ButtonSuccess onClick={onAddProvider}>
-              <Translate>Add provider</Translate>
+              <i18n.Translate>Add provider</i18n.Translate>
             </ButtonSuccess>
           </Centered>
         )}
@@ -140,13 +140,13 @@ export function BackupView({
           <div>
             <ButtonPrimary onClick={onSyncAll}>
               {providers.length > 1 ? (
-                <Translate>Sync all backups</Translate>
+                <i18n.Translate>Sync all backups</i18n.Translate>
               ) : (
-                <Translate>Sync now</Translate>
+                <i18n.Translate>Sync now</i18n.Translate>
               )}
             </ButtonPrimary>
             <ButtonSuccess onClick={onAddProvider}>
-              <Translate>Add provider</Translate>
+              <i18n.Translate>Add provider</i18n.Translate>
             </ButtonSuccess>
           </div>
         </footer>
@@ -184,12 +184,12 @@ function BackupLayout(props: TransactionLayoutProps): VNode {
 
         {dateStr && (
           <SmallText style={{ marginTop: 5 }}>
-            <Translate>Last synced</Translate>: {dateStr}
+            <i18n.Translate>Last synced</i18n.Translate>: {dateStr}
           </SmallText>
         )}
         {!dateStr && (
           <SmallLightText style={{ marginTop: 5 }}>
-            <Translate>Not synced</Translate>
+            <i18n.Translate>Not synced</i18n.Translate>
           </SmallLightText>
         )}
       </div>
@@ -208,7 +208,7 @@ function ExpirationText({ until }: { until: Timestamp }): VNode {
   return (
     <Fragment>
       <CenteredText>
-        <Translate>Expires in</Translate>
+        <i18n.Translate>Expires in</i18n.Translate>
       </CenteredText>
       <CenteredBoldText {...{ color: colorByTimeToExpire(until) }}>
         {" "}
-- 
cgit v1.2.3

