Skip to content

The agent that grows with you

chore(desktop): fix review store test lint and regenerate i18n keys

Brooklyn Nicholson4768b37a404c
diff --git a/apps/desktop/src/i18n/zh-hant_chat.ts b/apps/desktop/src/i18n/zh-hant_chat.ts
index 4fe0813eda1..15460442a4a 100644
--- a/apps/desktop/src/i18n/zh-hant_chat.ts
+++ b/apps/desktop/src/i18n/zh-hant_chat.ts
@@ -346,6 +346,7 @@ export const zhHantChat = {
scopeUncommitted: '未提交',
scopeBranch: '分支',
scopeLastTurn: '上一輪',
+ readOnlyScope: '唯讀檢視 — 暫存、還原和提交操作僅適用於「未提交」',
commit: '提交',
commitAndPush: '提交並推送',
commitPlaceholder: shortcut => `訊息(${shortcut} 提交)`,
diff --git a/apps/desktop/src/store/review.test.ts b/apps/desktop/src/store/review.test.ts
index 335d3934fb8..6119cab7eb4 100644
--- a/apps/desktop/src/store/review.test.ts
+++ b/apps/desktop/src/store/review.test.ts
@@ -20,10 +20,7 @@ import {
$reviewSelectedPath,
$reviewShipBusy,
$reviewShipInfo,
- $reviewTreeMode,
$reviewTurnBase,
- cancelRevert,
- clearReviewSelection,
closeReview,
commitChanges,
confirmRevert,
@@ -34,11 +31,11 @@ import {
refreshShipInfo,
requestRevert,
revealReview,
+ revertReviewFile,
selectReviewFile,
stageReviewFile,
toggleReview,
- unstageReviewFile,
- revertReviewFile
+ unstageReviewFile
} from './review'
import { $busy, $currentCwd } from './session'
import { $sessionStates } from './session-states'
diff --git a/locales/_keys.desktop.json b/locales/_keys.desktop.json
index 633ed2312f2..72388b2ed14 100644
--- a/locales/_keys.desktop.json
+++ b/locales/_keys.desktop.json
@@ -4519,6 +4519,7 @@
"statusStack.coding.openChanges",
"statusStack.coding.openFile",
"statusStack.coding.openPr",
+ "statusStack.coding.readOnlyScope",
"statusStack.coding.revert",
"statusStack.coding.revertAll",
"statusStack.coding.revertAllConfirm",