Skip to content

Commit

Permalink
fix(bridge-ui): move label to i18n, fix some typos (#16522)
Browse files Browse the repository at this point in the history
Co-authored-by: Korbinian <KorbinianK@users.noreply.github.com>
  • Loading branch information
datznt and KorbinianK authored Mar 25, 2024
1 parent 3e7f7ce commit c8c4773
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@

{#if customTokens.length > 0}
<div class="flex h-full w-full flex-col justify-between mt-6">
<h3 class="title-body-bold mb-7">Your imported tokens:</h3>
<h3 class="title-body-bold mb-7">{$t('token_dropdown.imported_tokens')}</h3>
{#each customTokens as ct (ct.symbol)}
<div class="flex items-center justify-between">
<div class="flex items-center m-2 space-x-2">
Expand All @@ -222,7 +222,7 @@
</div>
{/if}
</div>
<!-- We catch key events aboe -->
<!-- We catch key events above -->
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div role="button" tabindex="0" class="overlay-backdrop" on:click={closeModalIfClickedOutside} />
</dialog>
3 changes: 2 additions & 1 deletion packages/bridge-ui/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit c8c4773

Please sign in to comment.