Skip to content

Commit

Permalink
feat(frontend): wallet connect input placeholder i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Oct 28, 2024
1 parent c72d15e commit 89c3d88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@

<p class="pb-2 pt-4 text-center">{$i18n.wallet_connect.text.or_use_link}</p>

<InputText name="uri" placeholder="e.g. wc:a281567bb3e4..." bind:value={uri} />
<InputText name="uri" placeholder={$i18n.wallet_connect.alt.connect_input} bind:value={uri} />

<ButtonGroup slot="toolbar">
<Button disabled={invalid} on:click={onClick}>
Expand Down
3 changes: 3 additions & 0 deletions src/frontend/src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,9 @@
"raw_copied": "Raw transaction data copied to clipboard.",
"sign_message": "Sign Message"
},
"alt": {
"connect_input": "e.g. wc:a281567bb3e4..."
},
"domain": {
"title": "Domain Verification",
"valid": "Valid ✅",
Expand Down
1 change: 1 addition & 0 deletions src/frontend/src/lib/types/i18n.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ interface I18nWallet_connect {
raw_copied: string;
sign_message: string;
};
alt: { connect_input: string };
domain: {
title: string;
valid: string;
Expand Down

0 comments on commit 89c3d88

Please sign in to comment.