feat(i18n): add English localization for UI components#286
Open
vbp1 wants to merge 7 commits intohangwin:masterfrom
Open
feat(i18n): add English localization for UI components#286vbp1 wants to merge 7 commits intohangwin:masterfrom
vbp1 wants to merge 7 commits intohangwin:masterfrom
Conversation
When browser locale cannot be detected, fallback to English instead of Chinese.
Replace hardcoded strings with i18n keys in agent-chat components: - AgentComposer.vue: status texts, tooltips, confirmations - AgentProjectMenu.vue: settings labels, tooltips, buttons - AgentSessionListItem.vue: session names, time labels, actions - AgentSessionsView.vue: search, buttons, empty states - AgentSettingsMenu.vue: menu section labels - AgentTopBar.vue: connection states, tooltips Add corresponding i18n keys to both en and zh_CN locales.
Localize remaining hardcoded Chinese strings in user-facing UI: - sidepanel/App.vue: Element Marker feature UI (search, modals, stats, actions) - popup/App.vue: quick tools section, management entries, coming soon toast - LocalModelPage.vue: back button and page title
Localize remaining hardcoded Chinese strings in user-facing UI: - ElementMarkerManagement.vue: form labels, buttons, placeholders - SidepanelNavigator.vue: menu title, navigation items tooltips
Unify i18n usage pattern across all Vue components by removing the m() shorthand helper and using getMessage() directly everywhere.
|
approve |
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
Changes
_locales/en/messages.jsongetMessage()for internationalization