Skip to content

The agent that grows with you

fix(desktop): catalog-row copy pass — terser toasts, dead verifying string, live job detail

emozilla390de799eb87
diff --git a/apps/desktop/src/app/settings/local-models-settings.tsx b/apps/desktop/src/app/settings/local-models-settings.tsx
index 65acfc83f20..82be9aa96c0 100644
--- a/apps/desktop/src/app/settings/local-models-settings.tsx
+++ b/apps/desktop/src/app/settings/local-models-settings.tsx
@@ -480,8 +480,8 @@ export function LocalModelsSettings() {
<ProgressBar percent={dJob.percent} />
<p className="text-[0.68rem] text-muted-foreground">
- {dJob.phase === 'verifying'
- ? copy.verifying
+ {!dJob.done_bytes && dJob.detail
+ ? dJob.detail
: copy.downloadProgress(gbLabel(dJob.done_bytes), gbLabel(dJob.total_bytes))}
</p>
</div>
@@ -899,7 +899,9 @@ function BrowseSection({ onChanged }: { onChanged: () => void }) {
<ProgressBar percent={dJob.percent} />
<span className="text-[0.68rem] text-muted-foreground">
- {copy.downloadProgress(gbLabel(dJob.done_bytes), gbLabel(dJob.total_bytes))}
+ {!dJob.done_bytes && dJob.detail
+ ? dJob.detail
+ : copy.downloadProgress(gbLabel(dJob.done_bytes), gbLabel(dJob.total_bytes))}
</span>
</>
) : (
diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts
index 2c6b81ce2e5..dc7187e0bff 100644
--- a/apps/desktop/src/i18n/en.ts
+++ b/apps/desktop/src/i18n/en.ts
@@ -1065,7 +1065,7 @@ export const en: Translations = {
downloaded: 'Downloaded',
downloadAction: size => `Download · ${size}`,
downloadProgress: (done, total) => `${done} of ${total}`,
- downloadDoneToast: model => `${model} is downloaded and ready to use.`,
+ downloadDoneToast: model => `${model} is ready.`,
installDoneToast: 'Local runtime installed and ready.',
useAction: 'Use',
activePill: 'Default',
@@ -1097,8 +1097,7 @@ export const en: Translations = {
serverStartFailed: 'Could not start the local server',
activating: 'Starting…',
activateFailed: model => `Could not switch to ${model}`,
- activateDoneToast: model => `${model} is now your model — new chats will use it.`,
- verifying: 'Verifying download…',
+ activateDoneToast: model => `New chats use ${model}.`,
downloadFailed: model => `Download of ${model} failed`,
pillFitsGpu: 'Fits your GPU',
pillUsesRam: 'Uses system RAM',
diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.ts
index 0b18517244a..0e2440ba8e1 100644
--- a/apps/desktop/src/i18n/ja.ts
+++ b/apps/desktop/src/i18n/ja.ts
@@ -988,7 +988,7 @@ export const ja = defineLocale({
downloaded: 'ダウンロード済み',
downloadAction: size => `ダウンロード · ${size}`,
downloadProgress: (done, total) => `${done} / ${total}`,
- downloadDoneToast: model => `${model} のダウンロードが完了し、使用できます。`,
+ downloadDoneToast: model => `${model} の準備ができました。`,
installDoneToast: 'ローカルランタイムのインストールが完了しました。',
useAction: '使用する',
activePill: 'デフォルト',
@@ -1019,8 +1019,7 @@ export const ja = defineLocale({
serverStartFailed: 'ローカルサーバーを起動できませんでした',
activating: '起動中…',
activateFailed: model => `${model} への切り替えに失敗しました`,
- activateDoneToast: model => `${model} が現在のモデルになりました——新しいチャットで使用されます。`,
- verifying: 'ダウンロードを検証中…',
+ activateDoneToast: model => `新しいチャットは ${model} を使用します。`,
downloadFailed: model => `${model} のダウンロードに失敗しました`,
pillFitsGpu: 'GPU に完全に収まります',
pillUsesRam: 'システム RAM を使用',
diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.ts
index 3a16b654c7e..1904d4e8fa3 100644
--- a/apps/desktop/src/i18n/types.ts
+++ b/apps/desktop/src/i18n/types.ts
@@ -953,7 +953,6 @@ export interface Translations {
activating: string
activateFailed: (model: string) => string
activateDoneToast: (model: string) => string
- verifying: string
downloadFailed: (model: string) => string
pillFitsGpu: string
pillUsesRam: string
diff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.ts
index 161a0936f1e..ca3119a6476 100644
--- a/apps/desktop/src/i18n/zh-hant.ts
+++ b/apps/desktop/src/i18n/zh-hant.ts
@@ -956,7 +956,7 @@ export const zhHant = defineLocale({
downloaded: '已下載',
downloadAction: size => `下載 · ${size}`,
downloadProgress: (done, total) => `${done} / ${total}`,
- downloadDoneToast: model => `${model} 已下載完成,可以使用。`,
+ downloadDoneToast: model => `${model} 已就緒。`,
installDoneToast: '本地執行環境已安裝就緒。',
useAction: '使用',
activePill: '預設',
@@ -987,8 +987,7 @@ export const zhHant = defineLocale({
serverStartFailed: '無法啟動本地伺服器',
activating: '啟動中…',
activateFailed: model => `無法切換到 ${model}`,
- activateDoneToast: model => `${model} 現在是您的模型——新對話將使用它。`,
- verifying: '正在驗證下載…',
+ activateDoneToast: model => `新對話將使用 ${model}。`,
downloadFailed: model => `${model} 下載失敗`,
pillFitsGpu: '完全在 GPU 上執行',
pillUsesRam: '使用系統記憶體',
diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.ts
index 09ed398bab8..0de981b04a3 100644
--- a/apps/desktop/src/i18n/zh.ts
+++ b/apps/desktop/src/i18n/zh.ts
@@ -1261,7 +1261,7 @@ export const zh: Translations = {
downloaded: '已下载',
downloadAction: size => `下载 · ${size}`,
downloadProgress: (done, total) => `${done} / ${total}`,
- downloadDoneToast: model => `${model} 已下载完成,可以使用。`,
+ downloadDoneToast: model => `${model} 已就绪。`,
installDoneToast: '本地运行时已安装就绪。',
useAction: '使用',
activePill: '默认',
@@ -1292,8 +1292,7 @@ export const zh: Translations = {
serverStartFailed: '无法启动本地服务器',
activating: '启动中…',
activateFailed: model => `无法切换到 ${model}`,
- activateDoneToast: model => `${model} 现在是您的模型——新对话将使用它。`,
- verifying: '正在校验下载…',
+ activateDoneToast: model => `新对话将使用 ${model}。`,
downloadFailed: model => `${model} 下载失败`,
pillFitsGpu: '完全在 GPU 上运行',
pillUsesRam: '使用系统内存',