-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopy.ts
More file actions
42 lines (39 loc) · 1.38 KB
/
Copy pathcopy.ts
File metadata and controls
42 lines (39 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* Export extension — user-facing strings.
*
* Centralized so the panel, commands, and toasts stay consistent and
* the extension is easy to localize later.
*/
export const copy = {
panel: {
title: "Export",
thisNoteHeading: "This note",
allNotesHeading: "All notes",
thisNoteDescription: "Download the note you're currently editing.",
allNotesDescription: "Bundle the whole workspace into one file.",
markdownButton: "Markdown",
markdownHint: "Raw .md, exactly as written",
htmlButton: "HTML",
htmlHint: "Styled, standalone .html page",
zipButton: "Zip bundle",
zipHint: "Every note as .md plus a manifest",
combinedHtmlButton: "Combined HTML",
combinedHtmlHint: "One page, all notes, with a contents list",
noActiveNote: "Open a note to export it.",
emptyWorkspace: "Nothing to export yet.",
stats: (notes: number, words: number) =>
`${notes} ${notes === 1 ? "note" : "notes"} · ${words.toLocaleString("en-US")} ${words === 1 ? "word" : "words"}`,
},
toast: {
noActiveNote: "No active note",
nothingToExport: "Nothing to export",
exported: (filename: string) => `Exported ${filename}`,
failed: "Export failed — please try again",
},
document: {
footer: "Exported from OpenNotes",
tocHeading: "Contents",
untitled: "Untitled",
workspaceTitle: "OpenNotes workspace",
},
} as const