Skip to content

1681-engine / index / ExtractedString

Interface: ExtractedString ​

Defined in: src/i18n/extractStrings.ts:2

One translatable string found in source text.

Properties ​

fn ​

ts
fn: string;

Defined in: src/i18n/extractStrings.ts:8

The function it was passed to.


key ​

ts
key: string;

Defined in: src/i18n/extractStrings.ts:4

The catalog key: the string as written, |context included.


line ​

ts
line: number;

Defined in: src/i18n/extractStrings.ts:10

1-based line of the call.


one? ​

ts
optional one?: string;

Defined in: src/i18n/extractStrings.ts:6

For a plural call, the singular form written beside the key.

Released under the MIT License.