Skip to content

fix(i18n): localize permission dialog, message/timeline/fork dialogs — 47 new keys in 7 languages#789

Open
MrRealORG wants to merge 1 commit into
XiaomiMiMo:mainfrom
MrRealORG:fix/auto-20260616-i18n-permission-dialog
Open

fix(i18n): localize permission dialog, message/timeline/fork dialogs — 47 new keys in 7 languages#789
MrRealORG wants to merge 1 commit into
XiaomiMiMo:mainfrom
MrRealORG:fix/auto-20260616-i18n-permission-dialog

Conversation

@MrRealORG

Copy link
Copy Markdown

Summary

Replace all hardcoded English strings in the permission prompt system and session route dialogs with i18n t() calls.

Permission Dialog (34 string replacements)

Localizes every user-facing string in permission.tsx:

  • Permission type titles: Edit, Read, Glob, Grep, List, Bash (Shell command), Task, WebFetch, Web Search, Exa Code Search, External Directory, Doom Loop, Call Tool
  • Context labels: Path, Pattern, Query, URL, Tool, Patterns
  • Action buttons: Allow once, Allow always, Reject, Confirm, Cancel
  • Always-allow confirmation (single pattern + multi-pattern variants)
  • Reject dialog title and hint text
  • Fallback strings: No diff provided, Unknown type

Session Route Dialogs (10 string replacements)

  • Message Actions dialog: title + 3 options (Revert, Copy, Fork) with descriptions
  • Timeline dialog title
  • Fork session dialog title + "Full session" option

Stats

  • 47 new i18n keys × 7 languages = 329 key additions
  • 4 component files updated (permission.tsx, dialog-message.tsx, dialog-timeline.tsx, dialog-fork-from-timeline.tsx)
  • 7 i18n files updated

…— 47 new keys in 7 languages

Replace all hardcoded English strings in the permission prompt system:
- Permission types: edit, read, glob, grep, list, bash, task, webfetch, websearch, codesearch, external_directory, doom_loop
- Permission labels: Path, Pattern, Query, URL, Tool, Patterns
- Permission actions: Allow once, Allow always, Reject, Confirm, Cancel
- Always-allow confirmation dialog
- Reject permission dialog with hint text

Also localize session route dialogs:
- Message Actions (Revert/Copy/Fork with descriptions)
- Timeline dialog title
- Fork session dialog title + Full session option

47 keys × 7 languages = 329 key additions across 4 component files.
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