17 lines
715 B
TypeScript
17 lines
715 B
TypeScript
// Plural forms of the counters that more than one screen prints. `Intl` picks the category, the
|
|
// words stay in the catalogue, and this file exists only so that two screens counting the same
|
|
// thing cannot count it in two different sets of words.
|
|
//
|
|
// A counter used by ONE screen stays with that screen (the notes of the tree, the terms of the
|
|
// bank): a shared module for a single caller is a layer, not a rule.
|
|
|
|
import type { MessageKey } from '../i18n/text';
|
|
|
|
export const chapters: Record<Intl.LDMLPluralRule, MessageKey> = {
|
|
zero: 'about.chaptersZero',
|
|
one: 'about.chaptersOne',
|
|
two: 'about.chaptersTwo',
|
|
few: 'about.chaptersFew',
|
|
many: 'about.chaptersMany',
|
|
other: 'about.chaptersOther',
|
|
};
|