Skip to content

Commit

Permalink
Fix Walletlist Copy (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 authored May 31, 2023
1 parent 183fbdb commit 5bbebc8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/core/languages/_english.json
Original file line number Diff line number Diff line change
Expand Up @@ -788,8 +788,8 @@
"connect_trezor_description": "Continue to connect your Trezor to Rainbow through the web interface.",
"learn_more": "Learn more.",
"connect_wallets_title": "Connect your wallets",
"connect_wallets_found": "We’ve found wallets on your Ledger with a balance or activity. Select which to connect.",
"connect_wallets_not_found": "Some text about how this looks like a new device, so select from empty accounts?",
"connect_wallets_found": "We’ve found %{count} wallets on your %{vendor} with a balance or activity. Select which to connect.",
"connect_wallets_not_found": "We didn't find any wallets with activity on this %{vendor} but you can still add these.",
"connect_wallet": "Connect wallet",
"connect_n_wallets": "Connect %{count} wallets",
"wallets_found": "%{count} wallets found",
Expand Down
9 changes: 7 additions & 2 deletions src/entries/popup/pages/hw/walletList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,13 @@ const WalletListHW = () => {
align="center"
>
{accountsToImport?.length > 1
? i18n.t('hw.connect_wallets_found')
: i18n.t('hw.connect_wallets_not_found')}
? i18n.t('hw.connect_wallets_found', {
count: accountsToImport?.length,
vendor: state.vendor,
})
: i18n.t('hw.connect_wallets_not_found', {
vendor: state.vendor,
})}
</Text>
</Box>
</Stack>
Expand Down

0 comments on commit 5bbebc8

Please sign in to comment.