Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

feat(about): redesign update card with visible download states

v_wyxgwang2df87d388064
diff --git a/apps/desktop/src/features/settings/SettingsPage.tsx b/apps/desktop/src/features/settings/SettingsPage.tsx
index f1401a911..bd8ce1d3d 100644
--- a/apps/desktop/src/features/settings/SettingsPage.tsx
+++ b/apps/desktop/src/features/settings/SettingsPage.tsx
@@ -183,7 +183,7 @@ export function SettingsPage() {
const tryFind = (attempt: number) => {
if (cancelled) return;
const titles = document.querySelectorAll<HTMLElement>(
- ".settings-content .settings-row-title, .settings-content .settings-card-heading",
+ ".settings-content .settings-row-title, .settings-content .settings-card-heading, .settings-content .about-update-title",
);
const match = [...titles].find(
(node) => node.textContent?.trim() === target,
@@ -573,17 +573,23 @@ export function SettingsPage() {
{tab === "about" && (
<div className="settings-stack">
+ <div className="settings-about-hero">
+ <div className="settings-about-hero-name">
+ {version?.name || "PI-Desktop"}
+ </div>
+ <div className="settings-about-hero-version">
+ {t("settings.aboutVersion", { version: version?.version ?? "" })}
+ </div>
+ <div className="settings-about-hero-meta">
+ protocol {version?.protocolVersion} · host {version?.hostVersion}
+ </div>
+ </div>
+ <UpdatesRow
+ currentVersion={version?.version}
+ settings={settings ?? null}
+ saveSettings={saveSettings}
+ />
<SettingsCard>
- <SettingsRow title={t("settings.application")}>
- <div className="settings-about-meta">
- <div className="font-medium">
- {version?.name || "PI-Desktop"} {version?.version}
- </div>
- <div className="font-mono text-xs-plus text-text-muted">
- protocol {version?.protocolVersion} · host {version?.hostVersion}
- </div>
- </div>
- </SettingsRow>
<SettingsRow title={t("settings.logs")}>
<Button variant="secondary" onClick={() => void api.openLogs()}>
{t("settings.openLogs")}
@@ -600,11 +606,6 @@ export function SettingsPage() {
{t("settings.openFeedback")}
</Button>
</SettingsRow>
- <UpdatesRow
- currentVersion={version?.version}
- settings={settings ?? null}
- saveSettings={saveSettings}
- />
</SettingsCard>
{settings && (
diff --git a/apps/desktop/src/features/settings/agent-sections.tsx b/apps/desktop/src/features/settings/agent-sections.tsx
index 731354067..39587d422 100644
--- a/apps/desktop/src/features/settings/agent-sections.tsx
+++ b/apps/desktop/src/features/settings/agent-sections.tsx
@@ -5,7 +5,12 @@ import { api } from "../../lib/api";
import { useAppStore } from "../../stores/app-store";
import { useUpdateState } from "../../hooks/use-update-state";
import { Button } from "../../components/ui";
-import { IconFileText } from "../../components/icons";
+import {
+ IconCheck,
+ IconDownload,
+ IconFileText,
+ IconRefresh,
+} from "../../components/icons";
import { SettingsMenuSelect } from "../../components/settings/SettingsMenuSelect";
import { persistUpdatePreference } from "./update-preference";
import { SettingsCard, SettingsRow } from "./primitives";
@@ -142,48 +147,96 @@ export function UpdatesRow({
</Button>
);
} else {
+ // A failed check flips the primary action into an explicit retry; while a
+ // check or download runs the button stays visible but inert.
action = (
<Button
variant="secondary"
disabled={disabled || busy}
onClick={() => void api.updatesCheck().catch(() => undefined)}
>
- {busy ? t("updates.checking") : t("updates.check")}
+ {update?.status === "error" ? (
+ <IconRefresh size={14} />
+ ) : (
+ <IconCheck size={14} />
+ )}
+ {update?.status === "error"
+ ? t("updates.retry")
+ : update?.status === "checking"
+ ? t("updates.checking")
+ : t("updates.check")}
</Button>
);
}
- let statusText: string | null = null;
+ const progress = Math.max(0, Math.min(100, update?.progressPercent ?? 0));
+
+ let statusBody: ReactNode = null;
if (disabled) {
- statusText = t("updates.devDisabled");
- } else {
+ statusBody = (
+ <div className="about-update-status">{t("updates.devDisabled")}</div>
+ );
+ } else if (update) {
switch (update.status) {
case "checking":
- statusText = t("updates.checking");
+ statusBody = (
+ <div className="about-update-status">{t("updates.checking")}</div>
+ );
break;
case "up-to-date":
- statusText = t("updates.upToDate");
+ statusBody = (
+ <div className="about-update-status is-ready">
+ {t("updates.upToDate")}
+ </div>
+ );
break;
case "available":
- statusText = `${t("updates.available", { version: update.availableVersion })}${
- update.mode === "manual" ? ` ${t("updates.manualHint")}` : ""
- }`;
+ statusBody = (
+ <div className="about-update-status">
+ {t("updates.available", { version: update.availableVersion })}
+ {update.mode === "manual" ? ` ${t("updates.manualHint")}` : ""}
+ </div>
+ );
break;
case "downloading":
- statusText = t("updates.downloading", {
- percent: update.progressPercent ?? 0,
- });
+ statusBody = (
+ <div className="about-update-download">
+ <div
+ className="about-update-progress"
+ role="progressbar"
+ aria-label={t("updates.downloading", { percent: progress })}
+ aria-valuemin={0}
+ aria-valuemax={100}
+ aria-valuenow={Math.round(progress)}
+ >
+ <span style={{ width: `${progress}%` }} />
+ </div>
+ <div className="about-update-progress-meta">
+ <span>{t("updates.backgroundLabel")}</span>
+ <span>{Math.round(progress)}%</span>
+ </div>
+ <div className="about-update-hint">
+ {t("updates.backgroundHint")}
+ </div>
+ </div>
+ );
break;
case "downloaded":
- statusText = t("updates.downloaded", {
- version: update.availableVersion,
- });
+ statusBody = (
+ <div className="about-update-status is-ready">
+ {t("updates.downloaded", { version: update.availableVersion })}
+ </div>
+ );
break;
case "error":
- statusText = t("updates.error", { message: update.error ?? "" });
+ statusBody = (
+ <div className="about-update-status is-error">
+ {t("updates.error", { message: update.error ?? "" })}
+ </div>
+ );
break;
default:
- statusText = null;
+ break;
}
}
@@ -196,66 +249,82 @@ export function UpdatesRow({
return (
<>
- <SettingsRow
- title={t("updates.preferenceTitle")}
- description={t("updates.preferenceDesc")}
- >
- <div className="flex flex-col items-end gap-1.5">
- <SettingsMenuSelect
- label={t("updates.preferenceTitle")}
- value={selectedPreference}
- options={[
- {
- id: "automatic",
- label: t("updates.automatic"),
- disabled:
- update?.automaticSupported !== true || preferenceLocked,
- },
- {
- id: "manual",
- label: t("updates.manual"),
- disabled: preferenceLocked,
- },
- ]}
- disabled={preferenceLocked}
- busy={preferenceSaving || update?.status === "downloading"}
- onChange={(value) => void savePreference(value)}
- />
- {update?.automaticSupported === false ? (
- <div className="text-right text-xs-plus text-text-muted">
- {t("updates.automaticUnsupported")}
+ {/*
+ App-update card: icon + title + description on the left, actions on
+ the right, live status (progress bar, error, readiness) below.
+ */}
+ <section className="settings-card-block">
+ <div className="settings-panel about-update-panel">
+ <div className="about-update-header">
+ <div className="about-update-icon" aria-hidden="true">
+ <IconDownload size={18} />
</div>
- ) : null}
- {update?.automaticSupported && update.defaultPreference === "manual" ? (
- <div className="text-right text-xs-plus text-text-muted">
- {t("updates.automaticPortableWarning")}
+ <div className="about-update-copy">
+ <div className="about-update-title">{t("updates.title")}</div>
+ <div className="about-update-desc">{t("updates.cardDesc")}</div>
+ </div>
+ <div className="about-update-actions">
+ <Button
+ variant="secondary"
+ onClick={() => setReleaseNotesOpen(true)}
+ >
+ <IconFileText size={14} />
+ {t("updates.releaseNotes")}
+ </Button>
+ {action}
</div>
- ) : null}
- </div>
- </SettingsRow>
- <SettingsRow title={t("updates.title")} description={t("updates.desc")}>
- <div className="flex flex-col items-end gap-1.5">
- <div className="update-settings-actions">
- <Button
- variant="secondary"
- onClick={() => setReleaseNotesOpen(true)}
- >
- <IconFileText size={14} />
- {t("updates.releaseNotes")}
- </Button>
- {action}
</div>
- {statusText ? (
- <div className="text-right text-xs-plus text-text-muted">{statusText}</div>
- ) : null}
+ {statusBody}
{showNotes ? (
- <div className="update-settings-notes">
- <div className="update-settings-notes-label">{t("updates.whatsNew")}</div>
+ <div className="update-settings-notes about-update-notes">
+ <div className="update-settings-notes-label">
+ {t("updates.whatsNew")}
+ </div>
<pre className="update-settings-notes-body">{notes}</pre>
</div>
) : null}
</div>
- {releaseNotesOpen ? (
+ </section>
+ <SettingsCard>
+ <SettingsRow
+ title={t("updates.preferenceTitle")}
+ description={t("updates.preferenceDesc")}
+ >
+ <div className="flex flex-col items-end gap-1.5">
+ <SettingsMenuSelect
+ label={t("updates.preferenceTitle")}
+ value={selectedPreference}
+ options={[
+ {
+ id: "automatic",
+ label: t("updates.automatic"),
+ disabled:
+ update?.automaticSupported !== true || preferenceLocked,
+ },
+ {
+ id: "manual",
+ label: t("updates.manual"),
+ disabled: preferenceLocked,
+ },
+ ]}
+ disabled={preferenceLocked}
+ busy={preferenceSaving || update?.status === "downloading"}
+ onChange={(value) => void savePreference(value)}
+ />
+ {update?.automaticSupported === false ? (
+ <div className="text-right text-xs-plus text-text-muted">
+ {t("updates.automaticUnsupported")}
+ </div>
+ ) : null}
+ {update?.automaticSupported && update.defaultPreference === "manual" ? (
+ <div className="text-right text-xs-plus text-text-muted">
+ {t("updates.automaticPortableWarning")}
+ </div>
+ ) : null}
+ </div>
+ </SettingsRow>
+ </SettingsCard>
+ {releaseNotesOpen ? (
<Suspense
fallback={
<div
@@ -274,7 +343,6 @@ export function UpdatesRow({
/>
</Suspense>
) : null}
- </SettingsRow>
</>
);
}
diff --git a/apps/desktop/src/styles/settings.css b/apps/desktop/src/styles/settings.css
index 5f24e673d..89609046b 100644
--- a/apps/desktop/src/styles/settings.css
+++ b/apps/desktop/src/styles/settings.css
@@ -1480,14 +1480,164 @@
padding: 16px 14px;
}
-.settings-about-meta {
+/*
+ About tab hero: centered app name and version, echoing an "About" panel.
+ The protocol/host line doubles as the card's soft divider.
+*/
+.settings-about-hero {
display: flex;
flex-direction: column;
- align-items: flex-end;
- gap: 2px;
- text-align: right;
+ align-items: center;
+ gap: 4px;
+ padding: 26px 16px 8px;
+ text-align: center;
+}
+
+.settings-about-hero-name {
color: var(--ds-text-primary);
- font-size: var(--text-md);
+ font-size: var(--text-xl);
+ font-weight: var(--font-weight-semibold);
+ line-height: var(--leading-heading);
+}
+
+.settings-about-hero-version {
+ color: var(--ds-text-secondary);
+ font-family: var(--font-mono);
+ font-size: var(--text-sm);
+ font-variant-numeric: tabular-nums;
+ line-height: var(--leading-body);
+}
+
+.settings-about-hero-meta {
+ margin-top: 12px;
+ padding-top: 12px;
+ border-top: 1px solid color-mix(in oklab, var(--ds-text-primary) 8%, transparent);
+ color: var(--ds-text-muted);
+ font-family: var(--font-mono);
+ font-size: var(--text-xs);
+ line-height: var(--leading-body);
+}
+
+/*
+ App-update card: icon + title + description on the left, actions on the
+ right, live status (progress bar, error, readiness) beneath.
+*/
+.settings-panel.about-update-panel {
+ gap: 12px;
+ padding: 16px;
+}
+
+.about-update-header {
+ display: flex;
+ align-items: flex-start;
+ gap: 12px;
+}
+
+.about-update-icon {
+ display: grid;
+ place-items: center;
+ flex: none;
+ width: 38px;
+ height: 38px;
+ border-radius: var(--radius-md);
+ background: color-mix(in oklab, var(--ds-accent) 10%, transparent);
+ color: var(--ds-accent);
+}
+
+.about-update-copy {
+ flex: 1;
+ min-width: 0;
+}
+
+.about-update-title {
+ color: var(--ds-text-primary);
+ font-size: var(--text-md-plus);
+ font-weight: var(--font-weight-medium);
+ line-height: var(--leading-compact);
+}
+
+.about-update-desc {
+ margin-top: 3px;
+ color: var(--ds-text-muted);
+ font-size: var(--text-sm);
+ line-height: var(--leading-body);
+}
+
+.about-update-actions {
+ display: flex;
+ flex: none;
+ flex-wrap: wrap;
+ justify-content: flex-end;
+ gap: 6px;
+}
+
+.about-update-status {
+ color: var(--ds-text-secondary);
+ font-size: var(--text-sm);
+ line-height: var(--leading-body);
+ overflow-wrap: anywhere;
+}
+
+.about-update-status.is-ready {
+ color: var(--ds-success);
+}
+
+.about-update-status.is-error {
+ color: var(--ds-error);
+}
+
+/* Background download: rounded bar, label/percent pair, reassurance hint. */
+.about-update-download {
+ display: grid;
+ gap: 6px;
+}
+
+.about-update-progress {
+ height: 6px;
+ overflow: hidden;
+ border-radius: var(--radius-full);
+ background: color-mix(in oklab, var(--ds-text-primary) 10%, transparent);
+}
+
+.about-update-progress > span {
+ display: block;
+ height: 100%;
+ border-radius: inherit;
+ background: var(--ds-accent);
+ transition: width var(--motion-duration-normal) var(--motion-ease-out);
+}
+
+.about-update-progress-meta {
+ display: flex;
+ align-items: baseline;
+ justify-content: space-between;
+ gap: 12px;
+ color: var(--ds-text-secondary);
+ font-size: var(--text-sm);
+ font-variant-numeric: tabular-nums;
+ line-height: var(--leading-compact);
+}
+
+.about-update-hint {
+ color: var(--ds-text-muted);
+ font-size: var(--text-xs-plus);
+ line-height: var(--leading-body);
+}
+
+.about-update-notes {
+ margin-top: 0;
+ max-width: none;
+}
+
+@media (max-width: 820px) {
+ .about-update-header {
+ flex-direction: column;
+ }
+
+ .about-update-actions {
+ width: 100%;
+ justify-content: flex-start;
+ }
}
.settings-pill-select,
diff --git a/packages/i18n/src/locales/de/index.ts b/packages/i18n/src/locales/de/index.ts
index ac8cb4c16..c7fcbd4b3 100644
--- a/packages/i18n/src/locales/de/index.ts
+++ b/packages/i18n/src/locales/de/index.ts
@@ -124,7 +124,11 @@ export const de = {
"manualHint": "Laden Sie die neue Version von der Release-Seite herunter.",
"error": "Konnte nicht nach Updates suchen: {{message}}",
"dismiss": "Verwerfen",
- "devDisabled": "Updates sind in Entwicklungs-Builds deaktiviert."
+ "devDisabled": "Updates sind in Entwicklungs-Builds deaktiviert.",
+ "cardDesc": "Halten Sie PI-Desktop aktuell, um Korrekturen und neue Funktionen zu erhalten.",
+ "backgroundLabel": "Wird im Hintergrund heruntergeladen",
+ "backgroundHint": "Nach Abschluss des Downloads werden Sie zum Neustart aufgefordert; Sie können die App währenddessen weiter verwenden.",
+ "retry": "Erneut versuchen",
},
"nav": {
"pinnedSessions": "Angeheftet",
@@ -1597,6 +1601,7 @@ sklm: {
"defaultUpdated": "Standard-AI-Anbieter aktualisiert",
"providerRemoved": "AI-Anbieter entfernt",
"application": "Anwendung",
+ "aboutVersion": "Version {{version}}",
"logs": "Protokolle",
"openLogs": "Protokolle öffnen",
"feedback": "Ein Problem melden",
diff --git a/packages/i18n/src/locales/en/index.ts b/packages/i18n/src/locales/en/index.ts
index 6eb776181..d68769a9f 100644
--- a/packages/i18n/src/locales/en/index.ts
+++ b/packages/i18n/src/locales/en/index.ts
@@ -132,6 +132,10 @@ export const en = {
error: "Couldn't check for updates: {{message}}",
dismiss: "Dismiss",
devDisabled: "Updates are disabled in development builds.",
+ cardDesc: "Keep PI-Desktop up to date for the latest fixes and features.",
+ backgroundLabel: "Downloading in the background",
+ backgroundHint: "You'll be prompted to restart once the download finishes; you can keep using the app meanwhile.",
+ retry: "Retry",
},
nav: {
"pinnedSessions": "Pinned",
@@ -1617,6 +1621,7 @@ sklm: {
defaultUpdated: "Default AI provider updated",
providerRemoved: "AI provider removed",
application: "Application",
+ aboutVersion: "Version {{version}}",
logs: "Logs",
openLogs: "Open logs",
feedback: "Report a problem",
diff --git a/packages/i18n/src/locales/es/index.ts b/packages/i18n/src/locales/es/index.ts
index 7b6afb85d..2163c14cb 100644
--- a/packages/i18n/src/locales/es/index.ts
+++ b/packages/i18n/src/locales/es/index.ts
@@ -124,7 +124,11 @@ export const es = {
"manualHint": "Descargue la nueva versión desde la página de lanzamientos.",
"error": "No se pudieron buscar actualizaciones: {{message}}",
"dismiss": "Descartar",
- "devDisabled": "Las actualizaciones están deshabilitadas en las compilaciones de desarrollo."
+ "devDisabled": "Las actualizaciones están deshabilitadas en las compilaciones de desarrollo.",
+ "cardDesc": "Mantén PI-Desktop actualizado para recibir correcciones y funciones nuevas.",
+ "backgroundLabel": "Descargando en segundo plano",
+ "backgroundHint": "Cuando termine la descarga se te pedirá reiniciar; mientras tanto puedes seguir usando la aplicación.",
+ "retry": "Reintentar",
},
"nav": {
"pinnedSessions": "Fijadas",
@@ -1597,6 +1601,7 @@ sklm: {
"defaultUpdated": "Proveedor de IA predeterminado actualizado",
"providerRemoved": "Proveedor de IA eliminado",
"application": "Aplicación",
+ "aboutVersion": "Versión {{version}}",
"logs": "Registros",
"openLogs": "Abrir registros",
"feedback": "Informar un problema",
diff --git a/packages/i18n/src/locales/fr/index.ts b/packages/i18n/src/locales/fr/index.ts
index 0fa077165..f4895bdad 100644
--- a/packages/i18n/src/locales/fr/index.ts
+++ b/packages/i18n/src/locales/fr/index.ts
@@ -124,7 +124,11 @@ export const fr = {
"manualHint": "Téléchargez la nouvelle version à partir de la page des versions.",
"error": "Impossible de vérifier les mises à jour : {{message}}",
"dismiss": "Ignorer",
- "devDisabled": "Les mises à jour sont désactivées dans les versions de développement."
+ "devDisabled": "Les mises à jour sont désactivées dans les versions de développement.",
+ "cardDesc": "Gardez PI-Desktop à jour pour bénéficier des correctifs et des nouvelles fonctionnalités.",
+ "backgroundLabel": "Téléchargement en arrière-plan",
+ "backgroundHint": "Une fois le téléchargement terminé, un redémarrage vous sera proposé ; vous pouvez continuer à utiliser l'application entre-temps.",
+ "retry": "Réessayer",
},
"nav": {
"pinnedSessions": "Épinglées",
@@ -1597,6 +1601,7 @@ sklm: {
"defaultUpdated": "Fournisseur d'IA par défaut mis à jour",
"providerRemoved": "Fournisseur d'IA supprimé",
"application": "Application",
+ "aboutVersion": "Version {{version}}",
"logs": "Journaux",
"openLogs": "Ouvrir les journaux",
"feedback": "Signaler un problème",
diff --git a/packages/i18n/src/locales/ko/index.ts b/packages/i18n/src/locales/ko/index.ts
index 616019f23..bfc44458e 100644
--- a/packages/i18n/src/locales/ko/index.ts
+++ b/packages/i18n/src/locales/ko/index.ts
@@ -134,6 +134,10 @@ export const ko = {
error: "업데이트를 확인할 수 없습니다: {{message}}",
dismiss: "닫기",
devDisabled: "개발 빌드에서는 업데이트가 비활성화됩니다.",
+ cardDesc: "PI-Desktop를 최신 상태로 유지하여 수정 사항과 새로운 기능을 받아보세요.",
+ backgroundLabel: "백그라운드에서 다운로드 중",
+ backgroundHint: "다운로드가 완료되면 재시작을 안내합니다. 그동안에도 앱을 계속 사용할 수 있습니다.",
+ retry: "다시 시도",
},
nav: {
"pinnedSessions": "고정됨",
@@ -1613,6 +1617,7 @@ sklm: {
defaultUpdated: "기본 AI 프로바이더 업데이트됨",
providerRemoved: "AI 프로바이더 제거됨",
application: "애플리케이션",
+ aboutVersion: "버전 {{version}}",
logs: "로그",
openLogs: "로그 열기",
feedback: "문제 신고",
diff --git a/packages/i18n/src/locales/pt-BR/index.ts b/packages/i18n/src/locales/pt-BR/index.ts
index a5af210e4..1a5ebb39b 100644
--- a/packages/i18n/src/locales/pt-BR/index.ts
+++ b/packages/i18n/src/locales/pt-BR/index.ts
@@ -123,7 +123,11 @@ export const ptBR = {
manualHint: "Baixe a nova versão na página de lançamentos.",
error: "Não foi possível verificar atualizações: {{message}}",
dismiss: "Dispensar",
- devDisabled: "As atualizações estão desativadas em compilações de desenvolvimento."
+ devDisabled: "As atualizações estão desativadas em compilações de desenvolvimento.",
+ cardDesc: "Mantenha o PI-Desktop atualizado para receber correções e novos recursos.",
+ backgroundLabel: "Baixando em segundo plano",
+ backgroundHint: "Quando o download terminar, você será avisado para reiniciar; nesse íntervalo pode continuar usando o aplicativo.",
+ retry: "Tentar novamente",
},
nav: {
pinnedSessions: "Fixadas",
@@ -1567,6 +1571,7 @@ export const ptBR = {
defaultUpdated: "Provedor de IA padrão atualizado",
providerRemoved: "Provedor de IA excluído",
application: "Aplicativo",
+ aboutVersion: "Versão {{version}}",
logs: "Logs",
openLogs: "Abrir logs",
feedback: "Relatar um problema",
diff --git a/packages/i18n/src/locales/tr/index.ts b/packages/i18n/src/locales/tr/index.ts
index 276906c09..da1366ade 100644
--- a/packages/i18n/src/locales/tr/index.ts
+++ b/packages/i18n/src/locales/tr/index.ts
@@ -134,6 +134,10 @@ export const tr = {
error: "Güncellemeler denetlenemedi: {{message}}",
dismiss: "Kapat",
devDisabled: "Geliştirme derlemelerinde güncellemeler kapalıdır.",
+ cardDesc: "Düzeltmeler ve yeni özellikler için PI-Desktop'u güncel tutun.",
+ backgroundLabel: "Arka planda indiriliyor",
+ backgroundHint: "İndirme bittiğinde yeniden başlatmanız istenir; bu sırada uygulamayı kullanmaya devam edebilirsiniz.",
+ retry: "Tekrar dene",
},
nav: {
"pinnedSessions": "Sabitlenmiş",
@@ -1607,6 +1611,7 @@ sklm: {
defaultUpdated: "Varsayılan AI servisi güncellendi",
providerRemoved: "AI servisi kaldırıldı",
application: "Uygulama",
+ aboutVersion: "Sürüm {{version}}",
logs: "Günlükler",
openLogs: "Günlükleri aç",
feedback: "Sorun bildir",
diff --git a/packages/i18n/src/locales/zh-CN/index.ts b/packages/i18n/src/locales/zh-CN/index.ts
index eeda6388c..53aa30a0c 100644
--- a/packages/i18n/src/locales/zh-CN/index.ts
+++ b/packages/i18n/src/locales/zh-CN/index.ts
@@ -127,6 +127,10 @@ export const zhCN = {
error: "检查更新失败:{{message}}",
dismiss: "忽略",
devDisabled: "开发版本不支持自动更新。",
+ cardDesc: "保持 PI-Desktop 为最新版本,以获取修复与新功能。",
+ backgroundLabel: "正在后台下载",
+ backgroundHint: "下载完成后会提示重启,期间可以继续使用。",
+ retry: "重试",
},
nav: {
pinnedSessions: "置顶",
@@ -1592,6 +1596,7 @@ sklm: {
defaultUpdated: "默认 AI 服务已更新",
providerRemoved: "AI 服务已删除",
application: "应用",
+ aboutVersion: "版本 {{version}}",
logs: "日志",
openLogs: "打开日志",
feedback: "问题反馈",
diff --git a/packages/i18n/src/locales/zh-TW/index.ts b/packages/i18n/src/locales/zh-TW/index.ts
index 1d446aca6..c69b6f9be 100644
--- a/packages/i18n/src/locales/zh-TW/index.ts
+++ b/packages/i18n/src/locales/zh-TW/index.ts
@@ -127,6 +127,10 @@ export const zhTW = {
error: "檢查更新失敗:{{message}}",
dismiss: "忽略",
devDisabled: "開發版本不支援自動更新。",
+ cardDesc: "保持 PI-Desktop 為最新版本,以取得修復與新功能。",
+ backgroundLabel: "正在背景下載",
+ backgroundHint: "下載完成後會提示重新啟動,期間可以繼續使用。",
+ retry: "重試",
},
nav: {
pinnedSessions: "釘選",
@@ -1592,6 +1596,7 @@ sklm: {
defaultUpdated: "預設 AI 服務已更新",
providerRemoved: "AI 服務已刪除",
application: "應用",
+ aboutVersion: "版本 {{version}}",
logs: "日誌",
openLogs: "開啟日誌",
feedback: "問題反饋",