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.
Example
Section titled “Example”const words: CommentSummaryWords = { page: "Seite {label}", kinds: { Text: "Notiz", Highlight: "Hervorhebung" },};0.6.0
Properties
Section titled “Properties”commentsOne?
Section titled “commentsOne?”readonly commentsOne?: string;Defined in: packages/sdk/src/summary.ts:89
One comment: “1 comment”.
commentsOther?
Section titled “commentsOther?”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}”.
count?
Section titled “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.
figureMany?
Section titled “figureMany?”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”.
figureOne?
Section titled “figureOne?”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”.
kinds?
Section titled “kinds?”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”….
marked?
Section titled “marked?”readonly marked?: string;Defined in: packages/sdk/src/summary.ts:113
The check mark, after the status or alone: “Marked”.
noComments?
Section titled “noComments?”readonly noComments?: string;Defined in: packages/sdk/src/summary.ts:80
The line under the title when the document has no comments.
noneChosen?
Section titled “noneChosen?”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.
pageEmpty?
Section titled “pageEmpty?”readonly pageEmpty?: string;Defined in: packages/sdk/src/summary.ts:105
The line under a page without comments, when those pages are listed.
pagesOne?
Section titled “pagesOne?”readonly pagesOne?: string;Defined in: packages/sdk/src/summary.ts:96
One page: “1 page”.
pagesOther?
Section titled “pagesOther?”readonly pagesOther?: string;Defined in: packages/sdk/src/summary.ts:98
Several pages: “{count} pages”.
quote?
Section titled “quote?”readonly quote?: string;Defined in: packages/sdk/src/summary.ts:115
The text a comment marks, quoted under it: ““{text}””.
states?
Section titled “states?”readonly states?: Readonly<Record<string, string>>;Defined in: packages/sdk/src/summary.ts:119
Review states by their PDF name (Accepted, Rejected, Cancelled, Completed).
status?
Section titled “status?”readonly status?: string;Defined in: packages/sdk/src/summary.ts:111
The status line: “Status: {status}”.
titled?
Section titled “titled?”readonly titled?: string;Defined in: packages/sdk/src/summary.ts:76
The title of a document that has one: “Comments on {title}”.
untitled?
Section titled “untitled?”readonly untitled?: string;Defined in: packages/sdk/src/summary.ts:78
The title of a document that has none: “Comment summary”.