---
title: "CommentSummaryWords"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/commentsummarywords/"
---

# CommentSummaryWords

Defined in: [packages/sdk/src/summary.ts:74](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L74)

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

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

## Since

0.6.0

## Properties

### commentsOne?

```ts
readonly commentsOne?: string;
```

Defined in: [packages/sdk/src/summary.ts:89](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L89)

One comment: "1 comment".

***

### commentsOther?

```ts
readonly commentsOther?: string;
```

Defined in: [packages/sdk/src/summary.ts:94](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L94)

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

***

### count?

```ts
readonly count?: string;
```

Defined in: [packages/sdk/src/summary.ts:87](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L87)

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

***

### figureMany?

```ts
readonly figureMany?: string;
```

Defined in: [packages/sdk/src/summary.ts:109](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L109)

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

***

### figureOne?

```ts
readonly figureOne?: string;
```

Defined in: [packages/sdk/src/summary.ts:107](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L107)

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

***

### kinds?

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

Defined in: [packages/sdk/src/summary.ts:117](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L117)

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

***

### marked?

```ts
readonly marked?: string;
```

Defined in: [packages/sdk/src/summary.ts:113](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L113)

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

***

### noComments?

```ts
readonly noComments?: string;
```

Defined in: [packages/sdk/src/summary.ts:80](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L80)

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

***

### noneChosen?

```ts
readonly noneChosen?: string;
```

Defined in: [packages/sdk/src/summary.ts:82](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L82)

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

***

### page?

```ts
readonly page?: string;
```

Defined in: [packages/sdk/src/summary.ts:103](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L103)

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

***

### pageEmpty?

```ts
readonly pageEmpty?: string;
```

Defined in: [packages/sdk/src/summary.ts:105](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L105)

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

***

### pagesOne?

```ts
readonly pagesOne?: string;
```

Defined in: [packages/sdk/src/summary.ts:96](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L96)

One page: "1 page".

***

### pagesOther?

```ts
readonly pagesOther?: string;
```

Defined in: [packages/sdk/src/summary.ts:98](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L98)

Several pages: "{count} pages".

***

### quote?

```ts
readonly quote?: string;
```

Defined in: [packages/sdk/src/summary.ts:115](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L115)

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

***

### states?

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

Defined in: [packages/sdk/src/summary.ts:119](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L119)

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

***

### status?

```ts
readonly status?: string;
```

Defined in: [packages/sdk/src/summary.ts:111](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L111)

The status line: "Status: {status}".

***

### titled?

```ts
readonly titled?: string;
```

Defined in: [packages/sdk/src/summary.ts:76](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L76)

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

***

### untitled?

```ts
readonly untitled?: string;
```

Defined in: [packages/sdk/src/summary.ts:78](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/summary.ts#L78)

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