fix(i18n): localize session rename dialog and 4 prompt toast/alert strings — 4 new keys in 7 languages#787
Open
MrRealORG wants to merge 1 commit into
Conversation
…rings — 4 new keys in 7 languages Add i18n keys for: - tui.dialog.session_rename.title: "Rename Session" dialog title - tui.prompt.connect_provider: warning toast when no provider connected - tui.prompt.session_create_failed: error toast on session creation failure - tui.prompt.send_message_failed: fallback error toast on message send failure Also removes a stale console.log left in prompt/index.tsx. All 4 keys translated across 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
Localize 4 hardcoded strings that were missed in previous i18n passes:
"Rename Session"→t("tui.dialog.session_rename.title")"Connect a provider to send prompts"→t("tui.prompt.connect_provider")"Creating a session failed..."→t("tui.prompt.session_create_failed")"Failed to send message"→t("tui.prompt.send_message_failed")Also removes a stale
console.log("Creating a session failed:")inprompt/index.tsxthat was left behind.All 4 keys added to all 7 language files (en, zh, zht, ja, es, fr, ru).
Closes #784