papilot 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/README.de.md +110 -0
  2. package/README.es.md +110 -0
  3. package/README.fr.md +110 -0
  4. package/README.it.md +110 -0
  5. package/README.ja.md +110 -0
  6. package/README.ko.md +110 -0
  7. package/README.md +54 -121
  8. package/README.pt.md +110 -0
  9. package/README.sv.md +110 -0
  10. package/README.zh-CN.md +58 -117
  11. package/README.zh-Hant.md +110 -0
  12. package/bin/doctor.mjs +7 -5
  13. package/dist/assets/{_virtual_papilot-licenses-D7ro6ecN.js → _virtual_papilot-licenses-CMfCtEYQ.js} +1 -1
  14. package/dist/assets/index-oAIkxhfp.js +265 -0
  15. package/dist/assets/index-t_qCOF_B.css +1 -0
  16. package/dist/assets/{math-V9uUaUzA.js → math-CEU4m4-H.js} +1 -1
  17. package/dist/assets/{pdf-view-Bnb2uIBE.js → pdf-view-HWRGBLsZ.js} +1 -1
  18. package/dist/index.html +2 -2
  19. package/examples/papilot-paper/preview/main.pdf +0 -0
  20. package/examples/papilot-paper/preview/main.synctex.gz +0 -0
  21. package/package.json +18 -5
  22. package/src/server/acp.ts +44 -7
  23. package/src/server/agents.ts +5 -3
  24. package/src/server/app.ts +10 -3
  25. package/src/server/desktop-demo.ts +38 -0
  26. package/src/server/imports.ts +60 -21
  27. package/src/server/manuscript.ts +44 -8
  28. package/src/server/reconcile.ts +20 -0
  29. package/src/server/review.ts +3 -2
  30. package/src/server/start.ts +26 -4
  31. package/src/server/store.ts +0 -8
  32. package/src/server/update-install.ts +22 -2
  33. package/src/server/updates.ts +32 -12
  34. package/src/server/workspace.ts +78 -15
  35. package/src/shared.ts +20 -9
  36. package/src/skill-metadata.ts +1 -1
  37. package/vendor/latex-review/dist/web/assets/index-DVs7cTBl.js +19 -0
  38. package/vendor/latex-review/dist/web/assets/index-ysOpu05D.css +1 -0
  39. package/vendor/latex-review/dist/web/index.html +2 -2
  40. package/vendor/latex-review/src/core/build.ts +180 -97
  41. package/vendor/latex-review/src/core/current-commit.ts +104 -0
  42. package/vendor/latex-review/src/core/delivery.ts +62 -16
  43. package/vendor/latex-review/src/core/git.ts +135 -29
  44. package/vendor/latex-review/src/core/outline.ts +0 -9
  45. package/vendor/latex-review/src/core/publish.ts +7 -1
  46. package/vendor/latex-review/src/core/reconcile.ts +101 -0
  47. package/vendor/latex-review/src/core/review.ts +5 -2
  48. package/vendor/latex-review/src/core/store.ts +1 -0
  49. package/vendor/latex-review/src/core/tasks.ts +1 -1
  50. package/vendor/latex-review/src/locales.ts +47 -0
  51. package/vendor/latex-review/src/server.ts +12 -1
  52. package/vendor/latex-review/src/types.ts +5 -2
  53. package/vendor/latex-review/src/web/i18n.ts +9 -21
  54. package/vendor/latex-review/src/web/locales/de.json +250 -0
  55. package/vendor/latex-review/src/web/locales/es.json +250 -0
  56. package/vendor/latex-review/src/web/locales/fr.json +250 -0
  57. package/vendor/latex-review/src/web/locales/index.ts +16 -0
  58. package/vendor/latex-review/src/web/locales/it.json +250 -0
  59. package/vendor/latex-review/src/web/locales/ja.json +250 -0
  60. package/vendor/latex-review/src/web/locales/ko.json +250 -0
  61. package/vendor/latex-review/src/web/locales/pt.json +250 -0
  62. package/vendor/latex-review/src/web/locales/sv.json +250 -0
  63. package/vendor/latex-review/src/web/locales/zh-Hant.json +250 -0
  64. package/vendor/latex-review/src/web/references.tsx +1 -1
  65. package/vendor/latex-review/src/web/review.tsx +8 -6
  66. package/vendor/latex-review/src/web/style.css +1 -11
  67. package/vendor/latex-review/src/web/zh-CN.ts +4 -2
  68. package/dist/assets/index-Cc-awdNn.css +0 -1
  69. package/dist/assets/index-D_VX51no.js +0 -265
  70. package/vendor/latex-review/dist/web/assets/index-7VKAte5x.js +0 -19
  71. package/vendor/latex-review/dist/web/assets/index-DEz-LsGl.css +0 -1
