Skip to content

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Dec 19, 2025

修复内容

1. TabBar.tsx 硬编码问题

  • 将硬编码中文 (首页/钱包/转账/设置) 改为使用 useTranslation()
  • 添加 aria-labelaria-current 提升可访问性

2. onboarding.json 缺失翻译

补充 recover.form.* 12个键 (en/zh-TW/ar):

  • checksumFailed, clear, continue, enterMnemonic, hint
  • invalidWord, placeholder, securityNotice, validMnemonic
  • verifying, wordCount, wordCountHint

3. security.json 缺失翻译

补充 mnemonicDisplay/mnemonicInput 5个键 (zh-TW/ar):

  • mnemonicDisplay.copied, copy, hidden
  • mnemonicInput.clear, entered

验证

pnpm i18n:check
✓ No missing translations

- TabBar.tsx: use i18n instead of hardcoded Chinese
- Add missing translations for recover.form in en/zh-TW/ar
- Add missing mnemonicDisplay/mnemonicInput translations
@Gaubee Gaubee merged commit d6c8caf into main Dec 19, 2025
6 checks passed
@Gaubee Gaubee deleted the fix/i18n-remaining-issues branch December 19, 2025 03:18
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.

2 participants