Skip to content

1681-engine / react / UiLabels

Interface: UiLabels ​

Defined in: src/react/labels.ts:5

Every word the kit itself prints, in English. A game hands its own (translated) words to UiProvider's labels, or to a component's own prop; the engine never translates anything.

Properties ​

backToList ​

ts
backToList: string;

Defined in: src/react/labels.ts:11

The button that takes a stacked SplitPane back from the detail to the list.


cancel ​

ts
cancel: string;

Defined in: src/react/labels.ts:14


choose ​

ts
choose: string;

Defined in: src/react/labels.ts:19

The choice dialog's confirm button.


close ​

ts
close: string;

Defined in: src/react/labels.ts:7

The close button's spoken name; {0} is the window's title.


closeHint ​

ts
closeHint: string;

Defined in: src/react/labels.ts:9

The close button's tooltip.


confirmAgain? ​

ts
optional confirmAgain?: string;

Defined in: src/react/labels.ts:21

What an armed ConfirmButton says when the game gives it no words of its own.


ok ​

ts
ok: string;

Defined in: src/react/labels.ts:15


pickHint ​

ts
pickHint: string;

Defined in: src/react/labels.ts:13

What an empty detail pane says.


quantity ​

ts
quantity: string;

Defined in: src/react/labels.ts:17

The quantity slider's and field's spoken name.

Released under the MIT License.