@@ -0,0 +1,250 @@
1
+ {
2
+ "(no such paper)": "(無此論文)",
3
+ "(not registered)": "(未註冊)",
4
+ "Accept": "接受",
5
+ "Accept all": "全部接受",
6
+ "Accept all ({n})": "全部接受 ({n})",
7
+ "Accept anyway": "仍要接受",
8
+ "Accept bibliography entries that are not verified?": "要接受未驗證的參考文獻項目嗎?",
9
+ "Accept {n} undecided change": "接受 {n} 項未決定的變更",
10
+ "Accept {n} undecided changes": "接受 {n} 項未決定的變更",
11
+ "Accepted": "已接受",
12
+ "Accepted changes are in your manuscript.": "已接受的變更已寫入您的論文原稿。",
13
+ "Affects {n} place": "影響 {n} 處",
14
+ "Affects {n} places": "影響 {n} 處",
15
+ "After": "修改後",
16
+ "Agent needs your input": "智慧代理需要您的回覆",
17
+ "All changes are staged": "所有變更皆已暫存",
18
+ "All changes are staged.": "所有變更皆已暫存。",
19
+ "All changes reviewed": "所有變更皆已審閱",
20
+ "All changes reviewed. Your decisions are saved.": "所有變更皆已審閱。您的決定已儲存。",
21
+ "All decided": "已全部決定",
22
+ "All reviews": "所有審閱",
23
+ "All tasks": "所有任務",
24
+ "An agent can write an entry for a work that does not exist, or with the wrong authors, year or DOI. Check each one before it goes into your paper.": "智慧代理可能會為不存在的著作建立書目項目,或填入錯誤的作者、年份或 DOI。請在將每個項目納入論文前逐一核對。",
25
+ "Another entry in the bibliography has the same key.": "參考文獻中的另一個書目項目使用了相同的鍵值。",
26
+ "Authors": "作者",
27
+ "Awaiting revision": "等待修訂",
28
+ "Awaiting your review": "等待您審閱",
29
+ "Back to current changes →": "返回目前的變更 →",
30
+ "Back to review": "返回審閱",
31
+ "Before": "變更前",
32
+ "BibTeX cannot read this entry.": "BibTeX 無法讀取此書目項目。",
33
+ "Bibliography": "參考文獻",
34
+ "Binary file changed.": "二進位檔案已變更。",
35
+ "Cancel": "取消",
36
+ "Change map": "變更地圖",
37
+ "Change {list}": "變更 {list}",
38
+ "Change {n}": "變更 {n}",
39
+ "Changed entry": "已變更書目項目",
40
+ "Changes are ready": "變更已就緒",
41
+ "Changes {list}": "變更 {list}",
42
+ "Check again": "再次檢查",
43
+ "Checked by you": "已由您核對",
44
+ "Checking…": "檢查中…",
45
+ "Choose how to save the accepted changes to your manuscript.": "選擇如何將已接受的變更儲存至您的論文原稿。",
46
+ "Cited {n} time: {places}": "引用 {n} 次:{places}",
47
+ "Cited {n} times: {places}": "引用 {n} 次:{places}",
48
+ "Cites {key}, which no bibliography entry defines.": "引用了 {key},但沒有任何參考文獻項目定義此鍵值。",
49
+ "Clipboard unavailable. Select the PDF text and use your browser’s Copy command.": "無法使用剪貼簿。請選取 PDF 文字並使用瀏覽器的複製指令。",
50
+ "Close": "關閉",
51
+ "Closest record": "最接近的紀錄",
52
+ "Comment": "評論",
53
+ "Comment on change {n}": "對變更 {n} 發表評論",
54
+ "Commented": "已評論",
55
+ "Commit them when you are ready.": "準備好後即可提交。",
56
+ "Comparing with the last commit…": "正在與上次提交比對…",
57
+ "Comparison failed": "比對失敗",
58
+ "Compiling LaTeX": "正在編譯 LaTeX",
59
+ "Continued: only line breaks moved here.": "續上頁:此處僅有換行位置變動。",
60
+ "Copied selected text with file, lines and PDF page.": "已複製所選文字及檔案、行號與 PDF 頁碼。",
61
+ "Copied the change location.": "已複製變更位置。",
62
+ "Copy reference": "複製引用位置",
63
+ "Copy selected PDF text": "複製所選 PDF 文字",
64
+ "Copy selected text with this change’s file, line numbers and PDF page": "複製所選文字及此變更的檔案、行號與 PDF 頁碼",
65
+ "Could not check": "無法檢查",
66
+ "Current changes": "目前的變更",
67
+ "DOI": "DOI",
68
+ "Differs from the record": "與紀錄不符",
69
+ "Earlier changes": "先前的變更",
70
+ "Edited": "已編輯",
71
+ "Editing": "編輯中",
72
+ "Entry": "書目項目",
73
+ "Feedback queued": "意見回饋已排入佇列",
74
+ "Feedback sent · Agent is working": "意見回饋已傳送 · 智慧代理處理中",
75
+ "Filter reviews": "篩選審閱",
76
+ "Finish or abort the merge in the Git panel before staging or reverting changes.": "在暫存或還原變更前,請先在 Git 面板中完成或中止合併。",
77
+ "Finished": "已完成",
78
+ "History": "歷史記錄",
79
+ "I checked it myself": "我已自行核對",
80
+ "In review": "審閱中",
81
+ "J / K or → / ←": "J / K 或 → / ←",
82
+ "Keyboard shortcuts": "鍵盤快速鍵",
83
+ "Last decision undone. The restored changes need review again.": "已復原上一個決定。還原的變更需要重新審閱。",
84
+ "Layout": "版面配置",
85
+ "Leaves {n} change with bibliography entries to check.": "尚有 {n} 處含待核對書目條目的變更。",
86
+ "Leaves {n} changes with bibliography entries to check.": "尚有 {n} 處含待核對書目條目的變更。",
87
+ "Loading…": "載入中…",
88
+ "Long change: the source is shortened.": "變更較長:原始碼已縮略。",
89
+ "Looking this entry up in Crossref, DBLP and arXiv…": "正在 Crossref、DBLP 與 arXiv 中查詢此書目項目…",
90
+ "Matches the record in {source}, apart from the small differences below.": "除下方細微差異外,與 {source} 中的紀錄一致。",
91
+ "Matches the record in {source}.": "與 {source} 中的紀錄一致。",
92
+ "Merge review": "合併審閱",
93
+ "Mixed": "混合",
94
+ "Moved": "已移動",
95
+ "New changes will appear here when ready.": "新的變更準備就緒後會顯示於此。",
96
+ "New entry": "新增書目項目",
97
+ "Next / previous change": "下一個/上一個變更",
98
+ "Next change": "下一個變更",
99
+ "Next change (J or →)": "下一個變更 (J 或 →)",
100
+ "Next undecided": "下一個未決定項",
101
+ "Next unstaged": "下一個未暫存項目",
102
+ "No arXiv paper has this identifier, and no record matches the title.": "沒有使用此識別碼的 arXiv 論文,且沒有與標題相符的紀錄。",
103
+ "No bibliography entry has this key.": "沒有任何參考文獻項目使用此鍵值。",
104
+ "No changes to review.": "沒有需要審閱的變更。",
105
+ "No open reviews yet. Start a task from your document repository.": "目前沒有進行中的審閱。請從您的文件儲存庫開始一項任務。",
106
+ "No record in Crossref, DBLP or arXiv matches this entry. Theses, reports and many books are in none of them, so check it yourself.": "Crossref、DBLP 或 arXiv 中皆無與此書目項目相符的紀錄。學位論文、報告及許多書籍皆未收錄於這些資料庫中,因此請自行核對。",
107
+ "No reviews match this filter.": "沒有符合此篩選條件的審閱。",
108
+ "No uncommitted changes": "沒有未提交的變更",
109
+ "No visible change": "無可見變更",
110
+ "No visible change in the PDF; see the LaTeX source.": "PDF 中無可見變更;請檢視 LaTeX 原始碼。",
111
+ "Not checked online": "未在線上檢查",
112
+ "Not cited in the paper, so it does not appear in the PDF.": "論文中未引用,因此不會顯示在 PDF 中。",
113
+ "Not published yet": "尚未發佈",
114
+ "Not verified": "未驗證",
115
+ "Nothing to check": "無須檢查",
116
+ "Online checks are off in Settings, so this entry was not looked up.": "「設定」中已關閉線上檢查,因此未查詢此書目項目。",
117
+ "Open Chat to answer the agent's question.": "開啟聊天室以回答智慧代理的問題。",
118
+ "Open →": "開啟 →",
119
+ "Other changes": "其他變更",
120
+ "Partly staged": "部分已暫存",
121
+ "Pause this task in Papilot before accepting, rejecting, or undoing changes. You can still add comments.": "在接受、拒絕或復原變更前,請先在 Papilot 中暫停此任務。您仍可新增評論。",
122
+ "Pending": "待處理",
123
+ "Preparing the next review…": "正在準備下一次審閱…",
124
+ "Previous change": "上一個變更",
125
+ "Previous change (K or ←)": "上一個變更 (K 或 ←)",
126
+ "Publish failed": "發佈失敗",
127
+ "Publishing": "發佈中",
128
+ "Put back what the last revert removed (U)": "恢復上次還原所移除的內容 (U)",
129
+ "Queued behind {n} updates…": "排在 {n} 個更新之後…",
130
+ "Queued behind {n} update…": "排在 {n} 個更新之後…",
131
+ "Queued…": "排隊中…",
132
+ "Reconnecting…": "重新連線中…",
133
+ "Record": "紀錄",
134
+ "Reflow": "重新排版",
135
+ "Reject": "拒絕",
136
+ "Reject all": "全部拒絕",
137
+ "Reject all ({n})": "全部拒絕 ({n})",
138
+ "Reject {n} undecided change": "拒絕 {n} 項未決定的變更",
139
+ "Reject {n} undecided changes": "拒絕 {n} 項未決定的變更",
140
+ "Rejected": "已拒絕",
141
+ "Removed entry": "已移除書目項目",
142
+ "Rendering the diff": "正在算繪差異",
143
+ "Revert": "還原",
144
+ "Revert undone. The changes are back in your files.": "已復原還原操作。變更已回到您的檔案中。",
145
+ "Reverted": "已還原",
146
+ "Review complete": "審閱完成",
147
+ "Review history": "審閱歷史記錄",
148
+ "Review the current change": "審閱目前的變更",
149
+ "Review view": "審閱檢視",
150
+ "Review →": "審閱 →",
151
+ "Reviewed changes · View in History": "已審閱的變更 · 在歷史記錄中檢視",
152
+ "Revised after your comment: ": "根據您的評論修訂:",
153
+ "Search by title or task name": "依標題或任務名稱搜尋",
154
+ "Search reviews": "搜尋審閱",
155
+ "Select Check status in Papilot before accepting, rejecting, or undoing changes. You can still add comments.": "在接受、拒絕或復原變更前,請先在 Papilot 中選取「檢查狀態」。您仍可新增評論。",
156
+ "Select text directly in the PDF preview. Copy reference includes the selection and its file, line numbers and page. Review shortcuts pause while text is selected.": "直接在 PDF 預覽中選取文字。「複製引用位置」會包含所選內容及其檔案、行號與頁碼。選取文字期間,審閱快捷鍵會暫停使用。",
157
+ "Send": "傳送",
158
+ "Show LaTeX source": "顯示 LaTeX 原始碼",
159
+ "Show the LaTeX source (S)": "顯示 LaTeX 原始碼 (S)",
160
+ "Show {n} more": "再顯示 {n} 項",
161
+ "Since the last commit": "自上次提交以來",
162
+ "Source only": "僅原始碼",
163
+ "Stage": "暫存",
164
+ "Stage all": "全部暫存",
165
+ "Stage all ({n})": "全部暫存 ({n})",
166
+ "Stage anyway": "仍要暫存",
167
+ "Stage bibliography entries that are not verified?": "要暫存未驗證的參考文獻項目嗎?",
168
+ "Stage or unstage": "暫存或取消暫存",
169
+ "Stage the {n} unstaged change.": "暫存 {n} 個未暫存的變更。",
170
+ "Stage the {n} unstaged changes.": "暫存 {n} 個未暫存的變更。",
171
+ "Staged": "已暫存",
172
+ "Starting": "正在啟動",
173
+ "Taking a snapshot": "正在建立快照",
174
+ "Text": "文字",
175
+ "The DOI is not registered, and no record matches the title.": "此 DOI 未註冊,且沒有與標題相符的紀錄。",
176
+ "The PDF matches the last commit.": "PDF 與上次提交一致。",
177
+ "The comparison could not be built: ": "無法建立比對:",
178
+ "The entry has no title, DOI or arXiv identifier to look up.": "此書目項目沒有可供查詢的標題、DOI 或 arXiv 識別碼。",
179
+ "The last commit changed. The comparison is being updated.": "上次提交已變更。正在更新比對。",
180
+ "The latest publish failed: ": "最近一次發布失敗:",
181
+ "The paper does not use this .bib file, so the entry will not appear.": "論文未使用此 .bib 檔案,因此該書目項目不會顯示。",
182
+ "The paper still cites this key, and no entry defines it now.": "論文仍引用此鍵值,但目前沒有書目項目定義它。",
183
+ "The sources could not be reached.": "無法連線至資料來源。",
184
+ "There are no accepted changes to save.": "沒有可儲存的已接受變更。",
185
+ "There are no new changes to review. Previous decisions are available in History.": "沒有需要審閱的新變更。先前的決定可在歷史記錄中檢視。",
186
+ "This page updates by itself.": "此頁面會自動更新。",
187
+ "This review is finished. Accepted changes are in your manuscript.": "本次審閱已完成。已接受的變更已寫入您的論文原稿。",
188
+ "This task is being deleted. Review actions and comments are unavailable.": "正在刪除此任務。審閱操作與評論功能無法使用。",
189
+ "This task is no longer available in Papilot. Return to the workspace.": "此任務在 Papilot 中已無法使用。請返回工作區。",
190
+ "Title": "標題",
191
+ "Unchanged text": "未變更文字",
192
+ "Unchanged text is folded": "未變更文字已摺疊",
193
+ "Uncommitted changes": "未提交的變更",
194
+ "Undo": "復原",
195
+ "Undo last decision": "復原上一個決定",
196
+ "Undo revert": "復原還原操作",
197
+ "Undo {action} · {changes}": "復原{action} · {changes}",
198
+ "Unstage": "取消暫存",
199
+ "Unstaged": "未暫存",
200
+ "Updating changes…": "正在更新變更…",
201
+ "Updating the comparison with your latest edits. You can keep staging and reverting meanwhile.": "正在使用您的最新編輯更新比對。在此期間您仍可繼續暫存與還原。",
202
+ "Verified": "已驗證",
203
+ "Viewing earlier changes.": "正在檢視較早的變更。",
204
+ "Wait for the PDF build before accepting, rejecting, or undoing changes. You can still add comments.": "在接受、拒絕或復原變更前,請先等待 PDF 建置完成。您仍可新增評論。",
205
+ "Wait for the current review action before accepting, rejecting, or undoing changes. You can still add comments.": "在接受、拒絕或復原變更前,請先等待目前的審閱操作完成。您仍可新增評論。",
206
+ "Wait for the merge suggestion before changing review decisions.": "請先等待合併建議,再變更審閱決定。",
207
+ "Waiting for the agent to publish its changes.": "正在等待智慧代理發布變更。",
208
+ "What should the agent change here?": "智慧代理應該在此處做什麼修改?",
209
+ "Year": "年份",
210
+ "You checked this entry yourself.": "您已自行核對此條目。",
211
+ "Your comment: ": "您的評論:",
212
+ "Your comments are saved for the agent.": "您的評論已儲存供智慧代理參考。",
213
+ "Your comments are saved. Send feedback so the agent can revise.": "您的評論已儲存。請傳送意見回饋,讓智慧代理進行修訂。",
214
+ "Your decisions are saved. Send them to the agent to continue.": "您的決定已儲存。請傳送給智慧代理以繼續。",
215
+ "Your manuscript is unchanged until you save the merged result.": "在儲存合併結果之前,您的論文原稿不會變更。",
216
+ "arXiv": "arXiv",
217
+ "checking {n}…": "正在檢查 {n} 個…",
218
+ "deleted": "已刪除",
219
+ "lines {start}–{end}": "第 {start}–{end} 行",
220
+ "new file": "新檔案",
221
+ "online checks are off": "線上檢查已關閉",
222
+ "p. {pages}": "第 {pages} 頁",
223
+ "small": "細微",
224
+ "with {changes}": "含 {changes}",
225
+ "{decided} of {total} decided": "已決定 {decided} / {total} 項",
226
+ "{label}, PDF page {page}": "{label},PDF 第 {page} 頁",
227
+ "{n} accepted": "{n} 個已接受",
228
+ "{n} checked by you": "{n} 項已由您核對",
229
+ "{n} citation without an entry": "{n} 處引用缺少書目項目",
230
+ "{n} citations without an entry": "{n} 處引用缺少書目項目",
231
+ "{n} commented": "{n} 個已評論",
232
+ "{n} could not be checked": "{n} 個無法檢查",
233
+ "{n} differ from their records": "{n} 個與其紀錄不符",
234
+ "{n} differs from its record": "{n} 個與其紀錄不符",
235
+ "{n} edits · LaTeX": "{n} 處編輯 · LaTeX",
236
+ "{n} entries changed": "{n} 個書目項目已變更",
237
+ "{n} entry changed": "{n} 個書目項目已變更",
238
+ "{n} new LaTeX warning": "{n} 則新 LaTeX 警告",
239
+ "{n} new LaTeX warnings": "{n} 則新 LaTeX 警告",
240
+ "{n} not verified": "{n} 個未驗證",
241
+ "{n} open review": "{n} 個進行中的審閱",
242
+ "{n} open reviews": "{n} 個進行中的審閱",
243
+ "{n} pending": "{n} 個待處理",
244
+ "{n} rejected": "{n} 個已拒絕",
245
+ "{n} verified": "{n} 個已驗證",
246
+ "{sources} could not be reached.": "無法連線至 {sources}。",
247
+ "{source} has this work with other details. Compare them below.": "{source} 中收錄的此著作具有其他詳細資訊。請在下方進行比對。",
248
+ "{staged} of {total} staged": "已暫存 {staged} / {total}",
249
+ "⌘↵ send · Esc cancel": "⌘↵ 傳送 · Esc 取消"
250
+ }
@@ -168,7 +168,7 @@ export function risks(
168
168
  }
