Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

CommentSummaryWords

Defined in: packages/sdk/src/summary.ts:74

The words a comment summary writes itself. Each word is a template: the summary fills in the names in braces, such as {label}, and a template may leave one out. Any word you leave out stays in English. The comments’ own text, their authors and the dates are never translated.

const words: CommentSummaryWords = {
page: "Seite {label}",
kinds: { Text: "Notiz", Highlight: "Hervorhebung" },
};

0.6.0

readonly commentsOne?: string;

Defined in: packages/sdk/src/summary.ts:89

One comment: “1 comment”.


readonly commentsOther?: string;

Defined in: packages/sdk/src/summary.ts:94

Several comments: “{count} comments”. A language with more plural forms can phrase the count line to avoid them, such as “Comments: {count}”.


readonly count?: string;

Defined in: packages/sdk/src/summary.ts:87

The line counting the comments and their pages: “{comments} on {pages}.”, built from commentsOne or commentsOther and pagesOne or pagesOther.


readonly figureMany?: string;

Defined in: packages/sdk/src/summary.ts:109

The alternative text of a page drawn beside several: “Page {label}, with comments {first} to {last} marked”.


readonly figureOne?: string;

Defined in: packages/sdk/src/summary.ts:107

The alternative text of a page drawn beside one comment: “Page {label}, with comment {first} marked”.


readonly kinds?: Readonly<Record<string, string>>;

Defined in: packages/sdk/src/summary.ts:117

Annotation kinds by their PDF subtype (Text, Ink…), in place of the English names: “Note”, “Drawing”….


readonly marked?: string;

Defined in: packages/sdk/src/summary.ts:113

The check mark, after the status or alone: “Marked”.


readonly noComments?: string;

Defined in: packages/sdk/src/summary.ts:80

The line under the title when the document has no comments.


readonly noneChosen?: string;

Defined in: packages/sdk/src/summary.ts:82

The line under the title when none of the chosen comments are in the document.


readonly page?: string;

Defined in: packages/sdk/src/summary.ts:103

Each page’s heading: “Page {label}”. It is also the alternative text of a page drawn beside its comments when it marks none.


readonly pageEmpty?: string;

Defined in: packages/sdk/src/summary.ts:105

The line under a page without comments, when those pages are listed.


readonly pagesOne?: string;

Defined in: packages/sdk/src/summary.ts:96

One page: “1 page”.


readonly pagesOther?: string;

Defined in: packages/sdk/src/summary.ts:98

Several pages: “{count} pages”.


readonly quote?: string;

Defined in: packages/sdk/src/summary.ts:115

The text a comment marks, quoted under it: ““{text}””.


readonly states?: Readonly<Record<string, string>>;

Defined in: packages/sdk/src/summary.ts:119

Review states by their PDF name (Accepted, Rejected, Cancelled, Completed).


readonly status?: string;

Defined in: packages/sdk/src/summary.ts:111

The status line: “Status: {status}”.


readonly titled?: string;

Defined in: packages/sdk/src/summary.ts:76

The title of a document that has one: “Comments on {title}”.


readonly untitled?: string;

Defined in: packages/sdk/src/summary.ts:78

The title of a document that has none: “Comment summary”.