UNPKG

intl-relative-time-format

Version:

A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'

269 lines (268 loc) 9.21 kB
if ("__addLocaleData" in Intl.RelativeTimeFormat) { Intl.RelativeTimeFormat.__addLocaleData({ locale: "chr", data: { year: { '0': 'ᎯᎠ ᏧᏕᏘᏴᏒᏘ', '1': 'ᎡᏘᏴᎢ', '-1': 'ᎡᏘ ᏥᎨᏒ', future: { one: 'ᎾᎿ {0} ᎤᏕᏘᏴᏌᏗᏒᎢ', other: 'ᎾᎿ {0} ᎢᏧᏕᏘᏴᏌᏗᏒᎢ' }, past: { one: '{0} ᎤᏕᏘᏴᏌᏗᏒᎢ ᏥᎨᏒ', other: '{0} ᎢᏧᏕᏘᏴᏌᏗᏒᎢ ᏥᎨᏒ' } }, 'year-short': { future: { one: 'ᎾᎿ {0} ᎤᏕ.', other: 'ᎾᎿ {0} ᎤᏕ.' }, past: { one: '{0} ᎤᏕ. ᏥᎨᏒ', other: '{0} ᎤᏕ. ᏥᎨᏒ' } }, 'year-narrow': { future: { one: 'ᎾᎿ {0} ᎤᏕ.', other: 'ᎾᎿ {0} ᎤᏕ.' }, past: { one: '{0} ᎤᏕ. ᏥᎨᏒ', other: '{0} ᎤᏕ. ᏥᎨᏒ' } }, quarter: { '0': 'ᎯᎠ ᎩᏄᏙᏗ', '1': 'ᏔᎵᏁ ᎩᏄᏙᏗ', '-1': 'ᎩᏄᏙᏗ ᏥᎨᏒ', future: { one: 'ᎾᎿ {0} ᎩᏄᏙᏗ', other: 'ᎾᎿ {0} ᎩᏄᏙᏗ' }, past: { one: 'ᎾᎿ {0} ᎩᏄᏙᏗ ᏥᎨᏒ', other: '{0} ᎩᏄᏙᏗ ᏥᎨᏒ' } }, 'quarter-short': { future: { one: 'ᎾᎿ {0} ᎩᏄᏘ.', other: 'ᎾᎿ {0} ᎩᏄᏘ.' }, past: { one: '{0} ᎩᏄᏘ. ᏥᎨᏒ', other: '{0} ᎩᏄᏘ. ᏥᎨᏒ' } }, 'quarter-narrow': { future: { one: 'ᎾᎿ {0} ᎩᏄᏘ.', other: 'ᎾᎿ {0} ᎩᏄᏘ.' }, past: { one: '{0} ᎩᏄᏘ. ᏥᎨᏒ', other: '{0} ᎩᏄᏘ. ᏥᎨᏒ' } }, month: { '0': 'ᎯᎠ ᎧᎸᎢ', '1': 'ᏔᎵᏁ ᎧᎸᎢ', '-1': 'ᎧᎸᎢ ᏥᎨᏒ', future: { one: 'ᎾᎿ {0} ᎧᎸᎢ', other: 'ᎾᎿ {0} ᏗᎧᎸᎢ' }, past: { one: '{0} ᎧᎸᎢ ᏥᎨᏒ', other: '{0} ᏗᎧᎸᎢ ᏥᎨᏒ' } }, 'month-short': { future: { one: 'ᎾᎿ {0} ᎧᎸ.', other: 'ᎾᎿ {0} ᎧᎸ.' }, past: { one: '{0} ᎧᎸ. ᏥᎨᏒ', other: '{0} ᎧᎸ. ᏥᎨᏒ' } }, 'month-narrow': { future: { one: 'ᎾᎿ {0} ᎧᎸ.', other: 'ᎾᎿ {0} ᎧᎸ.' }, past: { one: '{0} ᎧᎸ. ᏥᎨᏒ', other: '{0} ᎧᎸ. ᏥᎨᏒ' } }, week: { '0': 'ᎯᎠ ᎠᎵᎵᏌ', '1': 'ᏐᏆᎴᏅᎲ', '-1': 'ᏥᏛᎵᏱᎵᏒᎢ', future: { one: 'ᎾᎿ {0} ᏒᎾᏙᏓᏆᏍᏗ', other: 'ᎾᎿ {0} ᎢᏳᎾᏙᏓᏆᏍᏗ' }, past: { one: '{0} ᏒᎾᏙᏓᏆᏍᏗ ᏥᎨᏒ', other: '{0} ᎢᏳᎾᏙᏓᏆᏍᏗ ᏥᎨᏒ' } }, 'week-short': { future: { one: 'ᎾᎿ {0} ᏒᎾ.', other: 'ᎾᎿ {0} ᏒᎾ.' }, past: { one: '{0} ᏒᎾ. ᏥᎨᏒ', other: '{0} ᏒᎾ. ᏥᎨᏒ' } }, 'week-narrow': { future: { one: 'ᎾᎿ {0} ᏒᎾ.', other: 'ᎾᎿ {0} ᏒᎾ.' }, past: { one: '{0} ᏒᎾ. ᏥᎨᏒ', other: '{0} ᏒᎾ. ᏥᎨᏒ' } }, day: { '0': 'ᎪᎯ ᎢᎦ', '1': 'ᏌᎾᎴᎢ', '-1': 'ᏒᎯ', future: { one: 'ᎾᎿ {0} ᎢᎦ', other: 'ᎾᎿ {0} ᎯᎸᏍᎩ ᏧᏒᎯᏛ' }, past: { one: '{0} ᎢᎦ ᏥᎨᏒ', other: '{0} ᎯᎸᏍᎩ ᏧᏒᎯᏛ ᏥᎨᏒ' } }, 'day-short': { future: { one: 'ᎾᎿ {0} ᎢᎦ', other: 'ᎾᎿ {0} ᎯᎸᏍᎩ ᏧᏒᎯᏛ' }, past: { one: '{0} ᎢᎦ ᏥᎨᏒ', other: '{0} ᎯᎸᏍᎩ ᏧᏒᎯᏛ ᏥᎨᏒ' } }, 'day-narrow': { future: { one: 'ᎾᎿ {0} ᎢᎦ', other: 'ᎾᎿ {0} ᎯᎸᏍᎩ ᏧᏒᎯᏛ' }, past: { one: '{0} ᎢᎦ ᏥᎨᏒ', other: '{0} ᎯᎸᏍᎩ ᏧᏒᎯᏛ ᏥᎨᏒ' } }, hour: { '0': 'ᎯᎠ ᏑᏟᎶᏓ', future: { one: 'ᎾᎿ {0} ᏑᏟᎶᏓ', other: 'ᎾᎿ {0} ᎢᏳᏟᎶᏓ' }, past: { one: '{0} ᏑᏟᎶᏓ ᏥᎨᏒ', other: '{0} ᎢᏳᏟᎶᏓ ᏥᎨᏒ' } }, 'hour-short': { future: { one: 'ᎾᎿ {0} ᏑᏟ.', other: 'ᎾᎿ {0} ᏑᏟ.' }, past: { one: '{0} ᏑᏟ. ᏥᎨᏒ', other: '{0} ᏑᏟ. ᏥᎨᏒ' } }, 'hour-narrow': { future: { one: 'ᎾᎿ {0} ᏑᏟ.', other: 'ᎾᎿ {0} ᏑᏟ.' }, past: { one: '{0} ᏑᏟ. ᏥᎨᏒ', other: '{0} ᏑᏟ. ᏥᎨᏒ' } }, minute: { '0': 'ᎯᎠ ᎢᏯᏔᏬᏍᏔᏅ', future: { one: 'ᎾᎿ {0} ᎢᏯᏔᏬᏍᏔᏅ', other: 'ᎾᎿ {0} ᎢᏯᏔᏬᏍᏔᏅ' }, past: { one: '{0} ᎢᏯᏔᏬᏍᏔᏅ ᏥᎨᏒ', other: '{0} ᎢᏯᏔᏬᏍᏔᏅ ᏥᎨᏒ' } }, 'minute-short': { future: { one: 'ᎾᎿ {0} ᎢᏯᏔ.', other: 'ᎾᎿ {0} ᎢᏯᏔ.' }, past: { one: '{0} ᎢᏯᏔ. ᏥᎨᏒ', other: '{0} ᎢᏯᏔ. ᏥᎨᏒ' } }, 'minute-narrow': { future: { one: 'ᎾᎿ {0} ᎢᏯᏔ.', other: 'ᎾᎿ {0} ᎢᏯᏔ.' }, past: { one: '{0} ᎢᏯᏔ. ᏥᎨᏒ', other: '{0} ᎢᏯᏔ. ᏥᎨᏒ' } }, second: { '0': 'ᏃᏊ', future: { one: 'ᎾᎿ {0} ᎠᏎᏢ', other: 'ᎾᎿ {0} ᏓᏓᎾᏩᏍᎬ ᏥᎨᏒ' }, past: { one: '{0} ᎠᏎᏢ ᏥᎨᏒ', other: '{0} ᏓᏓᎾᏩᏍᎬ ᏥᎨᏒ' } }, 'second-short': { future: { one: 'ᎾᎿ {0} ᎠᏎ.', other: 'ᎾᎿ {0} ᎠᏎ.' }, past: { one: '{0} ᎠᏎ. ᏥᎨᏒ', other: '{0} ᎠᏎ. ᏥᎨᏒ' } }, 'second-narrow': { future: { one: 'ᎾᎿ {0} ᎠᏎ.', other: 'ᎾᎿ {0} ᎠᏎ.' }, past: { one: '{0} ᎠᏎ. ᏥᎨᏒ', other: '{0} ᎠᏎ. ᏥᎨᏒ' } }, nu: [ 'latn' ] } }); }