169
169
 
170
170
  // Chinese sentences follow each other without a space.
171
- const gap = () => (language() === "zh-CN" ? "" : " ");
171
+ const gap = () => (language().startsWith("zh") ? "" : " ");
172
172
  function where(place: ReferenceCitation) {
173
173
  return `${place.section ? `${place.section} · ` : ""}${place.file}:${place.line}`;
174
174
  }
@@ -1002,7 +1002,7 @@ export function ReviewApp({
1002
1002
  <p className="reference-problem reference-uncited">
1003
1003
  {uncited
1004
1004
  .map((m) => t("Cites {key}, which no bibliography entry defines.", { key: m.key }))
1005
- .join(language() === "zh-CN" ? "" : " ")}
1005
+ .join(language().startsWith("zh") ? "" : " ")}
1006
1006
  </p>
1007
1007
  )}
1008
1008
  {bib.length > 0 && (
@@ -1354,7 +1354,7 @@ export function ReviewApp({
1354
1354
  : state?.workspace?.status === "building" ||
1355
1355
  state?.state === "building"
1356
1356
  ? "Preparing the next review…"
1357
- : "All changes reviewed",
1357
+ : state?.workspace?.merging ? "Merge review" : "All changes reviewed",
1358
1358
  )}
1359
1359
  </strong>
1360
1360
  <span>
@@ -1365,14 +1365,16 @@ export function ReviewApp({
1365
1365
  state?.workspace?.status || "",
1366
1366
  ) || state?.state === "building"
1367
1367
  ? "New changes will appear here when ready."
1368
- : state?.workspace?.comments
1368
+ : state?.workspace?.merging
1369
+ ? "Your manuscript is unchanged until you save the merged result."
1370
+ : state?.workspace?.comments
1369
1371
  ? "Your comments are saved. Send feedback so the agent can revise."
1370
1372
  : state?.workspace?.deferred
1371
1373
  ? state.workspace.accepted
1372
- ? "Accepted changes are saved in this task. Choose where to save them below."
1374
+ ? "Choose how to save the accepted changes to your manuscript."
1373
1375
  : state.workspace.destination === "branch"
1374
- ? "Accepted changes are committed to the task branch."
1375
- : state.workspace.destination === "workspace"
1376
+ ? "Choose how to save the accepted changes to your manuscript."
1377
+ : (state.workspace.destination === "workspace" || state.workspace.destination === "commit")
1376
1378
  ? "Accepted changes are in your manuscript."
1377
1379
  : "There are no accepted changes to save."
1378
1380
  : state?.workspace?.accepted
@@ -399,6 +399,7 @@ kbd {
399
399
  mix-blend-mode: multiply;
400
400
  }
401
401
  .side::after {
402
+ content: attr(aria-label);
402
403
  position: absolute;
403
404
  top: 4px;
404
405
  right: 8px;
@@ -409,20 +410,9 @@ kbd {
409
410
  opacity: 0.9;
410
411
  pointer-events: none;
411
412
  }
412
- .side.before::after {
413
- content: "before";
414
- }
415
413
  .side.after::after {
416
- content: "after";
417
414
  color: var(--after-edge);
418
415
  }
419
- /* :where keeps the original weight, so later rules still hide the labels. */
420
- :where(:lang(zh-CN)) .side.before::after {
421
- content: "修改前";
422
- }
423
- :where(:lang(zh-CN)) .side.after::after {
424
- content: "修改后";
425
- }
426
416
  .side.after.identical::after,
427
417
  .change[data-resolved] .side::after {
428
418
  content: none;
@@ -1,7 +1,9 @@
1
1
  // Simplified Chinese for the review viewer, keyed by the English text.
2
2
  export const zhCN: Record<string, string> = {
3
- "Accepted changes are saved in this task. Choose where to save them below.": "已接受的改动保存在此任务中,请在下方选择保存方式。",
4
- "Accepted changes are committed to the task branch.": "已接受的改动已提交到任务分支。",
3
+ "Merge review": "合并审阅",
4
+ "Your manuscript is unchanged until you save the merged result.": "保存合并结果前,论文保持不变。",
5
+ "Wait for the merge suggestion before changing review decisions.": "请等待合并建议生成后再审核。",
6
+ "Choose how to save the accepted changes to your manuscript.": "请选择如何将已接受的改动保存到论文。",
5
7
  "There are no accepted changes to save.": "没有需要保存的已接受改动。",
6
8
 
7
9
  // Overview