mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
* fix(i18n): localize the status bar Resource Manager tooltip and remote-host count The Resource Manager tooltip/aria label and the SSH segment's host count were assembled from bare English literals inside helper functions, so they stayed English under every non-English UI language while the labels around them translated. Route them through the catalog with _one/_other plural keys and whole-line messages (locales reorder and repunctuate the summary), and add en/es/ja/ko/zh entries. Root cause of the miss: audit-localization-coverage bailed on any ancestor binary expression whose operator was not `+`, which hid every string under a `cond && <JSX/>` guard or a `?? 'fallback'` — including this segment's 'Connecting…'. Only comparison operands are code, so keep `??`, `||` and `&&` walking, and localize the four real strings that surfaced. Co-authored-by: Orca <help@stably.ai> * fix(status-bar): flag the space-scan tooltip row instead of matching its English text The tooltip tinted a row with `line === 'Space scan ready'`, so routing that copy through the catalog silently dropped the tint in every translated build. Return `{ text, emphasized }` and let the segment read the flag. Adopted from #12439 by @smwbev. Co-authored-by: Evgenii <smwbev@users.noreply.github.com> Co-authored-by: Orca <help@stably.ai> * fix(status-bar): key Resource Manager tooltip rows by role instead of array index Co-authored-by: Orca <help@stably.ai> --------- Co-authored-by: Orca <help@stably.ai>
80 lines
2.0 KiB
JSON
80 lines
2.0 KiB
JSON
[
|
|
{
|
|
"filePath": "src/renderer/src/lib/agent-background-session-test-state.ts",
|
|
"kind": "object-property:title",
|
|
"text": "Terminal 1",
|
|
"dynamic": false,
|
|
"count": 1
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/sidebar/WorktreeCard.tsx",
|
|
"kind": "jsx-attribute:label",
|
|
"text": "sidebar",
|
|
"dynamic": false,
|
|
"count": 1
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "语言",
|
|
"dynamic": false,
|
|
"count": 1
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "語言",
|
|
"dynamic": false,
|
|
"count": 1
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "언어",
|
|
"dynamic": false,
|
|
"count": 1
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "言語",
|
|
"dynamic": false,
|
|
"count": 1
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/appearance-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "Idioma",
|
|
"dynamic": false,
|
|
"count": 1
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/terminal-advanced-platform-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "Ghostty",
|
|
"dynamic": false,
|
|
"count": 2
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/terminal-advanced-platform-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "ghostty",
|
|
"dynamic": false,
|
|
"count": 2
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/terminal-pane-appearance-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "Ghostty",
|
|
"dynamic": false,
|
|
"count": 1
|
|
},
|
|
{
|
|
"filePath": "src/renderer/src/components/settings/terminal-pane-appearance-search.ts",
|
|
"kind": "object-property:keywords",
|
|
"text": "ghostty",
|
|
"dynamic": false,
|
|
"count": 1
|
|
}
|
|
]
|