Skip to content

fix: complete i18n coverage, vim-keys safety, UX polish#22

Merged
m1ngsama merged 1 commit into
mainfrom
fix/ux-audit
Apr 27, 2026
Merged

fix: complete i18n coverage, vim-keys safety, UX polish#22
m1ngsama merged 1 commit into
mainfrom
fix/ux-audit

Conversation

@m1ngsama
Copy link
Copy Markdown
Member

Closes #21

Summary

  • Translate --help output and all 6 CLI error messages into both zh/en
  • Move about description to i18n for proper bilingual support
  • Align CLI and TUI about dialogs (add description, email, license)
  • Remove h key from vim mappings to prevent accidental exit on main menu
  • Fix status --json to exit 0 when data retrieval succeeds (even if services are down)
  • Use platform-aware command check (which/where) for Windows compat
  • Fix search results category label to show actual doc category
  • Replace fragile .replace('...','') with dedicated i18n key

Test plan

  • Build passes (tsc clean)
  • All 12 CLI contract tests pass
  • nbtca --help respects language (zh shows Chinese, en shows English)
  • All error messages respect language (6 locations verified)
  • nbtca about shows description, email, license
  • status --json returns exit 0 with service failures
  • h key removed from vim-keys mappings
  • CI passes on Node 20 and 22

🤖 Generated with Claude Code

- Translate --help output and all CLI error messages (6 locations)
- Move about description to i18n for proper bilingual support
- Align CLI and TUI about dialogs (add description, email, license)
- Remove h key from vim mappings to prevent accidental exit
- Fix status --json to exit 0 when data retrieval succeeds
- Use platform-aware command check (which/where) for Windows
- Fix search results category label to show actual doc category
- Replace fragile .replace('...','') with dedicated i18n key

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@m1ngsama m1ngsama merged commit e54febd into main Apr 27, 2026
2 checks passed
@m1ngsama m1ngsama deleted the fix/ux-audit branch April 27, 2026 05:48
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.

UX audit: i18n gaps, vim-keys safety, CLI polish

1 participant