MessageCatalogueCheckOptions
What checkMessageCatalogue allows beyond its rules.
This is an interface exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { MessageCatalogueCheckOptions } from "@mapcairn/core";
interface MessageCatalogueCheckOptions
Properties
notPlural
readonly notPlural?: readonly string[];
Keys read only with t whose English value or translation reads like
plural forms (it has a |, say) but is text. Their values are checked
as text.
pluralKeys
readonly pluralKeys?: readonly string[];
Keys read with plural whose English value has no forms, so that a
translation without forms is still checked as plural: a plain value
must then be the language's only category, and must be readable.
sameAsEnglish
readonly sameAsEnglish?: Readonly<Partial<Record<string, string>>>;
Keys whose value may match English (a symbol, a name kept as published), each with the reason. Only its own properties count.
Source: packages/core/src/messages/checkMessageCatalogue.ts:48