@lemonriver/core 1.0.1 → 1.1.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 +2 -2
- package/dist/{build-CiT4CNey.js → build-Dm7gVRhb.js} +1 -1
- package/dist/cli/bin.js +3 -3
- package/dist/{config-BI3VRI2n.js → config-CubOIzrs.js} +1950 -1429
- package/dist/{dev-DpzBn_sf.js → dev-DgLeXPqp.js} +1 -1
- package/dist/{preview-Dro8hl5_.js → preview-CxXQpPk5.js} +1 -1
- package/dist/vite/index.js +1 -1
- package/package.json +3 -2
- package/src/app/components/command/slide-command-menu.tsx +0 -9
- package/src/app/lemonriver/backup/client.ts +25 -1
- package/src/app/lemonriver/backup/guide.test.ts +1 -1
- package/src/app/lemonriver/backup/guide.ts +1 -1
- package/src/app/lemonriver/backup/model.test.ts +19 -7
- package/src/app/lemonriver/backup/model.ts +63 -18
- package/src/app/lemonriver/board/board-page.tsx +2 -2
- package/src/app/lemonriver/help/model.test.ts +1 -1
- package/src/app/lemonriver/help/model.ts +1 -1
- package/src/app/lemonriver/home/drafts.test.ts +23 -0
- package/src/app/lemonriver/home/drafts.ts +57 -0
- package/src/app/lemonriver/home/home-page.tsx +94 -10
- package/src/app/lemonriver/home/organize-drafts.tsx +192 -0
- package/src/app/lemonriver/outline/outline-page.tsx +8 -1
- package/src/app/lemonriver/public-links.test.ts +32 -0
- package/src/app/lemonriver/settings/backup-restore-dialog.tsx +15 -1
- package/src/app/lemonriver/settings/backup-section.tsx +146 -28
- package/src/app/lemonriver/settings/settings-page.tsx +3 -0
- package/src/app/lemonriver/settings/workspace-card.tsx +53 -0
- package/src/app/lemonriver/settings/workspace.ts +37 -0
- package/src/app/lemonriver/share/editor-share.tsx +55 -0
- package/src/app/lemonriver/share/guide.test.ts +2 -2
- package/src/app/lemonriver/share/guide.ts +1 -1
- package/src/app/lemonriver/share/import-dialog.tsx +14 -0
- package/src/app/lemonriver/share/naming.test.ts +11 -0
- package/src/app/lemonriver/share/naming.ts +6 -1
- package/src/app/lemonriver/slide-extensions.tsx +37 -53
- package/src/app/lemonriver/text/en.ts +47 -12
- package/src/app/lemonriver/text/es.ts +39 -6
- package/src/app/lemonriver/text/ja.ts +39 -6
- package/src/app/lemonriver/text/types.ts +45 -6
- package/src/app/lemonriver/text/zh-cn.ts +48 -12
- package/src/app/lemonriver/text/zh-tw.ts +48 -12
- package/src/app/lemonriver/update/beta-badge.tsx +69 -0
- package/src/app/lib/export-html.ts +5 -3
- package/src/app/lib/export-pptx.ts +5 -4
- package/src/app/routes/slide.tsx +6 -57
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Share2 } from 'lucide-react';
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
import { Button } from '@/components/ui/button';
|
|
4
|
+
import { DropdownMenuItem } from '@/components/ui/dropdown-menu';
|
|
5
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
|
|
6
|
+
import { useLrText } from '../text';
|
|
7
|
+
|
|
8
|
+
const SHARE_OPEN_EVENT = 'lemonriver:share-open';
|
|
9
|
+
|
|
10
|
+
/** The editor's more-menu cannot reach the dialog's state, so it asks for it. */
|
|
11
|
+
export function requestShare(): void {
|
|
12
|
+
window.dispatchEvent(new Event(SHARE_OPEN_EVENT));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export function useShareRequests(open: () => void): void {
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
window.addEventListener(SHARE_OPEN_EVENT, open);
|
|
18
|
+
return () => window.removeEventListener(SHARE_OPEN_EVENT, open);
|
|
19
|
+
}, [open]);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function ShareMenuEntry() {
|
|
23
|
+
const lr = useLrText();
|
|
24
|
+
return (
|
|
25
|
+
<DropdownMenuItem onClick={requestShare}>
|
|
26
|
+
<Share2 />
|
|
27
|
+
{lr.share.menuItem}
|
|
28
|
+
</DropdownMenuItem>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export function ShareHeaderButton({ onOpen }: { onOpen: () => void }) {
|
|
33
|
+
const lr = useLrText();
|
|
34
|
+
return (
|
|
35
|
+
<Tooltip>
|
|
36
|
+
<TooltipTrigger
|
|
37
|
+
render={
|
|
38
|
+
<Button
|
|
39
|
+
size="sm"
|
|
40
|
+
variant="outline"
|
|
41
|
+
aria-keyshortcuts="S"
|
|
42
|
+
onClick={onOpen}
|
|
43
|
+
className="border-[var(--lr-accent)] bg-[var(--lr-accent-soft)] text-[var(--lr-on-secondary)] hover:border-[var(--lr-accent)] hover:bg-[var(--lr-accent-soft)]"
|
|
44
|
+
>
|
|
45
|
+
<Share2 className="size-3.5" />
|
|
46
|
+
{lr.share.open}
|
|
47
|
+
</Button>
|
|
48
|
+
}
|
|
49
|
+
/>
|
|
50
|
+
<TooltipContent side="bottom" sideOffset={6}>
|
|
51
|
+
{lr.share.openHint}
|
|
52
|
+
</TooltipContent>
|
|
53
|
+
</Tooltip>
|
|
54
|
+
);
|
|
55
|
+
}
|
|
@@ -41,10 +41,10 @@ describe('buildGuideHtml', () => {
|
|
|
41
41
|
for (const locale of ['zh-CN', 'zh-TW', 'en'] as const) {
|
|
42
42
|
const html = buildGuideHtml({ ...base, title: 'Deck', locale });
|
|
43
43
|
expect(html.toLowerCase()).not.toContain('<script');
|
|
44
|
-
expect(html).toContain('https://github.com/SegawaBeer/lemonriver/releases');
|
|
44
|
+
expect(html).toContain('https://github.com/SegawaBeer/lemonriver-slide/releases/latest');
|
|
45
45
|
const hrefs = [...html.matchAll(/href="([^"]+)"/g)].map((match) => match[1]);
|
|
46
46
|
for (const href of hrefs) {
|
|
47
|
-
expect(href).toBe('https://github.com/SegawaBeer/lemonriver/releases');
|
|
47
|
+
expect(href).toBe('https://github.com/SegawaBeer/lemonriver-slide/releases/latest');
|
|
48
48
|
}
|
|
49
49
|
expect(html).toContain('LemonRiver-0.6.0-arm64.dmg');
|
|
50
50
|
}
|
|
@@ -15,7 +15,7 @@ export type GuideInput = {
|
|
|
15
15
|
hasPdf?: boolean;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
const RELEASES_URL = 'https://github.com/SegawaBeer/lemonriver/releases';
|
|
18
|
+
const RELEASES_URL = 'https://github.com/SegawaBeer/lemonriver-slide/releases/latest';
|
|
19
19
|
|
|
20
20
|
export function guideLocaleFor(id: string): GuideLocale {
|
|
21
21
|
if (id === 'zh-CN') return 'zh-CN';
|
|
@@ -221,9 +221,12 @@ function ThumbViewer({
|
|
|
221
221
|
|
|
222
222
|
export function ImportDialog({
|
|
223
223
|
inspection,
|
|
224
|
+
folderId = null,
|
|
224
225
|
onClose,
|
|
225
226
|
}: {
|
|
226
227
|
inspection: InspectOk;
|
|
228
|
+
/** The folder the home page is showing; imported decks land there. */
|
|
229
|
+
folderId?: string | null;
|
|
227
230
|
onClose: () => void;
|
|
228
231
|
}) {
|
|
229
232
|
const t = useLocale();
|
|
@@ -255,6 +258,17 @@ export function ImportDialog({
|
|
|
255
258
|
picked.map((deck) => ({ slideId: deck.slideId, mode: mode[deck.slideId] ?? 'copy' })),
|
|
256
259
|
);
|
|
257
260
|
const first = result.imported[0];
|
|
261
|
+
if (folderId) {
|
|
262
|
+
await Promise.all(
|
|
263
|
+
result.imported.map((deck) =>
|
|
264
|
+
fetch('/__folders/assign', {
|
|
265
|
+
method: 'PUT',
|
|
266
|
+
headers: { 'content-type': 'application/json' },
|
|
267
|
+
body: JSON.stringify({ slideId: deck.slideId, folderId }),
|
|
268
|
+
}),
|
|
269
|
+
),
|
|
270
|
+
);
|
|
271
|
+
}
|
|
258
272
|
const firstDeck = decks.find((deck) => deck.slideId === first?.from);
|
|
259
273
|
savePendingToast({
|
|
260
274
|
kind: 'imported',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { describe, expect, it } from 'vitest';
|
|
2
2
|
import {
|
|
3
3
|
dayStamp,
|
|
4
|
+
exportBaseName,
|
|
4
5
|
freeImportSlideId,
|
|
5
6
|
isValidExtraName,
|
|
6
7
|
packageBaseName,
|
|
@@ -8,6 +9,16 @@ import {
|
|
|
8
9
|
uniqueFileName,
|
|
9
10
|
} from './naming.ts';
|
|
10
11
|
|
|
12
|
+
describe('export file names', () => {
|
|
13
|
+
it('uses the deck title with characters a file name cannot hold removed', () => {
|
|
14
|
+
expect(`${exportBaseName('季度经营汇报:Q3', 'draft-731')}.pptx`).toBe('季度经营汇报Q3.pptx');
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
it('uses the slide id when the deck has no title', () => {
|
|
18
|
+
expect(`${exportBaseName(undefined, 'draft-731')}.pptx`).toBe('draft-731.pptx');
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
|
|
11
22
|
describe('package file names', () => {
|
|
12
23
|
it('strips what Finder and Explorer refuse', () => {
|
|
13
24
|
expect(safeFileName('Q3/经营:汇报*?"<>|', 'q3')).toBe('Q3经营汇报');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const RESERVED = new Set(['/', '\\', ':', '*', '?', '"', '<', '>', '|']);
|
|
1
|
+
const RESERVED = new Set(['/', '\\', ':', ':', '*', '?', '"', '<', '>', '|']);
|
|
2
2
|
const MAX_BASE = 80;
|
|
3
3
|
|
|
4
4
|
function clean(raw: string): string {
|
|
@@ -29,6 +29,11 @@ export function dayStamp(now: number): string {
|
|
|
29
29
|
return `${date.getFullYear()}-${two(date.getMonth() + 1)}-${two(date.getDate())}`;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
/** The deck's own name for an export, without its extension. */
|
|
33
|
+
export function exportBaseName(title: string | undefined, slideId: string): string {
|
|
34
|
+
return safeFileName(title ?? '', slideId);
|
|
35
|
+
}
|
|
36
|
+
|
|
32
37
|
/** One deck is named after itself; a set of them is a backup with a date. */
|
|
33
38
|
export function packageBaseName(decks: { title: string; slideId: string }[], now: number): string {
|
|
34
39
|
if (decks.length === 1) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useEffect, useState } from 'react';
|
|
1
|
+
import { Workflow } from 'lucide-react';
|
|
2
|
+
import { useCallback, useEffect, useState } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
4
|
import { useNavigate } from 'react-router-dom';
|
|
5
5
|
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
|
|
@@ -10,6 +10,7 @@ import { useSlot } from './chrome/use-slot';
|
|
|
10
10
|
import { isFeatureEnabled } from './features';
|
|
11
11
|
import { useNewDeckBrief } from './home/brief';
|
|
12
12
|
import { PendingPages } from './outline/pending-pages';
|
|
13
|
+
import { ShareHeaderButton, useShareRequests } from './share/editor-share';
|
|
13
14
|
import { ShareDialog } from './share/share-dialog';
|
|
14
15
|
import { useLrText } from './text';
|
|
15
16
|
|
|
@@ -35,6 +36,7 @@ export function SlideExtensions({ slideId, overviewOpen }: Props) {
|
|
|
35
36
|
const shareOn = isFeatureEnabled('share');
|
|
36
37
|
const navigate = useNavigate();
|
|
37
38
|
const slot = useSlot('data-lr-rail-actions', enabled);
|
|
39
|
+
const headerSlot = useSlot('data-lr-header-actions', shareOn);
|
|
38
40
|
useNewDeckBrief(slideId);
|
|
39
41
|
const lr = useLrText();
|
|
40
42
|
const [sharing, setSharing] = useState(false);
|
|
@@ -52,8 +54,10 @@ export function SlideExtensions({ slideId, overviewOpen }: Props) {
|
|
|
52
54
|
};
|
|
53
55
|
}, [slideId]);
|
|
54
56
|
|
|
57
|
+
useShareRequests(useCallback(() => setSharing(true), []));
|
|
58
|
+
|
|
55
59
|
useEffect(() => {
|
|
56
|
-
if (!enabled) return;
|
|
60
|
+
if (!enabled && !shareOn) return;
|
|
57
61
|
const onKey = (e: KeyboardEvent) => {
|
|
58
62
|
if (
|
|
59
63
|
isTypingTarget(e.target) ||
|
|
@@ -65,68 +69,48 @@ export function SlideExtensions({ slideId, overviewOpen }: Props) {
|
|
|
65
69
|
return;
|
|
66
70
|
if (hasModifier(e)) return;
|
|
67
71
|
if (overviewOpen) return;
|
|
68
|
-
if (e.key === 'b' || e.key === 'B') {
|
|
72
|
+
if (enabled && (e.key === 'b' || e.key === 'B')) {
|
|
69
73
|
e.preventDefault();
|
|
70
74
|
navigate(`/s/${encodeURIComponent(slideId)}/board`);
|
|
71
75
|
}
|
|
76
|
+
if (shareOn && (e.key === 's' || e.key === 'S')) {
|
|
77
|
+
e.preventDefault();
|
|
78
|
+
setSharing(true);
|
|
79
|
+
}
|
|
72
80
|
};
|
|
73
81
|
window.addEventListener('keydown', onKey);
|
|
74
82
|
return () => window.removeEventListener('keydown', onKey);
|
|
75
|
-
}, [enabled, navigate, overviewOpen, slideId]);
|
|
83
|
+
}, [enabled, navigate, overviewOpen, shareOn, slideId]);
|
|
76
84
|
|
|
77
|
-
if (!enabled) return null;
|
|
85
|
+
if (!enabled && !shareOn) return null;
|
|
78
86
|
|
|
79
87
|
return (
|
|
80
88
|
<>
|
|
89
|
+
{headerSlot &&
|
|
90
|
+
createPortal(<ShareHeaderButton onOpen={() => setSharing(true)} />, headerSlot)}
|
|
81
91
|
{slot &&
|
|
82
92
|
createPortal(
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
<
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
{lr.share.open}
|
|
105
|
-
</TooltipContent>
|
|
106
|
-
</Tooltip>
|
|
107
|
-
)}
|
|
108
|
-
<Tooltip>
|
|
109
|
-
<TooltipTrigger
|
|
110
|
-
render={
|
|
111
|
-
<button
|
|
112
|
-
type="button"
|
|
113
|
-
onClick={() => navigate(`/s/${encodeURIComponent(slideId)}/board`)}
|
|
114
|
-
aria-label={lr.board.openBoard}
|
|
115
|
-
className={cn(
|
|
116
|
-
'flex size-5 items-center justify-center rounded-[3px] text-muted-foreground/70 outline-none',
|
|
117
|
-
'motion-safe:transition-colors hover:bg-muted hover:text-foreground',
|
|
118
|
-
'focus-visible:ring-1 focus-visible:ring-brand',
|
|
119
|
-
)}
|
|
120
|
-
>
|
|
121
|
-
<Workflow className="size-3.5" strokeWidth={1.75} />
|
|
122
|
-
</button>
|
|
123
|
-
}
|
|
124
|
-
/>
|
|
125
|
-
<TooltipContent side="bottom" sideOffset={6}>
|
|
126
|
-
{lr.board.openBoard}
|
|
127
|
-
</TooltipContent>
|
|
128
|
-
</Tooltip>
|
|
129
|
-
</>,
|
|
93
|
+
<Tooltip>
|
|
94
|
+
<TooltipTrigger
|
|
95
|
+
render={
|
|
96
|
+
<button
|
|
97
|
+
type="button"
|
|
98
|
+
onClick={() => navigate(`/s/${encodeURIComponent(slideId)}/board`)}
|
|
99
|
+
aria-label={lr.board.openBoard}
|
|
100
|
+
className={cn(
|
|
101
|
+
'flex size-5 items-center justify-center rounded-[3px] text-muted-foreground/70 outline-none',
|
|
102
|
+
'motion-safe:transition-colors hover:bg-muted hover:text-foreground',
|
|
103
|
+
'focus-visible:ring-1 focus-visible:ring-brand',
|
|
104
|
+
)}
|
|
105
|
+
>
|
|
106
|
+
<Workflow className="size-3.5" strokeWidth={1.75} />
|
|
107
|
+
</button>
|
|
108
|
+
}
|
|
109
|
+
/>
|
|
110
|
+
<TooltipContent side="bottom" sideOffset={6}>
|
|
111
|
+
{lr.board.openBoard}
|
|
112
|
+
</TooltipContent>
|
|
113
|
+
</Tooltip>,
|
|
130
114
|
slot,
|
|
131
115
|
)}
|
|
132
116
|
{shareOn && (
|
|
@@ -13,7 +13,7 @@ export const enHelp: LrText['help'] = {
|
|
|
13
13
|
import: 'Import',
|
|
14
14
|
backupNow: 'Back up now',
|
|
15
15
|
autoBackup: 'Back up every day',
|
|
16
|
-
|
|
16
|
+
skipVideos: 'Do not back up videos over 100 MB',
|
|
17
17
|
restore: 'Restore from backup…',
|
|
18
18
|
restoreGo: 'Restore',
|
|
19
19
|
chooseOtherFile: 'Choose another backup file…',
|
|
@@ -343,7 +343,7 @@ export const enHelp: LrText['help'] = {
|
|
|
343
343
|
text: 'Turn on “{autoBackup}”: one backup a day while LemonRiver is open. You can also choose “{backupNow}” at any time.',
|
|
344
344
|
},
|
|
345
345
|
{
|
|
346
|
-
text: '
|
|
346
|
+
text: 'Backups keep the last 30 days; older ones are deleted. Only what LemonRiver wrote into the folder is touched; other files you put there are never deleted.',
|
|
347
347
|
},
|
|
348
348
|
],
|
|
349
349
|
},
|
|
@@ -362,7 +362,7 @@ export const enHelp: LrText['help'] = {
|
|
|
362
362
|
kind: 'steps',
|
|
363
363
|
items: [
|
|
364
364
|
{
|
|
365
|
-
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.',
|
|
365
|
+
text: 'On the new computer, install LemonRiver first (download: https://github.com/SegawaBeer/lemonriver-slide/releases/latest ), make sure the cloud drive client is installed and signed in, and the backup file is downloaded to this computer.',
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
text: 'Open “{settings} → {backupSection}”, choose “{restore}”, pick one from the list, or choose “{chooseOtherFile}” to find it.',
|
|
@@ -432,7 +432,7 @@ export const enHelp: LrText['help'] = {
|
|
|
432
432
|
kind: 'list',
|
|
433
433
|
items: [
|
|
434
434
|
{
|
|
435
|
-
text: 'Free iCloud is only 5GB, and
|
|
435
|
+
text: 'Free iCloud is only 5GB, and the workspace backup can be a few hundred MB. If space runs out, turn on “{skipVideos}” in Settings, or buy more iCloud storage.',
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
438
|
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.',
|
|
@@ -496,7 +496,9 @@ export const enHelp: LrText['help'] = {
|
|
|
496
496
|
},
|
|
497
497
|
{
|
|
498
498
|
kind: 'list',
|
|
499
|
-
items: [
|
|
499
|
+
items: [
|
|
500
|
+
{ text: 'Weiyun’s free space is small; turning on “{skipVideos}” in Settings helps.' },
|
|
501
|
+
],
|
|
500
502
|
},
|
|
501
503
|
],
|
|
502
504
|
},
|
|
@@ -627,7 +629,7 @@ export const enHelp: LrText['help'] = {
|
|
|
627
629
|
},
|
|
628
630
|
{
|
|
629
631
|
strong: 'The drive is full.',
|
|
630
|
-
text: '
|
|
632
|
+
text: 'How much backups take is shown in Settings. Turning on “{skipVideos}” frees up space.',
|
|
631
633
|
},
|
|
632
634
|
{
|
|
633
635
|
strong: 'There are files like “conflicted copy”.',
|
|
@@ -905,6 +907,18 @@ export const en: LrText = {
|
|
|
905
907
|
renameHint: 'The new name shows on the card and in exported file titles.',
|
|
906
908
|
nameRequired: 'The name can’t be empty.',
|
|
907
909
|
noMatchesHint: 'Try another word, or clear the search to see every slide.',
|
|
910
|
+
organizeDrafts: 'Tidy drafts',
|
|
911
|
+
/** template: "{n} drafts are still unfiled" */
|
|
912
|
+
draftReminder: '{n} drafts are still unfiled',
|
|
913
|
+
organizeTitle: 'Tidy drafts',
|
|
914
|
+
organizeStay: 'Leave in drafts',
|
|
915
|
+
organizeNew: 'New folder…',
|
|
916
|
+
organizeNamePlaceholder: 'Folder name',
|
|
917
|
+
/** template: "Move {n}" */
|
|
918
|
+
organizeMove: 'Move {n}',
|
|
919
|
+
/** template: "Filed the new deck in "{folder}"" */
|
|
920
|
+
newDeckFiled: 'Filed the new deck in “{folder}”',
|
|
921
|
+
organizeFailed: 'Some decks could not be moved',
|
|
908
922
|
},
|
|
909
923
|
trash: {
|
|
910
924
|
title: 'Trash',
|
|
@@ -934,6 +948,12 @@ export const en: LrText = {
|
|
|
934
948
|
helpTitle: 'Help',
|
|
935
949
|
helpHint: 'How sharing, importing, backups and cloud drive setup work.',
|
|
936
950
|
helpOpen: 'Open help',
|
|
951
|
+
workspaceTitle: 'Workspace folder',
|
|
952
|
+
workspaceHint: 'This is the folder your agent works in.',
|
|
953
|
+
workspaceCopy: 'Copy',
|
|
954
|
+
workspaceCopied: 'Copied',
|
|
955
|
+
workspaceReveal: 'Show in Finder',
|
|
956
|
+
workspaceCopiedToast: 'Workspace folder path copied',
|
|
937
957
|
},
|
|
938
958
|
agents: {
|
|
939
959
|
title: 'Agents',
|
|
@@ -1151,7 +1171,8 @@ export const en: LrText = {
|
|
|
1151
1171
|
},
|
|
1152
1172
|
share: {
|
|
1153
1173
|
open: 'Share',
|
|
1154
|
-
|
|
1174
|
+
openHint: 'Share (S)',
|
|
1175
|
+
menuItem: 'Share…',
|
|
1155
1176
|
dialogTitle: 'Share “{title}”',
|
|
1156
1177
|
dialogDescription:
|
|
1157
1178
|
'Pack it into one zip and send it over WeChat, email or a cloud drive. They can still read the PDF without LemonRiver.',
|
|
@@ -1222,7 +1243,7 @@ export const en: LrText = {
|
|
|
1222
1243
|
},
|
|
1223
1244
|
backup: {
|
|
1224
1245
|
title: 'Backup',
|
|
1225
|
-
hint: '
|
|
1246
|
+
hint: 'Back up the whole workspace — every deck, asset and theme. How many decks there are does not matter.',
|
|
1226
1247
|
location: 'Backup location',
|
|
1227
1248
|
notSet: 'Not chosen yet',
|
|
1228
1249
|
change: 'Change',
|
|
@@ -1239,12 +1260,26 @@ export const en: LrText = {
|
|
|
1239
1260
|
},
|
|
1240
1261
|
auto: 'Back up every day',
|
|
1241
1262
|
autoHint: 'Once a day, while LemonRiver is open.',
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1263
|
+
retain: 'Kept for the last 30 days; every day’s changes can be brought back.',
|
|
1264
|
+
totalSize: 'Backups take {size}',
|
|
1265
|
+
biggestTitle: 'Largest files',
|
|
1266
|
+
biggestItem: '{name} · {size}',
|
|
1267
|
+
biggestItemDeck: '{name} · {size} · in “{deck}”',
|
|
1268
|
+
skipVideos: 'Do not back up videos over 100 MB',
|
|
1269
|
+
skipVideosHint: 'Saves cloud space. These videos stay on this computer.',
|
|
1270
|
+
skipped: '{n} large videos were not backed up',
|
|
1271
|
+
restoreSkipped: '{n} large videos are not in this backup',
|
|
1272
|
+
exportFull: 'Export a full backup…',
|
|
1273
|
+
exportTitle: 'Export a full backup',
|
|
1274
|
+
exportHint: 'Pick a day. The file opens with “Restore from backup…”.',
|
|
1275
|
+
exportDone: 'Saved {name} ({size})',
|
|
1276
|
+
exportFailed: 'Could not export this backup.',
|
|
1277
|
+
oldFormat: 'Old format',
|
|
1278
|
+
snapshotLine: '{decks} decks · {size} · {when}',
|
|
1279
|
+
zipLine: 'Old format · {size} · {when}',
|
|
1245
1280
|
runNow: 'Back up now',
|
|
1246
1281
|
running: 'Packing {done} / {total} files',
|
|
1247
|
-
lastOk: 'Last backup: {when} · {
|
|
1282
|
+
lastOk: 'Last backup: {when} · {added} new · succeeded',
|
|
1248
1283
|
lastFailed: 'Last backup failed: {error}',
|
|
1249
1284
|
tooLarge:
|
|
1250
1285
|
'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.',
|
|
@@ -249,6 +249,18 @@ export const es: LrText = {
|
|
|
249
249
|
renameHint: 'El nuevo nombre aparece en la tarjeta y en los archivos exportados.',
|
|
250
250
|
nameRequired: 'El nombre no puede estar vacío.',
|
|
251
251
|
noMatchesHint: 'Prueba otra palabra o borra la búsqueda para ver todas.',
|
|
252
|
+
organizeDrafts: 'Ordenar borradores',
|
|
253
|
+
/** template: "Hay {n} borradores sin clasificar" */
|
|
254
|
+
draftReminder: 'Hay {n} borradores sin clasificar',
|
|
255
|
+
organizeTitle: 'Ordenar borradores',
|
|
256
|
+
organizeStay: 'Dejar en borradores',
|
|
257
|
+
organizeNew: 'Nueva carpeta…',
|
|
258
|
+
organizeNamePlaceholder: 'Nombre de la carpeta',
|
|
259
|
+
/** template: "Mover {n}" */
|
|
260
|
+
organizeMove: 'Mover {n}',
|
|
261
|
+
/** template: "Nueva presentación guardada en «{folder}»" */
|
|
262
|
+
newDeckFiled: 'Nueva presentación guardada en «{folder}»',
|
|
263
|
+
organizeFailed: 'No se pudieron mover algunas presentaciones',
|
|
252
264
|
},
|
|
253
265
|
trash: {
|
|
254
266
|
title: 'Papelera',
|
|
@@ -281,6 +293,12 @@ export const es: LrText = {
|
|
|
281
293
|
helpHint:
|
|
282
294
|
'Cómo funcionan compartir, importar, las copias de seguridad y las unidades en la nube.',
|
|
283
295
|
helpOpen: 'Abrir la ayuda',
|
|
296
|
+
workspaceTitle: 'Carpeta del espacio de trabajo',
|
|
297
|
+
workspaceHint: 'Tu agente trabaja en esta carpeta.',
|
|
298
|
+
workspaceCopy: 'Copiar',
|
|
299
|
+
workspaceCopied: 'Copiado',
|
|
300
|
+
workspaceReveal: 'Mostrar en Finder',
|
|
301
|
+
workspaceCopiedToast: 'Ruta de la carpeta del espacio de trabajo copiada',
|
|
284
302
|
},
|
|
285
303
|
agents: {
|
|
286
304
|
title: 'Agentes',
|
|
@@ -498,7 +516,8 @@ export const es: LrText = {
|
|
|
498
516
|
},
|
|
499
517
|
share: {
|
|
500
518
|
open: 'Share',
|
|
501
|
-
|
|
519
|
+
openHint: 'Share (S)',
|
|
520
|
+
menuItem: 'Share…',
|
|
502
521
|
dialogTitle: 'Share “{title}”',
|
|
503
522
|
dialogDescription:
|
|
504
523
|
'Pack it into one zip and send it over WeChat, email or a cloud drive. They can still read the PDF without LemonRiver.',
|
|
@@ -569,7 +588,7 @@ export const es: LrText = {
|
|
|
569
588
|
},
|
|
570
589
|
backup: {
|
|
571
590
|
title: 'Copia de seguridad',
|
|
572
|
-
hint: '
|
|
591
|
+
hint: 'Se guarda todo el espacio de trabajo (todas las diapositivas, los recursos y los temas). No importa cuántas diapositivas haya.',
|
|
573
592
|
location: 'Ubicación de la copia',
|
|
574
593
|
notSet: 'Sin elegir',
|
|
575
594
|
change: 'Cambiar',
|
|
@@ -586,12 +605,26 @@ export const es: LrText = {
|
|
|
586
605
|
},
|
|
587
606
|
auto: 'Copia automática cada día',
|
|
588
607
|
autoHint: 'Una vez al día, mientras LemonRiver está abierto.',
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
608
|
+
retain: 'Se conservan los últimos 30 días; los cambios de cada día se pueden recuperar.',
|
|
609
|
+
totalSize: 'Las copias ocupan {size}',
|
|
610
|
+
biggestTitle: 'Archivos más grandes',
|
|
611
|
+
biggestItem: '{name} · {size}',
|
|
612
|
+
biggestItemDeck: '{name} · {size} · en «{deck}»',
|
|
613
|
+
skipVideos: 'No copiar vídeos de más de 100 MB',
|
|
614
|
+
skipVideosHint: 'Ahorra espacio en la nube. Estos vídeos se quedan en este ordenador.',
|
|
615
|
+
skipped: '{n} vídeos grandes no se copiaron',
|
|
616
|
+
restoreSkipped: 'Esta copia no incluye {n} vídeos grandes',
|
|
617
|
+
exportFull: 'Exportar una copia completa…',
|
|
618
|
+
exportTitle: 'Exportar una copia completa',
|
|
619
|
+
exportHint: 'Elige un día. El archivo se abre con «Restaurar desde una copia…».',
|
|
620
|
+
exportDone: 'Guardado {name} ({size})',
|
|
621
|
+
exportFailed: 'No se pudo exportar esta copia.',
|
|
622
|
+
oldFormat: 'Formato antiguo',
|
|
623
|
+
snapshotLine: '{decks} presentaciones · {size} · {when}',
|
|
624
|
+
zipLine: 'Formato antiguo · {size} · {when}',
|
|
592
625
|
runNow: 'Hacer copia ahora',
|
|
593
626
|
running: 'Empaquetados {done} de {total} archivos',
|
|
594
|
-
lastOk: 'Última copia: {when} · {
|
|
627
|
+
lastOk: 'Última copia: {when} · {added} nuevo · correcta',
|
|
595
628
|
lastFailed: 'La última copia falló: {error}',
|
|
596
629
|
tooLarge:
|
|
597
630
|
'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.',
|
|
@@ -249,6 +249,18 @@ export const ja: LrText = {
|
|
|
249
249
|
renameHint: '新しい名前はカードと書き出したファイルに表示されます。',
|
|
250
250
|
nameRequired: '名前を入力してください。',
|
|
251
251
|
noMatchesHint: '別の言葉で試すか、検索をクリアしてすべて表示してください。',
|
|
252
|
+
organizeDrafts: '下書きを整理',
|
|
253
|
+
/** template: "下書きに {n} 件が未整理です" */
|
|
254
|
+
draftReminder: '下書きに {n} 件が未整理です',
|
|
255
|
+
organizeTitle: '下書きを整理',
|
|
256
|
+
organizeStay: '下書きに残す',
|
|
257
|
+
organizeNew: '新しいフォルダ…',
|
|
258
|
+
organizeNamePlaceholder: 'フォルダ名',
|
|
259
|
+
/** template: "{n} 件を移動" */
|
|
260
|
+
organizeMove: '{n} 件を移動',
|
|
261
|
+
/** template: "新しいスライドを「{folder}」に入れました" */
|
|
262
|
+
newDeckFiled: '新しいスライドを「{folder}」に入れました',
|
|
263
|
+
organizeFailed: '移動できなかったスライドがあります',
|
|
252
264
|
},
|
|
253
265
|
trash: {
|
|
254
266
|
title: 'ゴミ箱',
|
|
@@ -278,6 +290,12 @@ export const ja: LrText = {
|
|
|
278
290
|
helpTitle: 'ヘルプ',
|
|
279
291
|
helpHint: '共有、読み込み、バックアップ、クラウドドライブの設定について',
|
|
280
292
|
helpOpen: 'ヘルプを開く',
|
|
293
|
+
workspaceTitle: 'ワークスペースフォルダ',
|
|
294
|
+
workspaceHint: 'エージェントはこのフォルダで作業します。',
|
|
295
|
+
workspaceCopy: 'コピー',
|
|
296
|
+
workspaceCopied: 'コピーしました',
|
|
297
|
+
workspaceReveal: 'Finder で表示',
|
|
298
|
+
workspaceCopiedToast: 'ワークスペースフォルダのパスをコピーしました',
|
|
281
299
|
},
|
|
282
300
|
agents: {
|
|
283
301
|
title: 'エージェント',
|
|
@@ -497,7 +515,8 @@ export const ja: LrText = {
|
|
|
497
515
|
},
|
|
498
516
|
share: {
|
|
499
517
|
open: 'Share',
|
|
500
|
-
|
|
518
|
+
openHint: 'Share (S)',
|
|
519
|
+
menuItem: 'Share…',
|
|
501
520
|
dialogTitle: 'Share “{title}”',
|
|
502
521
|
dialogDescription:
|
|
503
522
|
'Pack it into one zip and send it over WeChat, email or a cloud drive. They can still read the PDF without LemonRiver.',
|
|
@@ -568,7 +587,7 @@ export const ja: LrText = {
|
|
|
568
587
|
},
|
|
569
588
|
backup: {
|
|
570
589
|
title: 'バックアップ',
|
|
571
|
-
hint: '
|
|
590
|
+
hint: 'ワークスペース全体(すべてのスライド・アセット・テーマ)をバックアップします。スライドの数は関係ありません。',
|
|
572
591
|
location: 'バックアップ先',
|
|
573
592
|
notSet: '未設定',
|
|
574
593
|
change: '変更',
|
|
@@ -585,12 +604,26 @@ export const ja: LrText = {
|
|
|
585
604
|
},
|
|
586
605
|
auto: '毎日自動でバックアップ',
|
|
587
606
|
autoHint: 'LemonRiver を開いている間、1 日 1 回バックアップします。',
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
607
|
+
retain: '直近 30 日分を保持します。毎日の変更を戻せます。',
|
|
608
|
+
totalSize: 'バックアップの使用量は {size}',
|
|
609
|
+
biggestTitle: '大きいファイル',
|
|
610
|
+
biggestItem: '{name} · {size}',
|
|
611
|
+
biggestItemDeck: '{name} · {size} · 「{deck}」内',
|
|
612
|
+
skipVideos: '100MB を超える動画はバックアップしない',
|
|
613
|
+
skipVideosHint: 'クラウドの容量を節約します。動画はこのパソコンに残ります。',
|
|
614
|
+
skipped: '{n} 本の大きな動画はバックアップしていません',
|
|
615
|
+
restoreSkipped: 'このバックアップには {n} 本の大きな動画が含まれていません',
|
|
616
|
+
exportFull: '完全なバックアップを書き出す…',
|
|
617
|
+
exportTitle: '完全なバックアップを書き出す',
|
|
618
|
+
exportHint: '日付を選んでください。「バックアップから復元…」で開けるファイルになります。',
|
|
619
|
+
exportDone: '{name} を保存しました({size})',
|
|
620
|
+
exportFailed: 'このバックアップを書き出せませんでした。',
|
|
621
|
+
oldFormat: '旧形式',
|
|
622
|
+
snapshotLine: '{decks} 件 · {size} · {when}',
|
|
623
|
+
zipLine: '旧形式 · {size} · {when}',
|
|
591
624
|
runNow: '今すぐバックアップ',
|
|
592
625
|
running: '{total} ファイル中 {done} をまとめました',
|
|
593
|
-
lastOk: '前回のバックアップ:{when} · {
|
|
626
|
+
lastOk: '前回のバックアップ:{when} · 今回の追加 {added} · 成功',
|
|
594
627
|
lastFailed: '前回のバックアップに失敗しました:{error}',
|
|
595
628
|
tooLarge:
|
|
596
629
|
'ワークスペースが 4GB を超えており、現在のバックアップ形式では収まりません。大きな動画を素材ライブラリから移動してから、もう一度バックアップしてください。',
|