Skip to content

fix: translate WithdrawTab's Max label - #672

Open
DevTobis wants to merge 1 commit into
drydocs:mainfrom
DevTobis:fix/648-withdraw-max-label-i18n
Open

fix: translate WithdrawTab's Max label#672
DevTobis wants to merge 1 commit into
drydocs:mainfrom
DevTobis:fix/648-withdraw-max-label-i18n

Conversation

@DevTobis

Copy link
Copy Markdown

closes #648

Summary

WithdrawTab's "Max:" prefix was a hardcoded English literal while every other label in the component goes through t().

Changes

  • Render the label via t("vaultPanel.max") instead of the literal "Max"
  • Add the vaultPanel.max key to apps/web/messages/en.json ("Max") and fr.json ("Max")
  • Add a test asserting the button renders through the translation key

Verification

  • pnpm --filter=web test — 16 files / 91 tests passed
  • pnpm --filter=web typecheck — clean

Route the hardcoded "Max:" prefix through vaultPanel.max in en.json
and fr.json, matching every other label in WithdrawTab.
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@DevTobis is attempting to deploy a commit to the Collins' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 31, 2026

Copy link
Copy Markdown

@DevTobis Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] WithdrawTab's "Max" label is hardcoded, not translated

1 participant