Skip to content

fix(web): localize notes, local connections and shortcut conditions - #3995

Open
renningg wants to merge 1 commit into
goat-si:devfrom
renningg:fix/localize-notes-connections-conditions
Open

renningg wants to merge 1 commit into
goat-si:devfrom
renningg:fix/localize-notes-connections-conditions

Conversation

@renningg

Copy link
Copy Markdown
Contributor

The Notes list and empty state, two local connection settings and the shortcut condition picker could still show English after switching the interface language.

Use the existing translation catalogs for all nine supported languages. Connection switches share their title with their accessible name. The condition editor displays translated descriptions for known variables and operators while preserving the editable expression, serialized identifiers and unknown variables.

Verification

Switched an isolated macOS Electron client between English and Simplified Chinese. Checked note search with the synthetic path qa/fixture.md, the empty state and new-note control, both connection switch names, and the local-environment restart confirmation. In each language, selecting the preview condition changed rightPanelOpen && !terminalFocus to previewOpen && !terminalFocus. A browser regression test also checks the raw expression after selecting a translated option.

The final vp run check:changed origin/dev passed, including 2,238 tests.

Screenshots

Cropped views of the reported interface and the verified Electron build.

Surface Before (Chinese selected) After (English) After (Simplified Chinese)
Notes Notes before Notes in English Notes in Simplified Chinese
Connections Connections before Connections in English Connections in Simplified Chinese
Shortcut conditions Shortcut conditions before Shortcut conditions in English Shortcut conditions in Simplified Chinese

Implemented and verified with GPT-6 in Codex.

This branch has not been deployed

No deployments
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