fix(i18n): localize 4 more TUI components — session delete failed, workspace unavailable, startup loading, autocomplete#860
Open
MrRealORG wants to merge 1 commit into
Conversation
…rkspace unavailable, startup loading, autocomplete
- dialog-session-delete-failed.tsx: localize title, description (with {{session}}/{{workspace}} interpolation), recovery hint, and 2 option titles+descriptions
- dialog-workspace-unavailable.tsx: localize title, description, restore hint, and cancel/restore button labels
- startup-loading.tsx: localize 'Finishing startup...' and 'Loading plugins...' strings
- prompt/autocomplete.tsx: localize 'No matching items' empty state text
- Add 15 new i18n keys to all 7 language files (en, zh, zht, ja, es, fr, ru)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Localizes 4 additional TUI components that contained hardcoded English strings, adding 15 new i18n keys across all 7 language files.
Changes (11 files)
Components (4 files):
dialog-session-delete-failed.tsx— AddeduseLanguageimport. Localized 7 strings: dialog title, session/workspace description (with{{session}}/{{workspace}}interpolation), recovery hint, and delete/restore option titles + descriptions.dialog-workspace-unavailable.tsx— AddeduseLanguageimport. Localized 5 strings: dialog title, description, restore hint, and cancel/restore button labels. Refactored options array to use label objects instead of raw strings for i18n support.startup-loading.tsx— AddeduseLanguageimport. Localized 2 strings:"Finishing startup..."and"Loading plugins...".prompt/autocomplete.tsx— AddeduseLanguageimport andtvariable. Localized 1 string:"No matching items"empty state text.i18n (7 files):
en.ts,zh.ts,zht.ts,ja.ts,es.ts,fr.ts,ru.ts:tui.session_delete_failed.title/.description/.recovery_hint/.delete.title/.delete.description/.restore.title/.restore.descriptiontui.workspace_unavailable.title/.description/.restore_hint/.cancel/.restoretui.startup.finishing/.loading_pluginstui.autocomplete.no_matching