UNPKG

gedcom-ts

Version:

TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.

45 lines (44 loc) 3.55 kB
import type { BookletLocale } from './booklet-locale'; import type { PersonGenderWords } from './booklet-gender'; export type NarrativeI18nLocale = Exclude<BookletLocale, 'en' | 'fr'>; export interface NarrativeStrings { readonly listConjunction: string; readonly defaultAncestor: string; readonly parentsSingle: (name: string, g: PersonGenderWords) => readonly string[]; readonly parentsMultiple: (names: string, g: PersonGenderWords) => readonly string[]; readonly unionWithMarriage: (spouse: string, marriageEmbed: string) => readonly string[]; readonly unionWithoutMarriage: (spouse: string, g: PersonGenderWords) => readonly string[]; readonly unionOneChild: (child: string, g: PersonGenderWords) => readonly string[]; readonly unionManyChildren: (children: string, g: PersonGenderWords) => readonly string[]; readonly lifeBornAndDied: (name: string, g: PersonGenderWords, born: string, birthPlace: string, died: string, deathPlace: string, lifeRange: string, rangeLoc: string, seesDay: string, afterBirthLoc: string) => readonly string[]; readonly lifeBirthOnly: (name: string, g: PersonGenderWords, born: string, where: string, seesDay: string) => readonly string[]; readonly lifeDeathOnly: (name: string, g: PersonGenderWords, died: string, where: string) => readonly string[]; readonly lifeApproxDates: (name: string, g: PersonGenderWords, datesLabel: string) => readonly string[]; readonly eventMarriage: (when: string, where: string) => readonly string[]; readonly eventDivorce: (when: string, where: string) => string; readonly eventBaptism: (when: string, where: string, g: PersonGenderWords) => readonly string[]; readonly eventBurial: (when: string, where: string) => readonly string[]; readonly eventCremation: (when: string, where: string) => string; readonly eventOccupation: (date: string, atPlace: string) => string; readonly chapterGen1: (count: number, plural: string) => readonly string[]; readonly chapterGenN: (gen: number, count: number, plural: string, range: string) => readonly string[]; readonly chapterLetter: (title: string, count: number, plural: string, letter: string, range: string) => readonly string[]; readonly familyCouple: (short1: string, short2: string, full1: string, full2: string) => readonly string[]; readonly familyUnionWithMarriage: (marriageEmbed: string) => readonly string[]; readonly familyUnionWithoutMarriage: readonly string[]; readonly familyNoDescendants: string; readonly familyOneChild: (name: string) => readonly string[]; readonly familyNChildren: (count: number, names: string) => string; readonly familyDescendantsList: (names: string) => string; readonly familyLoneFigure: (shortName: string, fullName: string) => readonly string[]; readonly familyMarriageNoted: (marriageEmbed: string) => readonly string[]; readonly familyDescendantsNoted: (names: string) => readonly string[]; readonly familyDescendantsRecensed: (recensed: string, names: string) => string; readonly personBranchPresent: (name: string, g: PersonGenderWords) => readonly string[]; readonly personFewRecords: (name: string) => string; readonly personResearchHint: string; readonly personPortraitIncomplete: (name: string) => string; readonly personUnionSection: (clauses: string) => readonly string[]; readonly personResearchNote: (preview: string) => readonly string[]; } export declare const NARRATIVE_STRINGS: Record<NarrativeI18nLocale, NarrativeStrings>;