intl-relative-time-format
Version:
A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
299 lines (298 loc) • 10.9 kB
JavaScript
if ("__addLocaleData" in Intl.RelativeTimeFormat) {
Intl.RelativeTimeFormat.__addLocaleData({
locale: "ka",
data: {
year: {
'0': 'ამ წელს',
'1': 'მომავალ წელს',
'-1': 'გასულ წელს',
future: {
one: '{0} წელიწადში',
other: '{0} წელიწადში'
},
past: {
one: '{0} წლის წინ',
other: '{0} წლის წინ'
}
},
'year-short': {
'0': 'ამ წელს',
'1': 'მომავალ წელს',
'-1': 'გასულ წელს',
future: {
one: '{0} წელში',
other: '{0} წელში'
},
past: {
one: '{0} წლის წინ',
other: '{0} წლის წინ'
}
},
'year-narrow': {
'0': 'ამ წელს',
'1': 'მომავალ წელს',
'-1': 'გასულ წელს',
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': {
'0': 'ამ თვეში',
'1': 'მომავალ თვეს',
'-1': 'გასულ თვეს',
future: {
one: '{0} თვეში',
other: '{0} თვეში'
},
past: {
one: '{0} თვის წინ',
other: '{0} თვის წინ'
}
},
'month-narrow': {
'0': 'ამ თვეში',
'1': 'მომავალ თვეს',
'-1': 'გასულ თვეს',
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': {
'0': 'ამ კვირაში',
'1': 'მომავალ კვირაში',
'-1': 'გასულ კვირაში',
future: {
one: '{0} კვირაში',
other: '{0} კვირაში'
},
past: {
one: '{0} კვ. წინ',
other: '{0} კვ. წინ'
}
},
'week-narrow': {
'0': 'ამ კვირაში',
'1': 'მომავალ კვირაში',
'-1': 'გასულ კვირაში',
future: {
one: '{0} კვირაში',
other: '{0} კვირაში'
},
past: {
one: '{0} კვირის წინ',
other: '{0} კვირის წინ'
}
},
day: {
'0': 'დღეს',
'1': 'ხვალ',
'2': 'ზეგ',
'-2': 'გუშინწინ',
'-1': 'გუშინ',
future: {
one: '{0} დღეში',
other: '{0} დღეში'
},
past: {
one: '{0} დღის წინ',
other: '{0} დღის წინ'
}
},
'day-short': {
'0': 'დღეს',
'1': 'ხვალ',
'2': 'ზეგ',
'-2': 'გუშინწინ',
'-1': 'გუშინ',
future: {
one: '{0} დღეში',
other: '{0} დღეში'
},
past: {
one: '{0} დღის წინ',
other: '{0} დღის წინ'
}
},
'day-narrow': {
'0': 'დღეს',
'1': 'ხვალ',
'2': 'ზეგ',
'-2': 'გუშინწინ',
'-1': 'გუშინ',
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'
]
}
});
}