@lemonriver/core 0.7.0 → 0.8.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.
Files changed (38) hide show
  1. package/dist/{build-CKwrex8y.js → build-Bdagm0FU.js} +1 -1
  2. package/dist/cli/bin.js +4 -4
  3. package/dist/{config-B1_gk0sy.js → config-Begts3gq.js} +5921 -3971
  4. package/dist/{dev-DZ2Yzl2p.js → dev-DjjzmT28.js} +2 -2
  5. package/dist/{preview-hMDcuHfP.js → preview-C9y9MTY1.js} +1 -1
  6. package/dist/{update-CMRxtTc9.js → update-b1dSg_FW.js} +17 -17
  7. package/dist/vite/index.js +1 -1
  8. package/package.json +1 -1
  9. package/src/app/lemonriver/backup/client.ts +177 -0
  10. package/src/app/lemonriver/backup/guide.test.ts +45 -0
  11. package/src/app/lemonriver/backup/guide.ts +138 -0
  12. package/src/app/lemonriver/backup/model.test.ts +96 -0
  13. package/src/app/lemonriver/backup/model.ts +255 -0
  14. package/src/app/lemonriver/backup/places.test.ts +154 -0
  15. package/src/app/lemonriver/backup/places.ts +74 -0
  16. package/src/app/lemonriver/board/blocks/snapshot.ts +10 -2
  17. package/src/app/lemonriver/board/self-check-runner.tsx +60 -15
  18. package/src/app/lemonriver/features.test.ts +5 -0
  19. package/src/app/lemonriver/features.ts +11 -1
  20. package/src/app/lemonriver/help/help-page.tsx +262 -0
  21. package/src/app/lemonriver/help/model.test.ts +107 -0
  22. package/src/app/lemonriver/help/model.ts +96 -0
  23. package/src/app/lemonriver/routes.test.tsx +4 -2
  24. package/src/app/lemonriver/routes.tsx +2 -0
  25. package/src/app/lemonriver/settings/backup-restore-dialog.tsx +525 -0
  26. package/src/app/lemonriver/settings/backup-section.tsx +489 -0
  27. package/src/app/lemonriver/settings/settings-page.tsx +22 -0
  28. package/src/app/lemonriver/share/client.ts +6 -0
  29. package/src/app/lemonriver/share/import-dialog.tsx +14 -0
  30. package/src/app/lemonriver/share/paths.test.ts +41 -0
  31. package/src/app/lemonriver/share/paths.ts +45 -11
  32. package/src/app/lemonriver/share/share-dialog.tsx +54 -1
  33. package/src/app/lemonriver/text/en.ts +521 -0
  34. package/src/app/lemonriver/text/es.ts +79 -0
  35. package/src/app/lemonriver/text/ja.ts +76 -0
  36. package/src/app/lemonriver/text/types.ts +90 -0
  37. package/src/app/lemonriver/text/zh-cn.ts +497 -0
  38. package/src/app/lemonriver/text/zh-tw.ts +497 -0
@@ -1,6 +1,452 @@
1
1
  import type { LrText } from './types';
2
2
 
