intl-relative-time-format
Version:
A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
233 lines (232 loc) • 7.4 kB
JavaScript
if ("__addLocaleData" in Intl.RelativeTimeFormat) {
Intl.RelativeTimeFormat.__addLocaleData({
locale: "lo",
data: {
year: {
'0': 'ປີນີ້',
'1': 'ປີໜ້າ',
'-1': 'ປີກາຍ',
future: {
other: 'ໃນອີກ {0} ປີ'
},
past: {
other: '{0} ປີກ່ອນ'
}
},
'year-short': {
future: {
other: 'ໃນອີກ {0} ປີ'
},
past: {
other: '{0} ປີກ່ອນ'
}
},
'year-narrow': {
future: {
other: 'ໃນອີກ {0} ປີ'
},
past: {
other: '{0} ປີກ່ອນ'
}
},
quarter: {
'0': 'ໄຕຣມາດນີ້',
'1': 'ໄຕຣມາດໜ້າ',
'-1': 'ໄຕຣມາດກ່ອນໜ້າ',
future: {
other: 'ໃນອີກ {0} ໄຕຣມາດ'
},
past: {
other: '{0} ໄຕຣມາດກ່ອນ'
}
},
'quarter-short': {
future: {
other: 'ໃນ {0} ຕມ.'
},
past: {
other: '{0} ຕມ. ກ່ອນ'
}
},
'quarter-narrow': {
future: {
other: 'ໃນ {0} ຕມ.'
},
past: {
other: '{0} ຕມ. ກ່ອນ'
}
},
month: {
'0': 'ເດືອນນີ້',
'1': 'ເດືອນໜ້າ',
'-1': 'ເດືອນແລ້ວ',
future: {
other: 'ໃນອີກ {0} ເດືອນ'
},
past: {
other: '{0} ເດືອນກ່ອນ'
}
},
'month-short': {
future: {
other: 'ໃນອີກ {0} ດ.'
},
past: {
other: '{0} ດ. ກ່ອນ'
}
},
'month-narrow': {
future: {
other: 'ໃນອີກ {0} ດ.'
},
past: {
other: '{0} ດ. ກ່ອນ'
}
},
week: {
'0': 'ອາທິດນີ້',
'1': 'ອາທິດໜ້າ',
'-1': 'ອາທິດແລ້ວ',
future: {
other: 'ໃນອີກ {0} ອາທິດ'
},
past: {
other: '{0} ອາທິດກ່ອນ'
}
},
'week-short': {
future: {
other: 'ໃນອີກ {0} ອທ.'
},
past: {
other: '{0} ອທ. ກ່ອນ'
}
},
'week-narrow': {
future: {
other: 'ໃນອີກ {0} ອທ.'
},
past: {
other: '{0} ອທ. ກ່ອນ'
}
},
day: {
'0': 'ມື້ນີ້',
'1': 'ມື້ອື່ນ',
'2': 'ມື້ຮື',
'-2': 'ມື້ກ່ອນ',
'-1': 'ມື້ວານ',
future: {
other: 'ໃນອີກ {0} ມື້'
},
past: {
other: '{0} ມື້ກ່ອນ'
}
},
'day-short': {
'0': 'ມື້ນີ້',
'1': 'ມື້ອື່ນ',
'2': 'ມື້ຮື',
'-2': 'ມື້ກ່ອນ',
'-1': 'ມື້ວານ',
future: {
other: 'ໃນອີກ {0} ມື້'
},
past: {
other: '{0} ມື້ກ່ອນ'
}
},
'day-narrow': {
'0': 'ມື້ນີ້',
'1': 'ມື້ອື່ນ',
'2': 'ມື້ຮື',
'-2': 'ມື້ກ່ອນ',
'-1': 'ມື້ວານ',
future: {
other: 'ໃນອີກ {0} ມື້'
},
past: {
other: '{0} ມື້ກ່ອນ'
}
},
hour: {
'0': 'ຊົ່ວໂມງນີ້',
future: {
other: 'ໃນອີກ {0} ຊົ່ວໂມງ'
},
past: {
other: '{0} ຊົ່ວໂມງກ່ອນ'
}
},
'hour-short': {
future: {
other: 'ໃນອີກ {0} ຊມ.'
},
past: {
other: '{0} ຊມ. ກ່ອນ'
}
},
'hour-narrow': {
future: {
other: 'ໃນອີກ {0} ຊມ.'
},
past: {
other: '{0} ຊມ. ກ່ອນ'
}
},
minute: {
'0': 'ນາທີນີ້',
future: {
other: '{0} ໃນອີກ 0 ນາທີ'
},
past: {
other: '{0} ນາທີກ່ອນ'
}
},
'minute-short': {
future: {
other: 'ໃນ {0} ນທ.'
},
past: {
other: '{0} ນທ. ກ່ອນ'
}
},
'minute-narrow': {
future: {
other: 'ໃນ {0} ນທ.'
},
past: {
other: '{0} ນທ. ກ່ອນ'
}
},
second: {
'0': 'ຕອນນີ້',
future: {
other: 'ໃນອີກ {0} ວິນາທີ'
},
past: {
other: '{0} ວິນາທີກ່ອນ'
}
},
'second-short': {
future: {
other: 'ໃນ {0} ວິ.'
},
past: {
other: '{0} ວິ. ກ່ອນ'
}
},
'second-narrow': {
future: {
other: 'ໃນ {0} ວິ.'
},
past: {
other: '{0} ວິ. ກ່ອນ'
}
},
nu: [
'latn'
]
}
});
}