summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/History.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/History.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/History.tsx15
1 files changed, 11 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/History.tsx b/packages/taler-wallet-webextension/src/wallet/History.tsx
index 2fae07525..e0a1c588e 100644
--- a/packages/taler-wallet-webextension/src/wallet/History.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/History.tsx
@@ -19,6 +19,7 @@ import {
Balance,
NotificationType,
Transaction,
+ i18n,
} from "@gnu-taler/taler-util";
import { Fragment, h, VNode } from "preact";
import { useState } from "preact/hooks";
@@ -66,7 +67,11 @@ export function HistoryPage({
if (transactionQuery.hasError) {
return (
<LoadingError
- title="Could not load the list of transactions"
+ title={
+ <i18n.Translate>
+ Could not load the list of transactions
+ </i18n.Translate>
+ }
error={transactionQuery}
/>
);
@@ -193,21 +198,23 @@ export function HistoryView({
style={{ marginLeft: 0, marginTop: 8 }}
onClick={() => goToWalletManualWithdraw(selectedCurrency)}
>
- Withdraw
+ <i18n.Translate>Withdraw</i18n.Translate>
</ButtonPrimary>
{currencyAmount && Amounts.isNonZero(currencyAmount) && (
<ButtonBoxPrimary
style={{ marginLeft: 0, marginTop: 8 }}
onClick={() => goToWalletDeposit(selectedCurrency)}
>
- Deposit
+ <i18n.Translate>Deposit</i18n.Translate>
</ButtonBoxPrimary>
)}
</div>
</div>
</section>
{datesWithTransaction.length === 0 ? (
- <section>There is no history for this currency</section>
+ <section>
+ <i18n.Translate>There is no history for this currency</i18n.Translate>
+ </section>
) : (
<section>
{datesWithTransaction.map((d, i) => {