Skip to content

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
XiaomiMiMo:mainfrom
MrRealORG:fix/auto-20260616-i18n-rename-prompt-toasts
Open

fix(i18n): localize session rename dialog and 4 prompt toast/alert strings — 4 new keys in 7 languages#787
MrRealORG wants to merge 1 commit into
XiaomiMiMo:mainfrom
MrRealORG:fix/auto-20260616-i18n-rename-prompt-toasts

Conversation

@MrRealORG

Copy link
Copy Markdown

Summary

Localize 4 hardcoded strings that were missed in previous i18n passes:

  • Session rename dialog title: "Rename Session"t("tui.dialog.session_rename.title")
  • Provider warning toast: "Connect a provider to send prompts"t("tui.prompt.connect_provider")
  • Session create failure toast: "Creating a session failed..."t("tui.prompt.session_create_failed")
  • Send message failure fallback: "Failed to send message"t("tui.prompt.send_message_failed")

Also removes a stale console.log("Creating a session failed:") in prompt/index.tsx that was left behind.

All 4 keys added to all 7 language files (en, zh, zht, ja, es, fr, ru).

Closes #784

…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.
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