Genesis
@stable

resolveUiMessages

The catalogue with overrides merged over the English.

packages/ui/src/messages.tsx

Import
Subpath export: @marktiderman/genesis-ui
import { resolveUiMessages } from "@marktiderman/genesis-ui";
Components
Auto-generated from TypeScript source via react-docgen-typescript.

resolveUiMessages

The catalogue with overrides merged over the English.

PropTypeDefaultDescription
authDeepPartial<{ titles: { "sign-in": string; "sign-up": string; "forgot-password": string; "new-password": string; }; email: string; emailPlaceholder: string; password: string; newPassword: string; confirmPassword: string; ... 43 more ...; errors: { ...; }; }>—
boardDeepPartial<{ noValue: string; ownFilterSetAside: string; notAllowed: string; stillSaving: string; loadMore: string; loadMoreLeft: string; }>—
bulkDeepPartial<{ resourceChanged: string; selected: string; selectAllMatching: string; allMatching: string; loadedOnly: string; deleteTitle: string; done: string; skipped: string; noneAllowed: string; }>—
calendarDeepPartial<{ previousMonth: string; nextMonth: string; previousWeeks: string; nextWeeks: string; today: string; nothing: string; allDay: string; until: string; eventsOne: string; eventsOther: string; ... 12 more ...; weekOf: string; }>—
commonDeepPartial<{ empty: string; hiddenLink: string; untitled: string; yes: string; no: string; cancel: string; save: string; close: string; edit: string; delete: string; clear: string; open: string; openItem: string; loading: string; saving: string; }>—
confirmDeleteDeepPartial<{ title: string; recycle: string; permanent: string; }>—
conflictDeepPartial<{ title: string; description: string; same: string; field: string; theirs: string; mine: string; empty: string; unknown: string; keepMine: string; takeTheirs: string; failed: string; record: string; }>—
detailDeepPartial<{ fallbackTitle: string; }>—
exportDeepPartial<{ action: string; done: string; truncated: string; failed: string; searchNotExportable: string; }>—CSV export from a list (ADR 0017 §8).
filtersDeepPartial<{ search: string; status: string; sortBy: string; sort: string; clearSearch: string; views: string; viewCount: string; noViews: string; saveCurrent: string; clearAll: string; saveViewTitle: string; ... 8 more ...; viewsFailed: string; }>—
formDeepPartial<{ createTitle: string; editTitle: string; createDescription: string; editDescription: string; created: string; createdUnnamed: string; }>—
inboxDeepPartial<{ views: string; saved: string; search: string; pickTitle: string; pickBody: string; goneTitle: string; goneBody: string; back: string; details: string; }>—A view drawn as an inbox (`type="inbox"`).
kanbanDeepPartial<{ noItems: string; card: string; cardInLabel: string; pickUp: string; move: string; moveTo: string; moved: string; moveFailed: string; pickedUp: string; pickedUpTouch: string; over: string; droppedBack: string; cancelled: string; countOfLimit: string; overLimit: string; instructions: string; }>—
linkDeepPartial<{ placeholder: string; search: string; none: string; noResults: string; loadMore: string; loadFailed: string; createNew: string; selected: string; }>—A link's picker in a form (RelationField).
pageDeepPartial<{ errorTitle: string; errorBody: string; retry: string; create: string; countOne: string; countOther: string; countFiltered: string; notAllowed: string; stillSaving: string; loadMore: string; ... 15 more ...; deleteFailed: string; }>—
sheetDeepPartial<{ label: string; readOnly: string; skipped: string; failed: string; saveFailed: string; moved: string; notNumber: string; notJson: string; notBoolean: string; undo: string; undone: string; nothingToUndo: string; previous: string; next: string; page: string; }>—A view as a spreadsheet (`type="sheet"`).
shellDeepPartial<{ navigation: string; openNavigation: string; closeNavigation: string; expandSidebar: string; collapseSidebar: string; primaryNavigation: string; headerNavigation: string; pageSections: string; breadcrumb: string; more: string; moreDescription: string; moreCurrent: string; }>—
sortableDeepPartial<{ item: string; reorder: string; move: string; moveUp: string; moveDown: string; moveToTop: string; moveToBottom: string; moved: string; moveFailed: string; pickedUp: string; dropped: string; cancelled: string; instructions: string; }>—
tableDeepPartial<{ noRecords: string; selectRow: string; expandRow: string; collapseRow: string; selectAll: string; columns: string; resetColumns: string; ascending: string; descending: string; sortedBy: string; ... 9 more ...; notAllowed: string; }>—
timeDeepPartial<{ locale: string; justNow: string; minutesAgo: string; inMinutes: string; now: string; minutesShort: string; yesterday: string; }>—Relative times (`relativeTime`): `{n}` is a count. Hours, days and dates are Intl's words in `locale`; a translation sets its own.
viewDeepPartial<{ mode: string; type: string; grid: string; table: string; list: string; settings: string; settingsTitle: string; pageSize: string; pageSizeOption: string; density: string; compact: string; comfortable: string; spacious: string; }>—
widgetDeepPartial<{ empty: string; emptyList: string; error: string; retry: string; progressOf: string; day: string; days: string; week: string; weeks: string; streakOpen: string; streakToday: string; seeAll: string; partial: string; }>—Widgets (`<Widget>`): tiles fed by a view.
workspaceDeepPartial<{ save: string; saved: string; notChanged: string; run: string; noRunner: string; checks: string; checkDone: string; checkTodo: string; notANumber: string; }>—

fillMessage

Fills `{name}` placeholders; an unknown placeholder is left as written.

No declared props.

UiMessagesProvider

Rewords or translates Genesis UI's components below it. Nested providers build on the one above, so a section can change a few words.

PropTypeDefaultDescription
messages*DeepPartial<{ common: { empty: string; hiddenLink: string; untitled: string; yes: string; no: string; cancel: string; save: string; close: string; edit: string; delete: string; clear: string; open: string; openItem: string; loading: string; saving: string; }; ... 21 more ...; shell: { ...; }; }>—

useUiMessages

The catalogue in effect: English unless a `UiMessagesProvider` says otherwise.

No declared props.

__object

Every word Genesis UI's data components show or announce, in English. `{name}` marks a value filled in at run time; keep it in a translation. Override any part through `UiMessagesProvider` (see `messages.tsx`).

No declared props.

time

Relative times (`relativeTime`): `{n}` is a count. Hours, days and dates are Intl's words in `locale`; a translation sets its own.

No declared props.

link

A link's picker in a form (RelationField).

No declared props.

inbox

A view drawn as an inbox (`type="inbox"`).

No declared props.

sheet

A view as a spreadsheet (`type="sheet"`).

No declared props.

export

CSV export from a list (ADR 0017 §8).

No declared props.

widget

Widgets (`<Widget>`): tiles fed by a view.

No declared props.

UiMessages

The shape a translation fills.

No declared props.