aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/components/TransactionItem.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-02-23 15:44:14 -0300
committerSebastian <sebasjm@gmail.com>2022-02-24 12:50:52 -0300
commit8c3e57293422d670b93c2f2a19cfc47f3aecc7b1 (patch)
tree3a44e6284d088632523567ce9f7a9c033d775a7e /packages/taler-wallet-webextension/src/components/TransactionItem.tsx
parent8e01ea5433f67679178f5f5ddebbee897878e198 (diff)
downloadwallet-core-8c3e57293422d670b93c2f2a19cfc47f3aecc7b1.tar.xz
we are force to use i18n.Translate, otherwise pogen won't find the tag
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/TransactionItem.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/components/TransactionItem.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-webextension/src/components/TransactionItem.tsx b/packages/taler-wallet-webextension/src/components/TransactionItem.tsx
index 5c8897006..abcca9c26 100644
--- a/packages/taler-wallet-webextension/src/components/TransactionItem.tsx
+++ b/packages/taler-wallet-webextension/src/components/TransactionItem.tsx
@@ -21,7 +21,7 @@ import {
Timestamp,
Transaction,
TransactionType,
- Translate,
+ i18n,
} from "@gnu-taler/taler-util";
import { h, VNode } from "preact";
import imageBank from "../../static/img/ri-bank-line.svg";
@@ -134,7 +134,7 @@ function TransactionLayout(props: TransactionLayoutProps): VNode {
</LargeText>
{props.pending && (
<LightText style={{ marginTop: 5, marginBottom: 5 }}>
- <Translate>Waiting for confirmation</Translate>
+ <i18n.Translate>Waiting for confirmation</i18n.Translate>
</LightText>
)}
<SmallLightText style={{ marginTop: 5 }}>
@@ -198,7 +198,7 @@ function TransactionAmount(props: TransactionAmountProps): VNode {
</ExtraLargeText>
{props.pending && (
<div>
- <Translate>PENDING</Translate>
+ <i18n.Translate>PENDING</i18n.Translate>
</div>
)}
</Column>