From 3d23d2df716bf44c8a26b445ee188cbee94c023b Mon Sep 17 00:00:00 2001 From: adamelmore <2363879+adamdottv@users.noreply.github.com> Date: Sun, 25 Jan 2026 19:39:05 -0600 Subject: fix(app): missing translations for status --- packages/app/src/components/status-popover.tsx | 41 ++++++++++++++++++-------- 1 file changed, 29 insertions(+), 12 deletions(-) (limited to 'packages/app/src/components') diff --git a/packages/app/src/components/status-popover.tsx b/packages/app/src/components/status-popover.tsx index a3e76517f..3963a54f3 100644 --- a/packages/app/src/components/status-popover.tsx +++ b/packages/app/src/components/status-popover.tsx @@ -153,7 +153,7 @@ export function StatusPopover() { "bg-border-weak-base": server.healthy() === undefined, }} /> - Status + {language.t("status.popover.trigger")} } class="[&_[data-slot=popover-body]]:p-0 w-[360px] max-w-[calc(100vw-40px)] bg-transparent border-0 shadow-none rounded-xl" @@ -166,7 +166,7 @@ export function StatusPopover() { style={{ "box-shadow": "var(--shadow-lg-border-base)" }} > - {serverCount() > 0 ? `${serverCount()} ` : ""}Servers + {serverCount() > 0 ? `${serverCount()} ` : ""} + {language.t("status.popover.tab.servers")} - {mcpConnected() > 0 ? `${mcpConnected()} ` : ""}MCP + {mcpConnected() > 0 ? `${mcpConnected()} ` : ""} + {language.t("status.popover.tab.mcp")} - {lspCount() > 0 ? `${lspCount()} ` : ""}LSP + {lspCount() > 0 ? `${lspCount()} ` : ""} + {language.t("status.popover.tab.lsp")} - {pluginCount() > 0 ? `${pluginCount()} ` : ""}Plugins + {pluginCount() > 0 ? `${pluginCount()} ` : ""} + {language.t("status.popover.tab.plugins")} @@ -274,7 +278,7 @@ export function StatusPopover() { - Default + {language.t("common.default")}
@@ -292,7 +296,7 @@ export function StatusPopover() { class="mt-3 self-start h-8 px-3 py-1.5" onClick={() => dialog.show(() => )} > - Manage servers + {language.t("status.popover.action.manageServers")}
@@ -304,7 +308,9 @@ export function StatusPopover() { 0} fallback={ -
No MCP servers configured
+
+ {language.t("dialog.mcp.empty")} +
} > @@ -351,7 +357,7 @@ export function StatusPopover() { when={lspItems().length > 0} fallback={
- LSPs auto-detected from file types + {language.t("dialog.lsp.empty")}
} > @@ -381,8 +387,19 @@ export function StatusPopover() { when={plugins().length > 0} fallback={
- Plugins configured in{" "} - opencode.json + {(() => { + const value = language.t("dialog.plugins.empty") + const file = "opencode.json" + const parts = value.split(file) + if (parts.length === 1) return value + return ( + <> + {parts[0]} + {file} + {parts.slice(1).join(file)} + + ) + })()}
} > -- cgit v1.2.3