diff --git a/apps/web/src/components/pages/Wallets.tsx b/apps/web/src/components/pages/Wallets.tsx index 67ceb62..2ee62df 100644 --- a/apps/web/src/components/pages/Wallets.tsx +++ b/apps/web/src/components/pages/Wallets.tsx @@ -1,4 +1,5 @@ import { useState, useEffect, useMemo } from "react" +import { useLanguage } from "@/contexts/LanguageContext" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { Button } from "@/components/ui/button" import { Input } from "@/components/ui/input" @@ -49,6 +50,7 @@ interface Wallet { const API = "/api" export function Wallets() { + const { t } = useLanguage() const [wallets, setWallets] = useState([]) const [loading, setLoading] = useState(true) const [searchTerm, setSearchTerm] = useState("") @@ -165,7 +167,7 @@ export function Wallets() { @@ -175,7 +177,7 @@ export function Wallets() {
- Total Wallets + {t.wallets.title} @@ -185,7 +187,7 @@ export function Wallets() { - Money Wallets + {t.wallets.moneyWallets}
{stats.moneyWallets}
@@ -194,7 +196,7 @@ export function Wallets() { - Asset Wallets + {t.wallets.assetWallets}
{stats.assetWallets}
@@ -203,7 +205,7 @@ export function Wallets() { - Currencies + {t.wallets.currency}
{stats.currencyCount}
@@ -216,12 +218,12 @@ export function Wallets() {
- Filters + {t.common.filter}