# AlertDialogLocaleText (@salmonui/overlays/dialog)

> The AlertDialogLocaleText interface of @salmonui/overlays/dialog.

Canonical: https://salmonui.dev/docs/reference/overlays/dialog/AlertDialogLocaleText

```ts
import type { AlertDialogLocaleText } from '@salmonui/overlays/dialog';
```

Entry index: https://salmonui.dev/docs/reference/overlays/dialog (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/overlays/dialog.md).

## Reference

Kind: interface

```ts
interface AlertDialogLocaleText {
    readonly ok?: string | undefined;
    readonly cancel?: string | undefined;
    readonly error?: string | undefined;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `ok` | `readonly ok?: string \| undefined;` | optional | Confirm label without `confirmLabel`. Default `"OK"`. |
| `cancel` | `readonly cancel?: string \| undefined;` | optional | Cancel label without `cancelLabel` (only used when `onCancel` or a cancel label exists). Default `"Cancel"`. |
| `error` | `readonly error?: string \| undefined;` | optional | Error text after a rejected `onConfirm` whose reason is not an `Error` with a message. Default `"Something went wrong. Try again."`. |