3
+ export const enHelp: LrText['help'] = {
4
+ title: 'Help',
5
+ intro: 'How sharing, importing, backups and cloud drive setup work.',
6
+ searchPlaceholder: 'Search help',
7
+ noResults: 'Nothing matched. Try different words.',
8
+ buttons: {
9
+ settings: 'Settings',
10
+ backupSection: 'Backup',
11
+ share: 'Share',
12
+ generate: 'Create package',
13
+ import: 'Import',
14
+ backupNow: 'Back up now',
15
+ autoBackup: 'Back up every day',
16
+ keep: 'Keep the latest',
17
+ restore: 'Restore from backup…',
18
+ restoreGo: 'Restore',
19
+ chooseOtherFile: 'Choose another backup file…',
20
+ change: 'Change',
21
+ chooseOther: 'Choose another folder…',
22
+ reveal: 'Show in Finder',
23
+ },
24
+ sections: [
25
+ {
26
+ id: 'share',
27
+ title: 'Share a deck with someone',
28
+ blocks: [
29
+ {
30
+ kind: 'steps',
31
+ items: [
32
+ {
33
+ text: 'From the menu on a deck card on the home page, or at the top right of the editor, choose “{share}”.',
34
+ },
35
+ {
36
+ text: 'A PDF is attached by default, so the other person can read it without LemonRiver. Clear the tick if you do not need it; the package gets much smaller.',
37
+ },
38
+ {
39
+ text: 'Choose “{generate}” and wait while every page is drawn. A long deck takes ten seconds or more.',
40
+ },
41
+ {
42
+ text: 'When it is done, choose “{reveal}”. The zip is in the workspace’s “shared” folder; send it over WeChat, email or a cloud drive.',
43
+ },
44
+ ],
45
+ },
46
+ {
47
+ kind: 'p',
48
+ text: 'The other person sees three things: a PDF, a “how to open” note, and a “LemonRiver-files” folder. The note explains how to install LemonRiver.',
49
+ },
50
+ {
51
+ kind: 'p',
52
+ strong: 'What travels',
53
+ text: ': the deck itself, the assets and theme it uses, and the chapters and notes in the story board.',
54
+ },
55
+ {
56
+ kind: 'p',
57
+ strong: 'What stays here',
58
+ text: ': your conversations with the Agent and the settings on your computer.',
59
+ },
60
+ ],
61
+ },
62
+ {
63
+ id: 'import',
64
+ title: 'Open a package someone sent you',
65
+ blocks: [
66
+ {
67
+ kind: 'steps',
68
+ items: [
69
+ { text: 'Open the LemonRiver home page.' },
70
+ {
71
+ text: 'Drop the zip onto the home page, or choose “{import}” at the top right and pick it.',
72
+ children: [
73
+ 'Safari unpacks downloaded zips by itself, leaving a folder. You can drag that whole folder onto the home page instead.',
74
+ ],
75
+ },
76
+ {
77
+ text: 'The confirmation shows a thumbnail of every page, the page count and the version it was made with. If it is the right one, choose “{import}”.',
78
+ },
79
+ ],
80
+ },
81
+ {
82
+ kind: 'note',
83
+ strong: 'Security notice',
84
+ text: 'A deck is program code, and it runs on your computer once imported. Only import packages from people you trust. The preview before importing is only pictures; nothing runs.',
85
+ },
86
+ {
87
+ kind: 'p',
88
+ strong: 'The same deck came back',
89
+ text: ': if you already have this deck (you sent it to a colleague and they sent back a changed copy), the confirmation tells you which pages changed, and you can choose:',
90
+ },
91
+ {
92
+ kind: 'list',
93
+ items: [
94
+ {
95
+ strong: '“Keep both”',
96
+ text: ': both stay, and “imported” is added to the new one’s name.',
97
+ },
98
+ {
99
+ strong: '“Replace”',
100
+ text: ': the new one replaces yours, and the old one goes to the trash for 30 days.',
101
+ },
102
+ ],
103
+ },
104
+ { kind: 'p', strong: 'Why an import fails', text: ':' },
105
+ {
106
+ kind: 'list',
107
+ items: [
108
+ {
109
+ strong: '“This is not a LemonRiver package”',
110
+ text: ': the other person sent a different zip, or the download did not finish.',
111
+ },
112
+ {
113
+ strong: '“A file in the package was changed or is missing”',
114
+ text: ': someone unpacked the zip and edited it, or the cloud download went wrong. Ask them to share it again.',
115
+ },
116
+ {
117
+ strong: '“This package was made with a newer LemonRiver”',
118
+ text: ': update LemonRiver in Settings first, then import.',
119
+ },
120
+ ],
121
+ },
122
+ ],
123
+ },
124
+ {
125
+ id: 'backup',
126
+ title: 'Backup',
127
+ blocks: [
128
+ {
129
+ kind: 'p',
130
+ text: 'A backup packs the whole workspace into one zip: every deck, asset, theme and folder, plus settings such as theme, language and Agent preferences.',
131
+ },
132
+ {
133
+ kind: 'steps',
134
+ items: [
135
+ { text: 'Open “{settings} → {backupSection}”.' },
136
+ {
137
+ text: 'Choose a backup location. To send it to a cloud drive automatically, choose that drive’s sync folder (setup for each drive is below); to keep it on this computer, the default “LemonRiver 备份” folder is enough.',
138
+ },
139
+ {
140
+ text: 'Turn on “{autoBackup}”: one backup a day while LemonRiver is open. You can also choose “{backupNow}” at any time.',
141
+ },
142
+ {
143
+ text: '“{keep}” decides how many backups stay; older ones are deleted. Only backups LemonRiver made are deleted; other files you put in the folder are never touched.',
144
+ },
145
+ ],
146
+ },
147
+ {
148
+ kind: 'p',
149
+ strong: 'What a backup leaves out',
150
+ text: ': your conversations with the Agent, the trash, packages you shared, and the Agent’s auto-approve switch (for safety you turn it on again on a new computer).',
151
+ },
152
+ ],
153
+ },
154
+ {
155
+ id: 'restore',
156
+ title: 'Restore a backup, or move to a new computer',
157
+ blocks: [
158
+ {
159
+ kind: 'steps',
160
+ items: [
161
+ {
162
+ text: 'On the new computer, install LemonRiver first (download: https://github.com/SegawaBeer/lemonriver/releases ), make sure the cloud drive client is installed and signed in, and the backup file is downloaded to this computer.',
163
+ },
164
+ {
165
+ text: 'Open “{settings} → {backupSection}”, choose “{restore}”, pick one from the list, or choose “{chooseOtherFile}” to find it.',
166
+ },
167
+ {
168
+ text: 'Tick the decks to restore and choose “{restoreGo}”.',
169
+ children: [
170
+ 'A deck with the same name on this computer goes to the trash first, and stays recoverable for 30 days.',
171
+ 'Decks on this computer that are not in the backup are left alone.',
172
+ 'When an asset has the same name but different content, the copy on this computer is kept.',
173
+ ],
174
+ },
175
+ ],
176
+ },
177
+ ],
178
+ },
179
+ {
180
+ id: 'cloud',
181
+ title: 'Put backups on a cloud drive',
182
+ blocks: [
183
+ {
184
+ kind: 'p',
185
+ strong: 'The cloud drive client does the uploading',
186
+ text: ': LemonRiver never signs in to your cloud account. It only writes backups into a folder on your computer. Install and sign in to the cloud drive’s desktop client first.',
187
+ },
188
+ { kind: 'p', text: 'Cloud drive clients work in one of two ways:' },
189
+ {
190
+ kind: 'list',
191
+ items: [
192
+ {
193
+ strong: 'With a sync folder',
194
+ text: '(the drives that give you a sync folder once their client is installed; each is covered below): files put in the folder upload by themselves. Choose that folder as the backup location; LemonRiver lists the ones it can find under “{change}”.',
195
+ },
196
+ {
197
+ strong: 'With folder backup only',
198
+ text: ': let LemonRiver back up to the default “LemonRiver 备份” folder, then add that folder to the cloud drive client’s automatic backup.',
199
+ },
200
+ ],
201
+ },
202
+ {
203
+ kind: 'p',
204
+ text: 'The first time LemonRiver backs up into a cloud folder, macOS may ask whether to allow access to files managed by someone else. Choose “Allow”. If you chose “Don’t Allow”, turn it back on under “System Settings → Privacy & Security → Files and Folders”.',
205
+ },
206
+ ],
207
+ },
208
+ {
209
+ id: 'cloud-icloud',
210
+ title: 'iCloud Drive',
211
+ parent: 'cloud',
212
+ icon: 'cloud',
213
+ blocks: [
214
+ {
215
+ kind: 'steps',
216
+ items: [
217
+ { text: 'Open “System Settings”, click your name at the top, then click “iCloud”.' },
218
+ { text: 'Turn on “iCloud Drive” and make sure “Sync this Mac” is on.' },
219
+ {
220
+ text: 'Back in LemonRiver, open “{settings} → {backupSection} → {change}” and choose “iCloud Drive”.',
221
+ },
222
+ {
223
+ strong: 'Check that it uploaded',
224
+ text: ': in the Finder sidebar open “iCloud Drive → LemonRiver 备份”. When there is no cloud or progress icon beside the file, it is uploaded. You can also check on icloud.com.',
225
+ },
226
+ ],
227
+ },
228
+ {
229
+ kind: 'list',
230
+ items: [
231
+ {
232
+ text: 'Free iCloud is only 5GB, and one backup can be a few hundred MB. If space runs out, lower “{keep}” or buy more iCloud storage.',
233
+ },
234
+ {
235
+ text: 'When restoring on a new computer, a cloud icon beside the backup means it is not downloaded yet: double-click it, wait for the download, then restore.',
236
+ },
237
+ ],
238
+ },
239
+ ],
240
+ },
241
+ {
242
+ id: 'cloud-baidu',
243
+ title: 'Baidu Netdisk',
244
+ parent: 'cloud',
245
+ icon: 'cloud',
246
+ blocks: [
247
+ { kind: 'p', text: 'Baidu Netdisk’s desktop client offers two ways; either works:' },
248
+ {
249
+ kind: 'list',
250
+ items: [
251
+ {
252
+ strong: 'Option 1: Sync Space.',
253
+ text: 'In the client, open “Sync Space” (同步空间) and follow the steps to make a local folder the sync folder (it is called “BaiduSyncdisk” by default). Then in LemonRiver “{settings} → {backupSection} → {change}”, choose “Baidu Netdisk Sync Space”.',
254
+ children: [
255
+ 'Note: Sync Space works both ways. A file you delete on this computer is deleted from the drive too, and when LemonRiver deletes an old backup, the copy on the drive goes with it.',
256
+ ],
257
+ },
258
+ {
259
+ strong: 'Option 2: folder backup.',
260
+ text: 'Keep LemonRiver backing up to the local “LemonRiver 备份” folder. In the Baidu Netdisk client find “Automatic backup” (自动备份), choose “Add backup folder” (添加备份文件夹), and pick that folder.',
261
+ children: [
262
+ 'This goes one way: deleting an old backup on this computer leaves the copy on the drive, so clean it up there from time to time.',
263
+ 'Free accounts have a monthly upload limit for automatic backup (the client says 10G a month). After that, wait for next month or upgrade.',
264
+ ],
265
+ },
266
+ ],
267
+ },
268
+ {
269
+ kind: 'p',
270
+ strong: 'Check that it uploaded',
271
+ text: ': open the matching folder in Baidu Netdisk; the backup with the newest date means the upload finished.',
272
+ },
273
+ ],
274
+ },
275
+ {
276
+ id: 'cloud-weiyun',
277
+ title: 'Tencent Weiyun',
278
+ parent: 'cloud',
279
+ icon: 'cloud',
280
+ blocks: [
281
+ {
282
+ kind: 'steps',
283
+ items: [
284
+ { text: 'Install Tencent Weiyun’s desktop client and sign in.' },
285
+ { text: 'Keep LemonRiver backing up to the local “LemonRiver 备份” folder.' },
286
+ {
287
+ text: 'If your Weiyun client offers “Automatic backup” or a sync folder, add this folder to it.',
288
+ },
289
+ {
290
+ text: 'If it does not, then after a backup choose “{reveal}” in LemonRiver and drag the newest backup zip into Weiyun to upload it.',
291
+ },
292
+ ],
293
+ },
294
+ {
295
+ kind: 'list',
296
+ items: [{ text: 'Weiyun’s free space is small; setting “{keep}” to 3 is a good idea.' }],
297
+ },
298
+ ],
299
+ },
300
+ {
301
+ id: 'cloud-dropbox',
302
+ title: 'Dropbox',
303
+ parent: 'cloud',
304
+ icon: 'cloud',
305
+ blocks: [
306
+ {
307
+ kind: 'steps',
308
+ items: [
309
+ {
310
+ text: 'Install Dropbox’s desktop client and sign in; “Dropbox” appears in the Finder sidebar.',
311
+ },
312
+ { text: 'In LemonRiver “{settings} → {backupSection} → {change}”, choose “Dropbox”.' },
313
+ {
314
+ strong: 'Check that it uploaded',
315
+ text: ': in Finder open “Dropbox → LemonRiver 备份”. A green tick beside the file means it is uploaded.',
316
+ },
317
+ ],
318
+ },
319
+ {
320
+ kind: 'list',
321
+ items: [
322
+ {
323
+ text: 'When restoring on a new computer, a cloud icon beside the file means it is online only: double-click it, wait for the download, then restore.',
324
+ },
325
+ ],
326
+ },
327
+ ],
328
+ },
329
+ {
330
+ id: 'cloud-onedrive',
331
+ title: 'OneDrive',
332
+ parent: 'cloud',
333
+ icon: 'cloud',
334
+ blocks: [
335
+ {
336
+ kind: 'steps',
337
+ items: [
338
+ {
339
+ text: 'Install OneDrive (you can find it in the App Store) and sign in; “OneDrive” appears in the Finder sidebar.',
340
+ },
341
+ {
342
+ text: 'In LemonRiver “{settings} → {backupSection} → {change}”, choose “OneDrive”. Work and personal accounts are listed separately; pick yours.',
343
+ },
344
+ {
345
+ strong: 'Check that it uploaded',
346
+ text: ': no cloud or progress icon beside the file means it is uploaded; you can also check on onedrive.com.',
347
+ },
348
+ ],
349
+ },
350
+ {
351
+ kind: 'list',
352
+ items: [
353
+ {
354
+ text: 'When restoring on a new computer, the method above applies: if the file is online only, double-click to download it first.',
355
+ },
356
+ ],
357
+ },
358
+ ],
359
+ },
360
+ {
361
+ id: 'cloud-nutstore',
362
+ title: 'Nutstore',
363
+ parent: 'cloud',
364
+ icon: 'cloud',
365
+ blocks: [
366
+ {
367
+ kind: 'steps',
368
+ items: [
369
+ {
370
+ text: 'Install Nutstore’s desktop client and sign in. It comes with a “My Nutstore” sync folder.',
371
+ },
372
+ {
373
+ text: 'In LemonRiver “{settings} → {backupSection} → {change}”, choose “Nutstore · My Nutstore” (or another sync folder you made).',
374
+ },
375
+ {
376
+ strong: 'Check that it uploaded',
377
+ text: ': in the Nutstore client, look at the folder’s sync status; when nothing is waiting to upload, it is done.',
378
+ },
379
+ ],
380
+ },
381
+ {
382
+ kind: 'list',
383
+ items: [
384
+ {
385
+ text: 'Nutstore’s free plan has a monthly upload limit, so a big backup may only upload a few times a month.',
386
+ },
387
+ ],
388
+ },
389
+ ],
390
+ },
391
+ {
392
+ id: 'cloud-other',
393
+ title: 'Other cloud drives',
394
+ parent: 'cloud',
395
+ icon: 'folder',
396
+ blocks: [
397
+ {
398
+ kind: 'p',
399
+ text: 'Any cloud drive whose client can upload a folder on this computer automatically will work:',
400
+ },
401
+ {
402
+ kind: 'list',
403
+ items: [
404
+ {
405
+ text: 'If it has a sync folder, choose “{chooseOther}” under “{change}” and pick it.',
406
+ },
407
+ {
408
+ text: 'If not, use the default “LemonRiver 备份” folder and make the cloud client upload that folder automatically.',
409
+ },
410
+ ],
411
+ },
412
+ ],
413
+ },
414
+ {
415
+ id: 'cloud-faq',
416
+ title: 'Cloud drive questions',
417
+ blocks: [
418
+ {
419
+ kind: 'list',
420
+ items: [
421
+ {
422
+ strong: 'The backup succeeded, but it is not on the drive.',
423
+ text: 'LemonRiver only writes into the folder; the cloud drive client does the uploading. Check that the client is running, signed in, and not paused.',
424
+ },
425
+ {
426
+ strong: 'The drive is full.',
427
+ text: 'Lower “{keep}”, or clean up old backups on the drive. The size of the last backup is shown after “Last backup”.',
428
+ },
429
+ {
430
+ strong: 'There are files like “conflicted copy”.',
431
+ text: 'That happens when two computers back up into the same folder. Give each computer its own backup folder, or leave automatic backup on only one computer.',
432
+ },
433
+ {
434
+ strong: 'How do I restore on a new computer?',
435
+ text: 'See “Restore a backup, or move to a new computer” above. The key is letting the cloud drive download the backup to the new computer first.',
436
+ },
437
+ {
438
+ strong: 'I do not want to use a cloud drive.',
439
+ text: 'The default “LemonRiver 备份” folder is in your home folder. You can also choose a folder on an external drive and plug it in before backing up.',
440
+ },
441
+ ],
442
+ },
443
+ ],
444
+ },
445
+ ],
446
+ };
447
+
3
448
  export const en: LrText = {
449
+ help: enHelp,
4
450
  board: {
5
451
  title: 'Story board',
6
452
  openBoard: 'Story board (B)',
@@ -269,6 +715,9 @@ export const en: LrText = {
269
715
  reduceMotion: 'Reduce motion',
270
716
  reduceMotionHint:
271
717
  'Lemon stops floating and bouncing and the interface skips its animations. Also on when your system asks for less motion.',
718
+ helpTitle: 'Help',
719
+ helpHint: 'How sharing, importing, backups and cloud drive setup work.',
720
+ helpOpen: 'Open help',
272
721
  },
273
722
  agents: {
274
723
  title: 'Agents',
@@ -495,6 +944,10 @@ export const en: LrText = {
495
944
  reveal: 'Show in Finder',
496
945
  finish: 'Done',
497
946
  warnings: 'Notes',
947
+ skippedTitle: '{n} files were left out of the package',
948
+ workFiles: '{n} work files in folders like _backups were not included',
949
+ helpLink: 'How does sharing work?',
950
+ importHelp: 'Problems importing?',
498
951
  failed: 'Could not create the package',
499
952
  moreFiles: 'and {n} more',
500
953
  importTitle: 'Import package',
@@ -547,4 +1000,72 @@ export const en: LrText = {
547
1000
  tooManyFiles: 'The package is too large and was not imported.',
548
1001
  },
549
1002
  },
1003
+ backup: {
1004
+ title: 'Backup',
1005
+ hint: 'Package the whole workspace on a schedule, so a new computer or a mistake does not lose it.',
1006
+ location: 'Backup location',
1007
+ notSet: 'Not chosen yet',
1008
+ change: 'Change',
1009
+ chooseTitle: 'Choose a backup location',
1010
+ chooseOther: 'Choose another folder…',
1011
+ cloudHint:
1012
+ 'Do not see your cloud drive? Install its desktop app and sign in, and its sync folder shows up here. Some drives have no sync folder: back up to this computer first, then tell the drive to back up that folder.',
1013
+ howToSetUp: 'How to set it up',
1014
+ places: {
1015
+ icloud: 'iCloud Drive',
1016
+ baidu: 'Baidu Netdisk Sync Space',
1017
+ nutstore: 'Nutstore · {folder}',
1018
+ local: 'LemonRiver 备份',
1019
+ },
1020
+ auto: 'Back up every day',
1021
+ autoHint: 'Once a day, while LemonRiver is open.',
1022
+ keep: 'Keep the latest',
1023
+ keepOption: '{n} backups',
1024
+ keepSize: 'Each backup is about {size}; keeping {n} takes about {total}',
1025
+ runNow: 'Back up now',
1026
+ running: 'Packing {done} / {total} files',
1027
+ lastOk: 'Last backup: {when} · {size} · succeeded',
1028
+ lastFailed: 'Last backup failed: {error}',
1029
+ tooLarge:
1030
+ 'The workspace is larger than 4 GB, which the current backup format cannot hold. Move large videos out of the asset library and back up again.',
1031
+ never: 'No backup yet',
1032
+ reveal: 'Show in Finder',
1033
+ restore: 'Restore from backup…',
1034
+ restoreGo: 'Restore',
1035
+ restoreTitle: 'Restore from a backup',
1036
+ chooseFile: 'Choose a backup file…',
1037
+ chooseOtherFile: 'Choose another backup file…',
1038
+ inspecting: 'Checking this backup…',
1039
+ preview: 'This backup holds',
1040
+ deckPages: '{n} pages',
1041
+ previewSummary: '{decks} decks · {size} · made with LemonRiver {version} on {date}',
1042
+ previewAssets: 'Global assets: {n} · {size}',
1043
+ previewThemes: 'Themes: {n}',
1044
+ previewPrefs: 'Also restore preferences (theme, language, Agent preferences)',
1045
+ replaces:
1046
+ 'A deck with the same name on this computer goes to the recycle bin first and can be brought back for 30 days.',
1047
+ restoring: 'Restoring {done} / {total} files',
1048
+ restored: 'Decks restored: {n}',
1049
+ assetsKept: "{n} assets differ from this computer's copies; kept this computer's",
1050
+ themesKept: "{n} themes differ from this computer's copies; kept this computer's",
1051
+ done: 'Done',
1052
+ cancel: 'Cancel',
1053
+ close: 'Close',
1054
+ noBackups: 'There are no backups in the backup location yet.',
1055
+ failed: 'Something went wrong',
1056
+ nothingChosen: 'Choose at least one deck',
1057
+ chooseFailed: 'Could not open the picker; paste the path instead.',
1058
+ pastePath: 'Paste the full path of the backup file',
1059
+ pathPlaceholder: '/Users/you/LemonRiver 备份/…',
1060
+ permissionDenied:
1061
+ 'macOS does not let LemonRiver write to this folder. Open System Settings → Privacy & Security → Files and Folders and allow LemonRiver (or node), or choose another folder.',
1062
+ badFolder: 'That folder cannot be used. Try another one.',
1063
+ noLocation: 'No backup location is set yet.',
1064
+ restoreHelp: 'How do I restore?',
1065
+ faqLink: 'See common questions',
1066
+ notBackedUp: '{n} files were not backed up',
1067
+ executablesTitle: 'This backup contains program files',
1068
+ executablesHint: 'Only restore it if you made this backup yourself.',
1069
+ executablesConfirm: 'I made this backup myself',
1070
+ },
550
1071
  };
@@ -1,6 +1,8 @@
1
+ import { enHelp } from './en';
1
2
  import type { LrText } from './types';
2
3
 
3
4
  export const es: LrText = {
5
+ help: enHelp,
4
6
  board: {
5
7
  title: 'Tablero de la historia',
6
8
  openBoard: 'Tablero de la historia (B)',
@@ -262,6 +264,10 @@ export const es: LrText = {
262
264
  reduceMotion: 'Reducir movimiento',
263
265
  reduceMotionHint:
264
266
  'Lemon deja de flotar y rebotar y la interfaz omite sus animaciones. También se activa si tu sistema pide menos movimiento.',
267
+ helpTitle: 'Ayuda',
268
+ helpHint:
269
+ 'Cómo funcionan compartir, importar, las copias de seguridad y las unidades en la nube.',
270
+ helpOpen: 'Abrir la ayuda',
265
271
  },
266
272
  agents: {
267
273
  title: 'Agentes',
@@ -488,6 +494,10 @@ export const es: LrText = {
488
494
  reveal: 'Show in Finder',
489
495
  finish: 'Done',
490
496
  warnings: 'Notes',
497
+ skippedTitle: 'Se dejaron fuera {n} archivos del paquete',
498
+ workFiles: 'No se incluyeron {n} archivos de trabajo en carpetas como _backups',
499
+ helpLink: '¿Cómo se comparte?',
500
+ importHelp: '¿Problemas al importar?',
491
501
  failed: 'Could not create the package',
492
502
  moreFiles: 'and {n} more',
493
503
  importTitle: 'Import package',
@@ -540,4 +550,73 @@ export const es: LrText = {
540
550
  tooManyFiles: 'The package is too large and was not imported.',
541
551
  },
542
552
  },
553
+ backup: {
554
+ title: 'Copia de seguridad',
555
+ hint: 'Empaqueta todo el espacio de trabajo con regularidad, para no perderlo al cambiar de ordenador o por un error.',
556
+ location: 'Ubicación de la copia',
557
+ notSet: 'Sin elegir',
558
+ change: 'Cambiar',
559
+ chooseTitle: 'Elige dónde guardar la copia',
560
+ chooseOther: 'Elegir otra carpeta…',
561
+ cloudHint:
562
+ '¿No ves tu nube? Instala su aplicación de escritorio e inicia sesión, y su carpeta de sincronización aparecerá aquí. Algunos servicios no tienen carpeta de sincronización: haz primero la copia en este ordenador y luego pide al servicio que respalde esa carpeta.',
563
+ howToSetUp: 'Cómo configurarlo',
564
+ places: {
565
+ icloud: 'iCloud Drive',
566
+ baidu: 'Baidu Netdisk Sync Space',
567
+ nutstore: 'Nutstore · {folder}',
568
+ local: 'LemonRiver 备份',
569
+ },
570
+ auto: 'Copia automática cada día',
571
+ autoHint: 'Una vez al día, mientras LemonRiver está abierto.',
572
+ keep: 'Conservar las últimas',
573
+ keepOption: '{n} copias',
574
+ keepSize: 'Cada copia ocupa unos {size}; conservar {n} ocupa unos {total}',
575
+ runNow: 'Hacer copia ahora',
576
+ running: 'Empaquetados {done} de {total} archivos',
577
+ lastOk: 'Última copia: {when} · {size} · correcta',
578
+ lastFailed: 'La última copia falló: {error}',
579
+ tooLarge:
580
+ 'El espacio de trabajo supera los 4 GB y el formato de copia actual no puede contenerlo. Mueve los vídeos grandes fuera de la biblioteca de recursos y vuelve a intentarlo.',
581
+ never: 'Todavía no hay copias',
582
+ reveal: 'Mostrar en el Finder',
583
+ restore: 'Restaurar desde una copia…',
584
+ restoreGo: 'Restaurar',
585
+ restoreTitle: 'Restaurar desde una copia',
586
+ chooseFile: 'Elegir un archivo de copia…',
587
+ chooseOtherFile: 'Elegir otro archivo de copia…',
588
+ inspecting: 'Comprobando esta copia…',
589
+ preview: 'Esta copia contiene',
590
+ deckPages: '{n} páginas',
591
+ previewSummary: '{decks} presentaciones · {size} · hecha con LemonRiver {version} el {date}',
592
+ previewAssets: 'Recursos globales: {n} · {size}',
593
+ previewThemes: 'Temas: {n}',
594
+ previewPrefs: 'Restaurar también las preferencias (tema, idioma, preferencias del Agent)',
595
+ replaces:
596
+ 'Una presentación con el mismo nombre en este ordenador irá primero a la papelera y podrá recuperarse durante 30 días.',
597
+ restoring: 'Restaurados {done} de {total} archivos',
598
+ restored: 'Restauradas {n} presentaciones',
599
+ assetsKept:
600
+ '{n} recursos difieren de los de este ordenador; se conservaron los de este ordenador',
601
+ themesKept: '{n} temas difieren de los de este ordenador; se conservaron los de este ordenador',
602
+ done: 'Listo',
603
+ cancel: 'Cancelar',
604
+ close: 'Cerrar',
605
+ noBackups: 'Todavía no hay copias en la ubicación elegida.',
606
+ failed: 'Algo ha ido mal',
607
+ nothingChosen: 'Elige al menos una presentación',
608
+ chooseFailed: 'No se pudo abrir el selector; pega la ruta.',
609
+ pastePath: 'Pega la ruta completa del archivo de copia',
610
+ pathPlaceholder: '/Users/tu-usuario/LemonRiver 备份/…',
611
+ permissionDenied:
612
+ 'macOS no permite que LemonRiver escriba en esta carpeta. Abre Ajustes del Sistema → Privacidad y seguridad → Archivos y carpetas y permite LemonRiver (o node), o elige otra carpeta.',
613
+ badFolder: 'Esa carpeta no sirve. Prueba con otra.',
614
+ noLocation: 'Todavía no has elegido dónde guardar la copia.',
615
+ restoreHelp: '¿Cómo se restaura?',
616
+ faqLink: 'Ver preguntas frecuentes',
617
+ notBackedUp: '{n} archivos no se copiaron',
618
+ executablesTitle: 'Esta copia contiene archivos de programa',
619
+ executablesHint: 'Restáurala solo si tú mismo hiciste esta copia.',
620
+ executablesConfirm: 'Hice yo esta copia',
621
+ },
543
622
  };