UNPKG

@hebcal/leyning

Version:

Torah Reading API for Parashat HaShavua and holidays

18 lines (16 loc) 547 B
/*! @hebcal/leyning v9.2.5 */ import { Locale } from '@hebcal/core/dist/esm/locale'; export { Locale } from '@hebcal/core/dist/esm/locale'; import poHe from './he.po.js'; Locale.addTranslations('he', poHe); Locale.addTranslations('h', poHe); const heStrs = poHe.contexts['']; const heNoNikud = {}; for (const [key, val] of Object.entries(heStrs)) { heNoNikud[key] = [Locale.hebrewStripNikkud(val[0])]; } const poHeNoNikud = { headers: poHe.headers, contexts: { '': heNoNikud }, }; Locale.addTranslations('he-x-NoNikud', poHeNoNikud);