Skip to content

Commit aa14f59

Browse files
committed
setup for translation
1 parent 3867361 commit aa14f59

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/components/FindWalletProductTable/hooks/useWalletColumns.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { Wallet } from "@/lib/types"
66

77
import type { TableMeta } from "@/components/DataTable"
88
import WalletInfo from "@/components/FindWalletProductTable/WalletInfo"
9+
import Translation from "@/components/Translation"
910
import { Button } from "@/components/ui/buttons/Button"
1011
import { TableCell } from "@/components/ui/table"
1112

@@ -35,15 +36,16 @@ export const useWalletColumns: ColumnDef<Wallet>[] = [
3536
</Button>
3637
{meta.dataLength === meta.allDataLength ? (
3738
<p>
38-
Showing all wallets <b>({meta.dataLength})</b>
39+
<Translation id="page-wallets-find-wallet:page-find-wallet-showing-all-wallets" />
40+
<b>({meta.dataLength})</b>
3941
</p>
4042
) : (
4143
<p>
42-
Showing{" "}
44+
<Translation id="page-wallets-find-wallet:page-find-wallet-showing" />{" "}
4345
<b>
4446
{meta.dataLength}/{meta.allDataLength}
4547
</b>{" "}
46-
wallets
48+
<Translation id="page-wallets-find-wallet:page-find-wallet-wallets" />
4749
</p>
4850
)}
4951
</div>

src/intl/en/page-wallets-find-wallet.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,6 @@
8484
"page-find-wallet-social-links": "Links",
8585
"page-find-wallet-empty-results-title": "No results",
8686
"page-find-wallet-empty-results-desc": "There are no wallets matching your criteria, try removing some filters.",
87-
"page-find-wallet-see-wallets": "See wallets"
87+
"page-find-wallet-see-wallets": "See wallets",
88+
"page-find-wallet-showing": "Showing"
8889
}

0 commit comments

Comments
 (0)