Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunnini committed Oct 16, 2024
1 parent 237a4e0 commit 71bb48e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/extension/src/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@
"page.main.components.token-item.copy-address.copied": "Copied",

"page.main.layouts.header.new-chain.title": "✨ {chains} Now Integrated!",
"page.main.layouts.header.new-chain.paragraph": "To show the chains and their assets on this account, visit \"Manage Chain Visibility\".",
"page.main.layouts.header.new-chain.paragraph": "To show the {count, plural, one {chain} other {chains}} and {count, plural, one {its} other {their}} assets on this account, visit \"Manage Chain Visibility\".",
"page.main.layouts.header.new-chain.button": "Got it!",

"page.ledger-grant.title": "Allow Browser to Connect to Ledger",
Expand Down
9 changes: 8 additions & 1 deletion apps/extension/src/pages/main/layouts/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,14 @@ export const MainHeaderLayout = observer<
: ColorPalette["gray-200"]
}
>
<FormattedMessage id="page.main.layouts.header.new-chain.paragraph" />
<FormattedMessage
id="page.main.layouts.header.new-chain.paragraph"
values={{
count:
uiConfigStore.newChainSuggestionConfig
.newSuggestionChains.length,
}}
/>
</Body2>
<Gutter size="0.75rem" />
<YAxis alignX="right">
Expand Down

0 comments on commit 71bb48e

Please sign in to comment.