aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-09-13 11:07:39 -0300
committerSebastian <sebasjm@gmail.com>2022-09-13 11:09:04 -0300
commitf9f2911c761af1c8ed1c323dcd414cbaa9eeae7c (patch)
tree13659dc1fda0d9e4d745bc416f894a5a90d81e75 /packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
parentd9bc32e0d1358c78449eb3da48e26e2ead873050 (diff)
downloadwallet-core-f9f2911c761af1c8ed1c323dcd414cbaa9eeae7c.tar.xz
adding missing i18n
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/PendingTransactions.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/components/PendingTransactions.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
index 05995395b..e9688da21 100644
--- a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
+++ b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx
@@ -21,6 +21,7 @@ import {
} from "@gnu-taler/taler-util";
import { Fragment, h, JSX, VNode } from "preact";
import { useEffect } from "preact/hooks";
+import { useTranslationContext } from "../context/translation.js";
import { useAsyncAsHook } from "../hooks/useAsyncAsHook.js";
import { Avatar } from "../mui/Avatar.js";
import { Typography } from "../mui/Typography.js";
@@ -67,9 +68,10 @@ export function PendingTransactionsView({
goToTransaction: (id: string) => Promise<void>;
transactions: Transaction[];
}): VNode {
+ const { i18n } = useTranslationContext();
return (
<Banner
- title="PENDING OPERATIONS"
+ titleHead={<i18n.Translate>PENDING OPERATIONS</i18n.Translate>}
style={{
backgroundColor: "lightcyan",
maxHeight: 150,