@lemonriver/core 0.3.0 → 0.5.0
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.
- package/README.md +14 -4
- package/dist/{build-Bqo69DWP.js → build-CS1goZxt.js} +1 -1
- package/dist/cli/bin.js +4 -4
- package/dist/{config-DJ5rkMMg.js → config-BpbcCbUv.js} +3835 -1532
- package/dist/{config-teo3kWz7.d.ts → config-CYNOR93W.d.ts} +1 -1
- package/dist/{dev-B2FJD5bJ.js → dev-BpYnfgLL.js} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/locale/index.d.ts +1 -1
- package/dist/locale/index.js +1 -1
- package/dist/{preview-C93BOZL1.js → preview-HSzPPkSs.js} +1 -1
- package/dist/{types-DFK02XVv.d.ts → types-tdaXSyah.d.ts} +1 -0
- package/dist/{update-DsxZBtwv.js → update-CMRxtTc9.js} +18 -8
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.js +1 -1
- package/dist/{zh-tw-DwTAZKa6.js → zh-tw-DcrDeKxr.js} +5 -0
- package/package.json +2 -2
- package/src/agent/prompt.ts +2 -0
- package/src/agent/types.ts +14 -2
- package/src/app/components/agent/agent-panel.tsx +19 -5
- package/src/app/components/agent/connect-view.tsx +1 -1
- package/src/app/components/agent/provider-logo.tsx +10 -1
- package/src/app/components/player.tsx +105 -23
- package/src/app/components/present/curtain.tsx +52 -0
- package/src/app/components/present/last-slide-hint.tsx +36 -0
- package/src/app/components/sidebar/sidebar-footer.tsx +6 -1
- package/src/app/components/thumbnail-rail.tsx +1 -0
- package/src/app/lemonriver/agent/lemon.tsx +16 -1
- package/src/app/lemonriver/agent/provider-marks.tsx +53 -0
- package/src/app/lemonriver/agent-prefs/prefs.test.ts +173 -0
- package/src/app/lemonriver/agent-prefs/prefs.ts +137 -0
- package/src/app/lemonriver/agent-prefs/use-prefs.ts +36 -0
- package/src/app/lemonriver/agent-providers/section.tsx +75 -0
- package/src/app/lemonriver/agent-providers/use-providers.ts +61 -0
- package/src/app/lemonriver/board/blocks/block-panel.tsx +666 -0
- package/src/app/lemonriver/board/blocks/cache.ts +28 -0
- package/src/app/lemonriver/board/blocks/change-list.tsx +189 -0
- package/src/app/lemonriver/board/blocks/classify.test.ts +204 -0
- package/src/app/lemonriver/board/blocks/classify.ts +125 -0
- package/src/app/lemonriver/board/blocks/snapshot.ts +86 -0
- package/src/app/lemonriver/board/board-canvas.tsx +627 -104
- package/src/app/lemonriver/board/board-page.tsx +1687 -91
- package/src/app/lemonriver/board/board.css +58 -7
- package/src/app/lemonriver/board/layout.test.ts +84 -0
- package/src/app/lemonriver/board/layout.ts +112 -11
- package/src/app/lemonriver/board/model/agent-tasks.test.ts +200 -0
- package/src/app/lemonriver/board/model/agent-tasks.ts +191 -0
- package/src/app/lemonriver/board/model/apply-prompt.test.ts +121 -0
- package/src/app/lemonriver/board/model/apply-prompt.ts +115 -0
- package/src/app/lemonriver/board/model/apply.ts +71 -0
- package/src/app/lemonriver/board/model/cards.test.ts +95 -2
- package/src/app/lemonriver/board/model/cards.ts +88 -20
- package/src/app/lemonriver/board/model/changes.test.ts +244 -0
- package/src/app/lemonriver/board/model/changes.ts +268 -0
- package/src/app/lemonriver/board/model/filter.test.ts +50 -0
- package/src/app/lemonriver/board/model/filter.ts +42 -0
- package/src/app/lemonriver/board/model/history.test.ts +71 -0
- package/src/app/lemonriver/board/model/history.ts +51 -0
- package/src/app/lemonriver/board/model/restructure.test.ts +205 -0
- package/src/app/lemonriver/board/model/restructure.ts +169 -0
- package/src/app/lemonriver/board/model/structure.test.ts +249 -0
- package/src/app/lemonriver/board/model/structure.ts +209 -0
- package/src/app/lemonriver/board/model/timing.test.ts +113 -0
- package/src/app/lemonriver/board/model/timing.ts +117 -0
- package/src/app/lemonriver/board/page-node.tsx +236 -55
- package/src/app/lemonriver/board/status-style.ts +25 -0
- package/src/app/lemonriver/board/use-board-apply.ts +206 -0
- package/src/app/lemonriver/board/use-board-cards.ts +108 -5
- package/src/app/lemonriver/board/use-board-changes.ts +108 -0
- package/src/app/lemonriver/board/use-board-columns.ts +37 -56
- package/src/app/lemonriver/board/use-board-comments.ts +36 -0
- package/src/app/lemonriver/board/use-board-restructures.ts +107 -0
- package/src/app/lemonriver/board/use-history.ts +86 -0
- package/src/app/lemonriver/board/use-page-order.ts +65 -38
- package/src/app/lemonriver/board/use-target-minutes.ts +47 -0
- package/src/app/lemonriver/board/views/block-readings.tsx +46 -0
- package/src/app/lemonriver/board/views/list-view.tsx +356 -0
- package/src/app/lemonriver/board/views/progress.tsx +32 -0
- package/src/app/lemonriver/board/views/timeline-view.tsx +341 -0
- package/src/app/lemonriver/brand/mascot.tsx +86 -0
- package/src/app/lemonriver/brand/mascots/design-done.png +0 -0
- package/src/app/lemonriver/brand/mascots/design-idle.png +0 -0
- package/src/app/lemonriver/brand/mascots/design-needs-you.png +0 -0
- package/src/app/lemonriver/brand/mascots/design-working.png +0 -0
- package/src/app/lemonriver/brand/mascots/outline-done.png +0 -0
- package/src/app/lemonriver/brand/mascots/outline-idle.png +0 -0
- package/src/app/lemonriver/brand/mascots/outline-needs-you.png +0 -0
- package/src/app/lemonriver/brand/mascots/outline-working.png +0 -0
- package/src/app/lemonriver/brand/mascots/research-done.png +0 -0
- package/src/app/lemonriver/brand/mascots/research-idle.png +0 -0
- package/src/app/lemonriver/brand/mascots/research-needs-you.png +0 -0
- package/src/app/lemonriver/brand/mascots/research-working.png +0 -0
- package/src/app/lemonriver/brand/mascots/review-done.png +0 -0
- package/src/app/lemonriver/brand/mascots/review-idle.png +0 -0
- package/src/app/lemonriver/brand/mascots/review-needs-you.png +0 -0
- package/src/app/lemonriver/brand/mascots/review-working.png +0 -0
- package/src/app/lemonriver/chrome/app-chrome.tsx +2 -0
- package/src/app/lemonriver/features.test.ts +5 -0
- package/src/app/lemonriver/features.ts +2 -1
- package/src/app/lemonriver/home/brief-card.tsx +8 -1
- package/src/app/lemonriver/home/home-page.tsx +11 -7
- package/src/app/lemonriver/onboarding/onboarding.tsx +182 -0
- package/src/app/lemonriver/outline/build-team.tsx +278 -0
- package/src/app/lemonriver/outline/describe-page.tsx +380 -0
- package/src/app/lemonriver/outline/files.test.ts +90 -0
- package/src/app/lemonriver/outline/files.ts +69 -0
- package/src/app/lemonriver/outline/model.test.ts +672 -0
- package/src/app/lemonriver/outline/model.ts +455 -0
- package/src/app/lemonriver/outline/outline-page.tsx +537 -0
- package/src/app/lemonriver/outline/pending-pages.tsx +39 -0
- package/src/app/lemonriver/outline/rule.ts +3 -0
- package/src/app/lemonriver/outline/steps.tsx +43 -0
- package/src/app/lemonriver/outline/use-build-driver.ts +258 -0
- package/src/app/lemonriver/routes.test.tsx +6 -6
- package/src/app/lemonriver/routes.tsx +28 -0
- package/src/app/lemonriver/settings/settings-page.tsx +214 -0
- package/src/app/lemonriver/slide-extensions.tsx +45 -26
- package/src/app/lemonriver/text/en.ts +320 -0
- package/src/app/lemonriver/text/es.ts +311 -0
- package/src/app/lemonriver/text/ja.ts +313 -0
- package/src/app/lemonriver/text/text.test.ts +33 -0
- package/src/app/lemonriver/text/types.ts +339 -0
- package/src/app/lemonriver/text/zh-cn.ts +307 -0
- package/src/app/lemonriver/text/zh-tw.ts +307 -0
- package/src/app/lemonriver/theme/app.css +12 -1
- package/src/app/lemonriver/theme/lemon-icon.tsx +6 -0
- package/src/app/lemonriver/theme/pages.test.ts +4 -0
- package/src/app/lemonriver/theme/pages.ts +11 -2
- package/src/app/lemonriver/theme/theme-menu.tsx +3 -2
- package/src/app/lemonriver/theme/use-theme.tsx +2 -2
- package/src/app/lemonriver/update/beta-badge.tsx +26 -0
- package/src/app/lemonriver/update/prompt.test.ts +84 -0
- package/src/app/lemonriver/update/prompt.ts +48 -0
- package/src/app/lemonriver/update/update-prompt.tsx +113 -0
- package/src/app/lib/agent/use-agent.ts +4 -3
- package/src/app/routes/home.tsx +13 -5
- package/src/app/routes/slide.tsx +71 -14
- package/src/locale/en.ts +1 -0
- package/src/locale/es.ts +1 -0
- package/src/locale/ja.ts +1 -0
- package/src/locale/types.ts +1 -0
- package/src/locale/zh-cn.ts +1 -0
- package/src/locale/zh-tw.ts +1 -0
- package/src/app/assets/open-slide.svg +0 -39
- package/src/app/favicon.ico +0 -0
- package/src/app/favicon.svg +0 -39
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Plural } from '../../../locale/types';
|
|
2
|
+
import type { BlockKind, WholeReason } from '../board/blocks/classify.ts';
|
|
3
|
+
import type { PageAction } from '../board/model/agent-tasks.ts';
|
|
2
4
|
|
|
3
5
|
export type LrText = {
|
|
4
6
|
board: {
|
|
@@ -35,6 +37,154 @@ export type LrText = {
|
|
|
35
37
|
showLinks: string;
|
|
36
38
|
hideLinks: string;
|
|
37
39
|
removeLink: string;
|
|
40
|
+
undo: string;
|
|
41
|
+
redo: string;
|
|
42
|
+
/** Shown instead of the undo hint when the newest step removed a page whose source is unreadable. */
|
|
43
|
+
undoUnavailable: string;
|
|
44
|
+
undoFailed: string;
|
|
45
|
+
addChapter: string;
|
|
46
|
+
newChapterTitle: string;
|
|
47
|
+
deleteChapter: string;
|
|
48
|
+
moveChapter: string;
|
|
49
|
+
collapse: string;
|
|
50
|
+
expand: string;
|
|
51
|
+
/** template: "{n} selected" */
|
|
52
|
+
selected: string;
|
|
53
|
+
/** template: "Delete {n} pages?" */
|
|
54
|
+
deleteSelectedTitle: string;
|
|
55
|
+
deleteSelectedHint: string;
|
|
56
|
+
clearSelection: string;
|
|
57
|
+
sizeLarge: string;
|
|
58
|
+
sizeSmall: string;
|
|
59
|
+
sizeTitle: string;
|
|
60
|
+
filter: string;
|
|
61
|
+
filterStatus: string;
|
|
62
|
+
filterMemo: string;
|
|
63
|
+
filterComments: string;
|
|
64
|
+
filterClear: string;
|
|
65
|
+
/** The panel that lists the blocks inside the page last clicked. */
|
|
66
|
+
blockPanel: string;
|
|
67
|
+
blockPanelEmpty: string;
|
|
68
|
+
blockKinds: Record<BlockKind, string>;
|
|
69
|
+
blockDrag: string;
|
|
70
|
+
blockMenu: string;
|
|
71
|
+
/** template: "Page {n} · {title}" — one entry in a page picker. */
|
|
72
|
+
blockPageOption: string;
|
|
73
|
+
moveBlockTo: string;
|
|
74
|
+
parkBlock: string;
|
|
75
|
+
unparkBlockTo: string;
|
|
76
|
+
/** template: "Holding area ({n})" */
|
|
77
|
+
parking: string;
|
|
78
|
+
parkingEmpty: string;
|
|
79
|
+
blockPending: string;
|
|
80
|
+
/** template: "From page {n}" */
|
|
81
|
+
blockFrom: string;
|
|
82
|
+
pageChanges: Plural;
|
|
83
|
+
/** template: "Changes ({n})" */
|
|
84
|
+
changes: string;
|
|
85
|
+
changeRemove: string;
|
|
86
|
+
changeStale: string;
|
|
87
|
+
changeToPage: string;
|
|
88
|
+
changeToParking: string;
|
|
89
|
+
changeFromParking: string;
|
|
90
|
+
changeReorder: string;
|
|
91
|
+
wholeBadge: string;
|
|
92
|
+
whole: Record<WholeReason, string>;
|
|
93
|
+
parkNeedsSource: string;
|
|
94
|
+
/** template: "{kind} {n}" — a block with no words of its own. */
|
|
95
|
+
blockKindN: string;
|
|
96
|
+
splitPage: string;
|
|
97
|
+
mergePages: string;
|
|
98
|
+
/** template: "Page {n}: {k} blocks go to a new page after it" */
|
|
99
|
+
changeSplit: Plural;
|
|
100
|
+
/** template: "Page {a} and page {b} become one page" */
|
|
101
|
+
changeMerge: string;
|
|
102
|
+
restructureReplaced: string;
|
|
103
|
+
apply: string;
|
|
104
|
+
applyNeedsAgent: string;
|
|
105
|
+
applyStale: string;
|
|
106
|
+
applyBuilding: string;
|
|
107
|
+
applying: string;
|
|
108
|
+
applyDone: string;
|
|
109
|
+
applyUndo: string;
|
|
110
|
+
applyUndoLast: string;
|
|
111
|
+
applyUndoConfirm: { title: string; body: string; confirm: string };
|
|
112
|
+
applyUndone: string;
|
|
113
|
+
/** template: "Not applied: {reason}" */
|
|
114
|
+
applyFailed: string;
|
|
115
|
+
applyStalled: string;
|
|
116
|
+
applyCancel: string;
|
|
117
|
+
/** The group of one-page actions, opened from a card or the block panel. */
|
|
118
|
+
askAgent: string;
|
|
119
|
+
askRewrite: string;
|
|
120
|
+
askChart: string;
|
|
121
|
+
askMemo: string;
|
|
122
|
+
askExpand: string;
|
|
123
|
+
/** Why the one-page actions cannot run right now. */
|
|
124
|
+
askNeedsAgent: string;
|
|
125
|
+
askBuilding: string;
|
|
126
|
+
askBusy: string;
|
|
127
|
+
askHasChanges: string;
|
|
128
|
+
askNeedsMemo: string;
|
|
129
|
+
/** template: "Agent is rewriting page {n}…" — one per action. */
|
|
130
|
+
askingPage: Record<PageAction, string>;
|
|
131
|
+
/** template: "Agent is planning chapter {n}…" */
|
|
132
|
+
planningChapter: string;
|
|
133
|
+
/** template: "Agent is writing chapter {n}…" */
|
|
134
|
+
writingChapter: string;
|
|
135
|
+
/** template: "Page {n} is done" */
|
|
136
|
+
askDone: string;
|
|
137
|
+
/** template: "Page {n} became two pages" */
|
|
138
|
+
askExpanded: string;
|
|
139
|
+
/** template: "Chapter {n} has {k} new pages" */
|
|
140
|
+
chapterWritten: string;
|
|
141
|
+
undoTask: string;
|
|
142
|
+
fillChapter: string;
|
|
143
|
+
chapterBrief: string;
|
|
144
|
+
chapterCount: string;
|
|
145
|
+
planChapter: string;
|
|
146
|
+
planning: string;
|
|
147
|
+
/** template: "See the titles ({n})" */
|
|
148
|
+
viewPlan: string;
|
|
149
|
+
/** template: "Write these {n} pages" */
|
|
150
|
+
writeChapter: string;
|
|
151
|
+
dropPlan: string;
|
|
152
|
+
planFailed: string;
|
|
153
|
+
retryPlan: string;
|
|
154
|
+
addPlanItem: string;
|
|
155
|
+
planRemove: string;
|
|
156
|
+
planMoveUp: string;
|
|
157
|
+
planMoveDown: string;
|
|
158
|
+
dragPage: string;
|
|
159
|
+
viewCards: string;
|
|
160
|
+
viewList: string;
|
|
161
|
+
viewTimeline: string;
|
|
162
|
+
/** template: "About {d}" */
|
|
163
|
+
totalDuration: string;
|
|
164
|
+
target: string;
|
|
165
|
+
/** template: "Over by {d}" */
|
|
166
|
+
overTarget: string;
|
|
167
|
+
/** template: "{d} to spare" */
|
|
168
|
+
underTarget: string;
|
|
169
|
+
basisNotes: string;
|
|
170
|
+
basisPage: string;
|
|
171
|
+
basisNone: string;
|
|
172
|
+
/** template: "{done}/{total} done" */
|
|
173
|
+
progress: string;
|
|
174
|
+
/** template: "{n} to review" */
|
|
175
|
+
progressReview: string;
|
|
176
|
+
linkCause: string;
|
|
177
|
+
linkContrast: string;
|
|
178
|
+
linkEcho: string;
|
|
179
|
+
linkEchoShort: string;
|
|
180
|
+
linkRelation: string;
|
|
181
|
+
linkPlain: string;
|
|
182
|
+
/** template: "Jump to page {n}" */
|
|
183
|
+
jumpToPage: string;
|
|
184
|
+
/** Duration shapes: "45s", "1m 20s", "12 min". */
|
|
185
|
+
durationSeconds: string;
|
|
186
|
+
durationMinSec: string;
|
|
187
|
+
durationMinutes: string;
|
|
38
188
|
};
|
|
39
189
|
theme: {
|
|
40
190
|
lime: string;
|
|
@@ -43,6 +193,8 @@ export type LrText = {
|
|
|
43
193
|
newDeck: string;
|
|
44
194
|
/** The dashed card that opens the grid; differs from newDeck so each control has its own name. */
|
|
45
195
|
newDeckCard: string;
|
|
196
|
+
/** The dashed card's label when it opens the guided flow instead. */
|
|
197
|
+
newDeckGuided: string;
|
|
46
198
|
settings: string;
|
|
47
199
|
trash: string;
|
|
48
200
|
offline: string;
|
|
@@ -99,6 +251,18 @@ export type LrText = {
|
|
|
99
251
|
reduceMotion: string;
|
|
100
252
|
reduceMotionHint: string;
|
|
101
253
|
};
|
|
254
|
+
agents: {
|
|
255
|
+
title: string;
|
|
256
|
+
hint: string;
|
|
257
|
+
detected: string;
|
|
258
|
+
missing: string;
|
|
259
|
+
missingHint: string;
|
|
260
|
+
alwaysOn: string;
|
|
261
|
+
/** template: "Turn on {name}" */
|
|
262
|
+
unlock: string;
|
|
263
|
+
dumateReason: string;
|
|
264
|
+
saveFailed: string;
|
|
265
|
+
};
|
|
102
266
|
feedback: {
|
|
103
267
|
notFoundHint: string;
|
|
104
268
|
backHome: string;
|
|
@@ -107,5 +271,180 @@ export type LrText = {
|
|
|
107
271
|
uploadTooLarge: string;
|
|
108
272
|
uploadTooLargeHint: string;
|
|
109
273
|
confirmWho: string;
|
|
274
|
+
confirmReview: string;
|
|
275
|
+
};
|
|
276
|
+
prefs: {
|
|
277
|
+
title: string;
|
|
278
|
+
hint: string;
|
|
279
|
+
confirmEachPage: string;
|
|
280
|
+
confirmEachPageHint: string;
|
|
281
|
+
askOnMismatch: string;
|
|
282
|
+
askOnMismatchHint: string;
|
|
283
|
+
autoImages: string;
|
|
284
|
+
autoImagesHint: string;
|
|
285
|
+
tone: string;
|
|
286
|
+
toneSteady: string;
|
|
287
|
+
toneFriendly: string;
|
|
288
|
+
toneConcise: string;
|
|
289
|
+
researchUploads: string;
|
|
290
|
+
researchWeb: string;
|
|
291
|
+
outlineReview: string;
|
|
292
|
+
outlineDirect: string;
|
|
293
|
+
designVisual: string;
|
|
294
|
+
designBalanced: string;
|
|
295
|
+
designDense: string;
|
|
296
|
+
reviewStrict: string;
|
|
297
|
+
reviewNumbers: string;
|
|
298
|
+
replayOnboarding: string;
|
|
299
|
+
directNotice: string;
|
|
300
|
+
/** template: "Page {k} is done — check it, then press Continue" */
|
|
301
|
+
confirmPage: string;
|
|
302
|
+
decisionsTitle: string;
|
|
303
|
+
/** template: "Check: {question} → {answer}" */
|
|
304
|
+
decisionEvent: string;
|
|
305
|
+
};
|
|
306
|
+
onboarding: {
|
|
307
|
+
step1Title: string;
|
|
308
|
+
step1Body: string;
|
|
309
|
+
step2Title: string;
|
|
310
|
+
researchLine: string;
|
|
311
|
+
outlineLine: string;
|
|
312
|
+
designLine: string;
|
|
313
|
+
reviewLine: string;
|
|
314
|
+
step3Title: string;
|
|
315
|
+
step3Body: string;
|
|
316
|
+
useReport: string;
|
|
317
|
+
usePitch: string;
|
|
318
|
+
useLecture: string;
|
|
319
|
+
useLaunch: string;
|
|
320
|
+
useTraining: string;
|
|
321
|
+
useOther: string;
|
|
322
|
+
skip: string;
|
|
323
|
+
back: string;
|
|
324
|
+
next: string;
|
|
325
|
+
start: string;
|
|
326
|
+
/** template: "Screen {k} of 3" */
|
|
327
|
+
progress: string;
|
|
328
|
+
};
|
|
329
|
+
update: {
|
|
330
|
+
/** template: "LemonRiver {version} is available" */
|
|
331
|
+
title: string;
|
|
332
|
+
/** template: "You're on {current}. Updating installs the new version and syncs skills; restart the local server to use it." */
|
|
333
|
+
hint: string;
|
|
334
|
+
now: string;
|
|
335
|
+
later: string;
|
|
336
|
+
updating: string;
|
|
337
|
+
/** template: "Updated to {version}" */
|
|
338
|
+
updated: string;
|
|
339
|
+
updatedHint: string;
|
|
340
|
+
updatedManual: string;
|
|
341
|
+
restart: string;
|
|
342
|
+
failed: string;
|
|
343
|
+
failedHint: string;
|
|
344
|
+
retry: string;
|
|
345
|
+
beta: string;
|
|
346
|
+
betaTitle: string;
|
|
347
|
+
betaHint: string;
|
|
348
|
+
};
|
|
349
|
+
outline: {
|
|
350
|
+
stepDescribe: string;
|
|
351
|
+
stepOutline: string;
|
|
352
|
+
stepBuild: string;
|
|
353
|
+
stepDone: string;
|
|
354
|
+
describeTitle: string;
|
|
355
|
+
describePlaceholder: string;
|
|
356
|
+
pagesLabel: string;
|
|
357
|
+
filesLabel: string;
|
|
358
|
+
addFile: string;
|
|
359
|
+
removeFile: string;
|
|
360
|
+
draftOutline: string;
|
|
361
|
+
startFailed: string;
|
|
362
|
+
tooLargeTitle: string;
|
|
363
|
+
/** template: "{name} is {size} MB. Compress the image, or upload a text version instead." */
|
|
364
|
+
tooLargeHint: string;
|
|
365
|
+
replaceFile: string;
|
|
366
|
+
/** template: "{name} cannot be opened" */
|
|
367
|
+
lockedTitle: string;
|
|
368
|
+
lockedHint: string;
|
|
369
|
+
reupload: string;
|
|
370
|
+
skipFile: string;
|
|
371
|
+
/** template: "{name} cannot be read" */
|
|
372
|
+
unsupportedTitle: string;
|
|
373
|
+
unsupportedHint: string;
|
|
374
|
+
/** template: "Reading {n} files, then listing the outline…" */
|
|
375
|
+
drafting: string;
|
|
376
|
+
draftingNoFiles: string;
|
|
377
|
+
failedTitle: string;
|
|
378
|
+
failedHint: string;
|
|
379
|
+
/** template: "Reason: {reason}" */
|
|
380
|
+
failedReason: string;
|
|
381
|
+
openAgent: string;
|
|
382
|
+
retry: string;
|
|
383
|
+
editBrief: string;
|
|
384
|
+
addPage: string;
|
|
385
|
+
/** template: "{n} pages" */
|
|
386
|
+
total: string;
|
|
387
|
+
build: string;
|
|
388
|
+
moveUp: string;
|
|
389
|
+
moveDown: string;
|
|
390
|
+
removePage: string;
|
|
391
|
+
dragPage: string;
|
|
392
|
+
/** template: "Title of page {n}" */
|
|
393
|
+
pageTitle: string;
|
|
394
|
+
kindCover: string;
|
|
395
|
+
kindKpi: string;
|
|
396
|
+
kindChart: string;
|
|
397
|
+
kindList: string;
|
|
398
|
+
kindPage: string;
|
|
399
|
+
kindEnd: string;
|
|
400
|
+
back: string;
|
|
401
|
+
};
|
|
402
|
+
build: {
|
|
403
|
+
lead: string;
|
|
404
|
+
research: string;
|
|
405
|
+
outline: string;
|
|
406
|
+
design: string;
|
|
407
|
+
review: string;
|
|
408
|
+
/** template: "Read {n} files" */
|
|
409
|
+
readFiles: Plural;
|
|
410
|
+
noFiles: string;
|
|
411
|
+
/** template: "Page {k} / {n}" */
|
|
412
|
+
progress: string;
|
|
413
|
+
/** template: "Laying out page {k}" */
|
|
414
|
+
statusWorking: string;
|
|
415
|
+
statusReview: string;
|
|
416
|
+
statusPaused: string;
|
|
417
|
+
statusStopped: string;
|
|
418
|
+
/** template: "{n} pages are ready" */
|
|
419
|
+
statusDone: string;
|
|
420
|
+
statusWaiting: string;
|
|
421
|
+
pause: string;
|
|
422
|
+
resume: string;
|
|
423
|
+
/** template: "Page {k} is laid out" */
|
|
424
|
+
eventPage: string;
|
|
425
|
+
eventSaved: string;
|
|
426
|
+
eventReview: string;
|
|
427
|
+
eventReviewed: string;
|
|
428
|
+
/** template: "Stopped at page {k}" */
|
|
429
|
+
interruptedTitle: string;
|
|
430
|
+
/** template: "The first {n} pages are saved." */
|
|
431
|
+
interruptedHint: string;
|
|
432
|
+
interruptedNoAgent: string;
|
|
433
|
+
continue: string;
|
|
434
|
+
pending: string;
|
|
435
|
+
/** template: "Page {k} · {title}" */
|
|
436
|
+
pendingPage: string;
|
|
437
|
+
/** template: "{n} pages are ready" */
|
|
438
|
+
done: string;
|
|
439
|
+
undo: string;
|
|
440
|
+
undoFailed: string;
|
|
441
|
+
/** template: "Building page {k} of {n}" */
|
|
442
|
+
buildingHere: string;
|
|
443
|
+
backToEditor: string;
|
|
444
|
+
};
|
|
445
|
+
agentModel: {
|
|
446
|
+
followClient: string;
|
|
447
|
+
/** template: "Uses the model and effort set in {provider}" */
|
|
448
|
+
followClientHint: string;
|
|
110
449
|
};
|
|
111
450
|
};
|
|
@@ -33,6 +33,150 @@ export const zhCN: LrText = {
|
|
|
33
33
|
showLinks: '显示关联线',
|
|
34
34
|
hideLinks: '隐藏关联线',
|
|
35
35
|
removeLink: '删除这条关联',
|
|
36
|
+
undo: '撤销',
|
|
37
|
+
redo: '重做',
|
|
38
|
+
undoUnavailable: '这一步删掉的那一页原文读不到了,不能撤销',
|
|
39
|
+
undoFailed: '撤销失败',
|
|
40
|
+
addChapter: '新增一章',
|
|
41
|
+
newChapterTitle: '新章节',
|
|
42
|
+
deleteChapter: '删除这一章',
|
|
43
|
+
moveChapter: '拖动这一章调整顺序',
|
|
44
|
+
collapse: '折叠这一章',
|
|
45
|
+
expand: '展开这一章',
|
|
46
|
+
selected: '已选 {n} 张',
|
|
47
|
+
deleteSelectedTitle: '删除 {n} 页?',
|
|
48
|
+
deleteSelectedHint: '删掉以后可以撤销恢复。',
|
|
49
|
+
clearSelection: '取消选择',
|
|
50
|
+
sizeLarge: '大缩略图',
|
|
51
|
+
sizeSmall: '小缩略图',
|
|
52
|
+
sizeTitle: '只看标题',
|
|
53
|
+
filter: '筛选',
|
|
54
|
+
filterStatus: '按状态',
|
|
55
|
+
filterMemo: '有备注',
|
|
56
|
+
filterComments: '有未处理的评论',
|
|
57
|
+
filterClear: '清除筛选',
|
|
58
|
+
blockPanel: '页内块',
|
|
59
|
+
blockPanelEmpty: '点一张卡片,看它里面的块',
|
|
60
|
+
blockKinds: {
|
|
61
|
+
title: '标题',
|
|
62
|
+
point: '要点',
|
|
63
|
+
text: '正文',
|
|
64
|
+
image: '图片',
|
|
65
|
+
chart: '图表',
|
|
66
|
+
quote: '引用',
|
|
67
|
+
number: '数字',
|
|
68
|
+
},
|
|
69
|
+
blockDrag: '拖动这一块',
|
|
70
|
+
blockMenu: '这一块的更多操作',
|
|
71
|
+
blockPageOption: '第 {n} 页',
|
|
72
|
+
moveBlockTo: '移到第几页',
|
|
73
|
+
parkBlock: '放进待用区',
|
|
74
|
+
unparkBlockTo: '放回第几页',
|
|
75
|
+
parking: '待用区({n})',
|
|
76
|
+
parkingEmpty: '把暂时不用的块拖到这里',
|
|
77
|
+
blockPending: '待应用',
|
|
78
|
+
blockFrom: '来自第 {n} 页',
|
|
79
|
+
pageChanges: { one: '{n} 处待改', other: '{n} 处待改' },
|
|
80
|
+
changes: '改动({n})',
|
|
81
|
+
changeRemove: '撤掉这一条',
|
|
82
|
+
changeStale: '这一页改过了,找不到原来的块',
|
|
83
|
+
changeToPage: '第 {from} 页「{block}」→ 第 {to} 页',
|
|
84
|
+
changeToParking: '第 {from} 页「{block}」→ 待用区',
|
|
85
|
+
changeFromParking: '待用区「{block}」→ 第 {to} 页',
|
|
86
|
+
changeReorder: '第 {n} 页内换了顺序',
|
|
87
|
+
wholeBadge: '整页',
|
|
88
|
+
whole: {
|
|
89
|
+
steps: '这一页有分步出现的动画,只能整页移动',
|
|
90
|
+
empty: '这一页读不出可以单独挪的内容',
|
|
91
|
+
tooMany: '这一页内容太多,只能整页移动',
|
|
92
|
+
tooLarge: '这一页太复杂,只能整页移动',
|
|
93
|
+
},
|
|
94
|
+
parkNeedsSource: '这一块画在别的文件里,只能在页之间挪,不能放进待用区',
|
|
95
|
+
blockKindN: '{kind} {n}',
|
|
96
|
+
splitPage: '拆成新的一页',
|
|
97
|
+
mergePages: '合成一页',
|
|
98
|
+
changeSplit: {
|
|
99
|
+
one: '第 {n} 页拆出 {k} 块成新的一页',
|
|
100
|
+
other: '第 {n} 页拆出 {k} 块成新的一页',
|
|
101
|
+
},
|
|
102
|
+
changeMerge: '第 {a} 页和第 {b} 页合成一页',
|
|
103
|
+
restructureReplaced: '这一页之前的拆合记录已被替换',
|
|
104
|
+
apply: '交给 Agent 应用',
|
|
105
|
+
applyNeedsAgent: '连上 Agent 后才能应用,清单会一直留着',
|
|
106
|
+
applyStale: '先处理标红的条目',
|
|
107
|
+
applyBuilding: '正在按大纲排版,排完再应用',
|
|
108
|
+
applying: 'Agent 正在应用…',
|
|
109
|
+
applyDone: '改完了',
|
|
110
|
+
applyUndo: '撤销这次应用',
|
|
111
|
+
applyUndoLast: '撤销上次应用',
|
|
112
|
+
applyUndoConfirm: {
|
|
113
|
+
title: '把这份幻灯片恢复到应用之前?',
|
|
114
|
+
body: '之后手动做的修改也会一起撤掉。',
|
|
115
|
+
confirm: '恢复',
|
|
116
|
+
},
|
|
117
|
+
applyUndone: '已恢复',
|
|
118
|
+
applyFailed: '没有改完:{reason}',
|
|
119
|
+
applyStalled: '应用没有完成',
|
|
120
|
+
applyCancel: '放弃这次应用',
|
|
121
|
+
askAgent: '叫 Agent',
|
|
122
|
+
askRewrite: '重写这页',
|
|
123
|
+
askChart: '改成图表',
|
|
124
|
+
askMemo: '按备注改',
|
|
125
|
+
askExpand: '扩成两页',
|
|
126
|
+
askNeedsAgent: '先连上 Agent',
|
|
127
|
+
askBuilding: '正在按大纲排版',
|
|
128
|
+
askBusy: '已有一件事在做',
|
|
129
|
+
askHasChanges: '先应用或撤掉这一页的待改',
|
|
130
|
+
askNeedsMemo: '先在卡片上写备注',
|
|
131
|
+
askingPage: {
|
|
132
|
+
rewrite: 'Agent 正在重写第 {n} 页…',
|
|
133
|
+
chart: 'Agent 正在把第 {n} 页改成图表…',
|
|
134
|
+
memo: 'Agent 正在按备注改第 {n} 页…',
|
|
135
|
+
expand: 'Agent 正在把第 {n} 页扩成两页…',
|
|
136
|
+
},
|
|
137
|
+
planningChapter: 'Agent 正在出第 {n} 章的标题…',
|
|
138
|
+
writingChapter: 'Agent 正在写第 {n} 章…',
|
|
139
|
+
askDone: '第 {n} 页改好了',
|
|
140
|
+
askExpanded: '第 {n} 页扩成了两页',
|
|
141
|
+
chapterWritten: '第 {n} 章写好了 {k} 页',
|
|
142
|
+
undoTask: '撤销这次',
|
|
143
|
+
fillChapter: '让 Agent 补齐这一章',
|
|
144
|
+
chapterBrief: '这一章讲什么',
|
|
145
|
+
chapterCount: '要几页',
|
|
146
|
+
planChapter: '先出标题',
|
|
147
|
+
planning: '正在出标题…',
|
|
148
|
+
viewPlan: '看标题({n})',
|
|
149
|
+
writeChapter: '开始写这 {n} 页',
|
|
150
|
+
dropPlan: '不要了',
|
|
151
|
+
planFailed: 'Agent 没有给出这一章的标题',
|
|
152
|
+
retryPlan: '再试一次',
|
|
153
|
+
addPlanItem: '再加一条',
|
|
154
|
+
planRemove: '删掉',
|
|
155
|
+
planMoveUp: '上移',
|
|
156
|
+
planMoveDown: '下移',
|
|
157
|
+
dragPage: '拖动这一页',
|
|
158
|
+
viewCards: '卡片',
|
|
159
|
+
viewList: '列表',
|
|
160
|
+
viewTimeline: '时间轴',
|
|
161
|
+
totalDuration: '约 {d}',
|
|
162
|
+
target: '目标(分钟)',
|
|
163
|
+
overTarget: '超出 {d}',
|
|
164
|
+
underTarget: '还剩 {d}',
|
|
165
|
+
basisNotes: '按讲稿',
|
|
166
|
+
basisPage: '按页面文字',
|
|
167
|
+
basisNone: '估不出,按最少时长',
|
|
168
|
+
progress: '{done}/{total} 完成',
|
|
169
|
+
progressReview: '{n} 待审',
|
|
170
|
+
linkCause: '因果',
|
|
171
|
+
linkContrast: '对比',
|
|
172
|
+
linkEcho: '前后呼应',
|
|
173
|
+
linkEchoShort: '呼应',
|
|
174
|
+
linkRelation: '这条关联',
|
|
175
|
+
linkPlain: '普通关联',
|
|
176
|
+
jumpToPage: '跳到第 {n} 页',
|
|
177
|
+
durationSeconds: '{s} 秒',
|
|
178
|
+
durationMinSec: '{m} 分 {s} 秒',
|
|
179
|
+
durationMinutes: '{m} 分钟',
|
|
36
180
|
},
|
|
37
181
|
theme: {
|
|
38
182
|
lime: '青柠沉浸',
|
|
@@ -40,6 +184,7 @@ export const zhCN: LrText = {
|
|
|
40
184
|
shell: {
|
|
41
185
|
newDeck: '新建幻灯片',
|
|
42
186
|
newDeckCard: '新建幻灯片',
|
|
187
|
+
newDeckGuided: '按步骤新建',
|
|
43
188
|
settings: '设置',
|
|
44
189
|
trash: '回收站',
|
|
45
190
|
offline: '本机服务断开了。重新运行启动命令后,这个页面会自动连上。',
|
|
@@ -90,6 +235,17 @@ export const zhCN: LrText = {
|
|
|
90
235
|
reduceMotion: '减少动效',
|
|
91
236
|
reduceMotionHint: '柠檬不再漂浮和弹跳,界面动画也一起关掉。系统设了减少动态效果时也会打开。',
|
|
92
237
|
},
|
|
238
|
+
agents: {
|
|
239
|
+
title: 'Agent',
|
|
240
|
+
hint: 'Claude Code 和 Codex 一直在。装了别的 Agent 可以在这里打开,打开后会出现在 Agent 面板的模型菜单里。',
|
|
241
|
+
detected: '已检测到',
|
|
242
|
+
missing: '没装',
|
|
243
|
+
missingHint: '没找到,装好后重新打开这一页。',
|
|
244
|
+
alwaysOn: '一直开着',
|
|
245
|
+
unlock: '打开 {name}',
|
|
246
|
+
dumateReason: 'DuMate 还不能从这里调用:它只有桌面版,没有别的程序能启动的命令行。',
|
|
247
|
+
saveFailed: '没保存上,再试一次。',
|
|
248
|
+
},
|
|
93
249
|
feedback: {
|
|
94
250
|
notFoundHint: '可能链接过期了,或者这份幻灯片已经删除。',
|
|
95
251
|
backHome: '回到幻灯片',
|
|
@@ -97,5 +253,156 @@ export const zhCN: LrText = {
|
|
|
97
253
|
uploadTooLarge: '文件超过 {limit} MB',
|
|
98
254
|
uploadTooLargeHint: '压缩图片或者换一个小一点的文件,再重新上传。',
|
|
99
255
|
confirmWho: '柠檬需要你拿主意',
|
|
256
|
+
confirmReview: '核对需要你拿主意',
|
|
257
|
+
},
|
|
258
|
+
prefs: {
|
|
259
|
+
title: 'Agent 偏好',
|
|
260
|
+
hint: '决定柠檬什么时候停下来问你,什么时候直接做。',
|
|
261
|
+
confirmEachPage: '每页排完等我确认',
|
|
262
|
+
confirmEachPageHint: '关闭后整份排完才通知你。',
|
|
263
|
+
askOnMismatch: '数字对不上时问我',
|
|
264
|
+
askOnMismatchHint: '关闭后默认用你上传的表格里的数字。',
|
|
265
|
+
autoImages: '自动配图',
|
|
266
|
+
autoImagesHint: '只用图标和图片占位,不会编造你没给的照片。',
|
|
267
|
+
tone: '默认语气',
|
|
268
|
+
toneSteady: '稳重专业',
|
|
269
|
+
toneFriendly: '轻松友好',
|
|
270
|
+
toneConcise: '简洁有力',
|
|
271
|
+
researchUploads: '只读我上传的',
|
|
272
|
+
researchWeb: '也可以联网查',
|
|
273
|
+
outlineReview: '先给我看大纲',
|
|
274
|
+
outlineDirect: '直接排版',
|
|
275
|
+
designVisual: '少字多图',
|
|
276
|
+
designBalanced: '图文均衡',
|
|
277
|
+
designDense: '信息密集',
|
|
278
|
+
reviewStrict: '严格核对',
|
|
279
|
+
reviewNumbers: '只查数字',
|
|
280
|
+
replayOnboarding: '重新看一遍新手引导',
|
|
281
|
+
directNotice: '已设为直接排版:大纲列好后会自动开始。可以在设置里改。',
|
|
282
|
+
confirmPage: '第 {k} 页排好了,看看没问题就点继续',
|
|
283
|
+
decisionsTitle: '核对时你定的',
|
|
284
|
+
decisionEvent: '核对:{question} → {answer}',
|
|
285
|
+
},
|
|
286
|
+
onboarding: {
|
|
287
|
+
step1Title: '你说主题,柠檬写幻灯片',
|
|
288
|
+
step1Body: '先列大纲给你看,你点头了才开始排版。排的时候随时能暂停。',
|
|
289
|
+
step2Title: '一个柠檬带四个帮手',
|
|
290
|
+
researchLine: '读你给的文件,挑出要用的数字',
|
|
291
|
+
outlineLine: '排好每页讲什么',
|
|
292
|
+
designLine: '一页一页做出来',
|
|
293
|
+
reviewLine: '对数字、找错字,拿不准就问你',
|
|
294
|
+
step3Title: '你主要讲什么类型?',
|
|
295
|
+
step3Body: '会按这个给你选默认语气,以后在设置里能改。',
|
|
296
|
+
useReport: '工作汇报',
|
|
297
|
+
usePitch: '融资路演',
|
|
298
|
+
useLecture: '课堂讲义',
|
|
299
|
+
useLaunch: '产品发布',
|
|
300
|
+
useTraining: '培训分享',
|
|
301
|
+
useOther: '其他',
|
|
302
|
+
skip: '跳过',
|
|
303
|
+
back: '上一步',
|
|
304
|
+
next: '下一步',
|
|
305
|
+
start: '开始用',
|
|
306
|
+
progress: '第 {k} / 3 屏',
|
|
307
|
+
},
|
|
308
|
+
update: {
|
|
309
|
+
title: 'LemonRiver {version} 已发布',
|
|
310
|
+
hint: '你现在用的是 {current}。更新会安装新版本并同步技能,装完重启本机服务就生效。',
|
|
311
|
+
now: '立即更新',
|
|
312
|
+
later: '稍后',
|
|
313
|
+
updating: '正在更新…',
|
|
314
|
+
updated: '已更新到 {version}',
|
|
315
|
+
updatedHint: '重启本机服务后生效。',
|
|
316
|
+
updatedManual: '重新运行启动命令后生效。',
|
|
317
|
+
restart: '重启服务',
|
|
318
|
+
failed: '更新没成功',
|
|
319
|
+
failedHint: '启动命令所在的终端里有报错详情。',
|
|
320
|
+
retry: '重试',
|
|
321
|
+
beta: 'Beta',
|
|
322
|
+
betaTitle: '抢先体验版',
|
|
323
|
+
betaHint: '功能还在完善,偶尔可能出问题。',
|
|
324
|
+
},
|
|
325
|
+
outline: {
|
|
326
|
+
stepDescribe: '说需求',
|
|
327
|
+
stepOutline: '看大纲',
|
|
328
|
+
stepBuild: '排版',
|
|
329
|
+
stepDone: '完成',
|
|
330
|
+
describeTitle: '今天要讲点什么?',
|
|
331
|
+
describePlaceholder: '比如:给新人讲公司的报销流程',
|
|
332
|
+
pagesLabel: '页数',
|
|
333
|
+
filesLabel: '参考资料',
|
|
334
|
+
addFile: '添加文件',
|
|
335
|
+
removeFile: '移除',
|
|
336
|
+
draftOutline: '列大纲',
|
|
337
|
+
startFailed: '没能开始列大纲',
|
|
338
|
+
tooLargeTitle: '文件超过 25 MB',
|
|
339
|
+
tooLargeHint: '{name} 有 {size} MB。压缩图片后再传,或者只传文字版。',
|
|
340
|
+
replaceFile: '换一个文件',
|
|
341
|
+
lockedTitle: '{name} 打不开',
|
|
342
|
+
lockedHint: '文件设了密码。去掉密码后重新上传,或者跳过这个文件继续。',
|
|
343
|
+
reupload: '重新上传',
|
|
344
|
+
skipFile: '跳过这个文件',
|
|
345
|
+
unsupportedTitle: '{name} 读不了',
|
|
346
|
+
unsupportedHint: '支持 PDF、Word、Excel、PowerPoint、CSV、文本和图片。',
|
|
347
|
+
drafting: '正在读 {n} 个文件,然后列大纲…',
|
|
348
|
+
draftingNoFiles: '正在列大纲…',
|
|
349
|
+
failedTitle: '大纲没列出来',
|
|
350
|
+
failedHint: '再试一次;还不行就改改需求。',
|
|
351
|
+
failedReason: '原因:{reason}',
|
|
352
|
+
openAgent: '打开 Agent 面板看详情',
|
|
353
|
+
retry: '重试',
|
|
354
|
+
editBrief: '改需求',
|
|
355
|
+
addPage: '加一页',
|
|
356
|
+
total: '共 {n} 页',
|
|
357
|
+
build: '按这个排版',
|
|
358
|
+
moveUp: '上移',
|
|
359
|
+
moveDown: '下移',
|
|
360
|
+
removePage: '删除这一页',
|
|
361
|
+
dragPage: '拖动排序',
|
|
362
|
+
pageTitle: '第 {n} 页标题',
|
|
363
|
+
kindCover: '封面',
|
|
364
|
+
kindKpi: '数字',
|
|
365
|
+
kindChart: '图表',
|
|
366
|
+
kindList: '要点',
|
|
367
|
+
kindPage: '内容',
|
|
368
|
+
kindEnd: '结尾',
|
|
369
|
+
back: '回到幻灯片',
|
|
370
|
+
},
|
|
371
|
+
build: {
|
|
372
|
+
lead: '柠檬',
|
|
373
|
+
research: '读资料',
|
|
374
|
+
outline: '列大纲',
|
|
375
|
+
design: '排版',
|
|
376
|
+
review: '核对',
|
|
377
|
+
readFiles: { one: '读完 {n} 个文件', other: '读完 {n} 个文件' },
|
|
378
|
+
noFiles: '没有资料',
|
|
379
|
+
progress: '已排 {k} / {n} 页',
|
|
380
|
+
statusWorking: '正在排第 {k} 页',
|
|
381
|
+
statusReview: '正在核对',
|
|
382
|
+
statusPaused: '已暂停,点继续接着排',
|
|
383
|
+
statusStopped: '等你继续',
|
|
384
|
+
statusDone: '{n} 页已生成',
|
|
385
|
+
statusWaiting: '等你回答',
|
|
386
|
+
pause: '暂停',
|
|
387
|
+
resume: '继续',
|
|
388
|
+
eventPage: '第 {k} 页排好了',
|
|
389
|
+
eventSaved: '已自动保存',
|
|
390
|
+
eventReview: '开始核对',
|
|
391
|
+
eventReviewed: '核对完了',
|
|
392
|
+
interruptedTitle: '排到第 {k} 页停下了',
|
|
393
|
+
interruptedHint: '前 {n} 页已保存。',
|
|
394
|
+
interruptedNoAgent: '先连接 Agent,再继续排版。',
|
|
395
|
+
continue: '继续排版',
|
|
396
|
+
pending: '待生成',
|
|
397
|
+
pendingPage: '第 {k} 页 · {title}',
|
|
398
|
+
done: '{n} 页已生成',
|
|
399
|
+
undo: '撤销',
|
|
400
|
+
undoFailed: '没能撤销',
|
|
401
|
+
buildingHere: '正在排版,第 {k} / {n} 页',
|
|
402
|
+
backToEditor: '回到编辑页',
|
|
403
|
+
},
|
|
404
|
+
agentModel: {
|
|
405
|
+
followClient: '客户端设置',
|
|
406
|
+
followClientHint: '使用 {provider} 里自己设的模型和思考强度。',
|
|
100
407
|
},
|
|
101
408
|
};
|