# Interface: StringSettings

[Mobile Document Scanner API Reference](../index.md) / StringSettings

# Interface: StringSettings

Defined in: [src/settings/strings.ts:108](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/strings.ts#L108)

The text of the screens and the dialogs, by screen. A key without a value keeps
its English default. The published file `dist/defaults/settings.json` holds every
default text, under `strings`.

## Properties

### capture?

> `optional` **capture?**: `Partial`\<`CaptureStrings`\>

Defined in: [src/settings/strings.ts:120](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/strings.ts#L120)

The text of the capture screen. Each [CaptureScreenButton](../type-aliases/CaptureScreenButton.md) has a label
under its name, and a tooltip under its name with `Tooltip` after it, such as
`torchTooltip`. The hints over the viewfinder are `moveCloser` and
`moveFarther`.

***

### common?

> `optional` **common?**: `Partial`\<`Readonly`\<\{ `discard`: `string`; `discardMessage`: `string`; `discardTitle`: `string`; `dismiss`: `string`; `fileErrorMessage`: `string`; `fileErrorTitle`: `string`; `finishErrorMessage`: `string`; `finishErrorTitle`: `string`; `keepScanning`: `string`; `licenseErrorMessage`: `string`; `licenseErrorTitle`: `string`; `licenseExpiredMessage`: `string`; `licenseExpiredTitle`: `string`; `pageErrorMessage`: `string`; `pageErrorTitle`: `string`; `pageLimitNoticeMessage`: `string`; `pageLimitNoticeTitle`: `string`; `trialNoticeMessage`: `string`; `trialNoticeTitle`: `string`; \}\>\>

Defined in: [src/settings/strings.ts:113](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/strings.ts#L113)

The text of the dialogs that every screen shares: the notices, the discard
question, and the license dialogs.

***

### edit?

> `optional` **edit?**: `Partial`\<`EditStrings`\>

Defined in: [src/settings/strings.ts:129](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/strings.ts#L129)

The text of the edit screen: the label of each button, and a tooltip for
`cancel`, `thumbnails`, `previousPage`, and `nextPage`, such as `cancelTooltip`.
The key of each filter label is `filter` followed by the capitalized filter
name, such as `filterGray`.

***

### rectify?

> `optional` **rectify?**: `Partial`\<`Readonly`\<\{ `apply`: `string`; `cancel`: `string`; `detectBoundary`: `string`; `fullImage`: `string`; `keep`: `string`; `retake`: `string`; `title`: `string`; `undo`: `string`; \}\>\>

Defined in: [src/settings/strings.ts:122](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/strings.ts#L122)

The text of the rectify screen: its title and the label of each button.
