StabilityNexus / StabilityNexus/WalletLink
Add a translation seam for user-facing strings (i18n)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- Avg merge
- 22h
- Merged PRs (30d)
- 7
Description
All user-facing text in the connect UI is currently hardcoded English: the button label, the modal title ("Connect a wallet"), the pending and empty states, and the connect-error messages (WalletLinkButton.tsx, WalletLinkModal.tsx, describeConnectError in internal.tsx).
Deferred from the connect-UI PR review (raised by CodeRabbit). English-only is acceptable for the first release; this issue tracks exposing a translation seam later once the component API has settled.
Likely shape when we pick this up: a messages object or a t() callback prop so consumers can override every string, defaulting to the current English copy.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading WalletLinkButton.tsx, WalletLinkModal.tsx, and describeConnectError in internal.tsx to inventory the button, modal, state, and error strings. Review the current component API before choosing between a messages object and a t() callback. Done means consumers can override every user-facing string while the default output remains the current English copy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, internationalization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100