MessageCatalogueProblemKind
What checkMessageCatalogue found wrong with one key:
This is a type alias exported by @mapcairn/core, checked against version 0.2.0.
Signature
import type { MessageCatalogueProblemKind } from "@mapcairn/core";
type MessageCatalogueProblemKind = "missing" | "unknown" | "emptyForm" | "placeholders" | "pluralForms" | "copiedEnglish" | "unusedAllowance" | "conflictingOptions";
Description
missing: English has the key and the catalogue does not.unknown: the catalogue has a key English does not.emptyForm: the value, or one of its plural forms, is blank.placeholders: the value, or one of its plural forms, does not have exactly the{name}placeholders the English value has across all its forms. A plural category does not cover the same numbers in every language (Russian "one" also covers 21), so no form may leave one out.pluralForms: the forms of a plural key's value are not the categoriesIntl.PluralRulesgives for the language, or its braces or bars cannot be read.copiedEnglish: the value, or one of its forms, is the English form of the same category, or English's "other" form (without case or surrounding space), and the key is not allowed to match English.unusedAllowance: an entry insameAsEnglishwith a blank reason, or for a key whose value is missing or does not match English, or that English does not have; an entry inpluralKeysfor a key English does not have, or whose English value has forms; or an entry innotPluralfor a key English does not have, or for which neither value has forms.conflictingOptions: a key in bothpluralKeysandnotPlural. It is then read as if it were in neither.
Source: packages/core/src/messages/checkMessageCatalogue.ts:29