From c8c4773dd3fe41decf13306eace73d65a9829529 Mon Sep 17 00:00:00 2001 From: datznt <41461026+datznt@users.noreply.github.com> Date: Mon, 25 Mar 2024 11:20:15 +0700 Subject: [PATCH] fix(bridge-ui): move label to i18n, fix some typos (#16522) Co-authored-by: Korbinian --- .../src/components/TokenDropdown/AddCustomERC20.svelte | 4 ++-- packages/bridge-ui/src/i18n/en.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/bridge-ui/src/components/TokenDropdown/AddCustomERC20.svelte b/packages/bridge-ui/src/components/TokenDropdown/AddCustomERC20.svelte index 86ea6feb8fd..e615001f5db 100644 --- a/packages/bridge-ui/src/components/TokenDropdown/AddCustomERC20.svelte +++ b/packages/bridge-ui/src/components/TokenDropdown/AddCustomERC20.svelte @@ -206,7 +206,7 @@ {#if customTokens.length > 0}
-

Your imported tokens:

+

{$t('token_dropdown.imported_tokens')}

{#each customTokens as ct (ct.symbol)}
@@ -222,7 +222,7 @@
{/if}
- +
diff --git a/packages/bridge-ui/src/i18n/en.json b/packages/bridge-ui/src/i18n/en.json index 96e8a23db2f..2be5949142e 100644 --- a/packages/bridge-ui/src/i18n/en.json +++ b/packages/bridge-ui/src/i18n/en.json @@ -402,7 +402,8 @@ "description": "You can add your own token by entering the contract address below. Make sure you are on the chain where the token is deployed.", "title": "Add your own token" }, - "label": "Select token" + "label": "Select token", + "imported_tokens": "Your imported tokens:" }, "transactions": { "actions": {