Skip to content

feat(tui): add i18n translations for slash command descriptions#1167

Merged
MiMoHardFather merged 1 commit into
mainfrom
feat/slash-command-i18n
Jun 21, 2026
Merged

feat(tui): add i18n translations for slash command descriptions#1167
MiMoHardFather merged 1 commit into
mainfrom
feat/slash-command-i18n

Conversation

@MiMoHardFather

Copy link
Copy Markdown
Collaborator

Summary

  • Add localized descriptions for built-in slash commands (/init, /review, /dream, /distill, /goal, /deep-research) across all 7 supported languages (en, es, fr, ja, ru, zh, zht)
  • Introduce slashCommandDescription helper in new i18n/slash-command.ts module
  • Wire translated descriptions into the autocomplete component

Changes

  • New file: i18n/slash-command.tsslashCommandDescription() utility that maps built-in command names to i18n keys
  • Modified: autocomplete.tsx — uses slashCommandDescription() for slash command display
  • Modified: All 7 locale files (en.ts, es.ts, fr.ts, ja.ts, ru.ts, zh.ts, zht.ts) — add tui.slash.*.description entries

Add localized descriptions for /init, /review, /dream, /distill, /goal,
and /deep-research slash commands across all supported languages (en, es,
fr, ja, ru, zh, zht). Introduce slashCommandDescription helper and wire
it into the autocomplete component.
@MiMoHardFather MiMoHardFather merged commit d30f15a into main Jun 21, 2026
2 of 3 checks passed
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.

1 participant