intl-relative-time-format
Version:
A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
302 lines (301 loc) • 9.22 kB
JavaScript
if ("__addLocaleData" in Intl.RelativeTimeFormat) {
Intl.RelativeTimeFormat.__addLocaleData({
locale: "tr-CY",
data: {
year: {
'0': 'bu yıl',
'1': 'gelecek yıl',
'-1': 'geçen yıl',
future: {
one: '{0} yıl sonra',
other: '{0} yıl sonra'
},
past: {
one: '{0} yıl önce',
other: '{0} yıl önce'
}
},
'year-short': {
'0': 'bu yıl',
'1': 'gelecek yıl',
'-1': 'geçen yıl',
future: {
one: '{0} yıl sonra',
other: '{0} yıl sonra'
},
past: {
one: '{0} yıl önce',
other: '{0} yıl önce'
}
},
'year-narrow': {
'0': 'bu yıl',
'1': 'gelecek yıl',
'-1': 'geçen yıl',
future: {
one: '{0} yıl sonra',
other: '{0} yıl sonra'
},
past: {
one: '{0} yıl önce',
other: '{0} yıl önce'
}
},
quarter: {
'0': 'bu çeyrek',
'1': 'gelecek çeyrek',
'-1': 'geçen çeyrek',
future: {
one: '{0} çeyrek sonra',
other: '{0} çeyrek sonra'
},
past: {
one: '{0} çeyrek önce',
other: '{0} çeyrek önce'
}
},
'quarter-short': {
'0': 'bu çyr.',
'1': 'gelecek çyr.',
'-1': 'geçen çyr.',
future: {
one: '{0} çyr. sonra',
other: '{0} çyr. sonra'
},
past: {
one: '{0} çyr. önce',
other: '{0} çyr. önce'
}
},
'quarter-narrow': {
'0': 'bu çyr.',
'1': 'gelecek çyr.',
'-1': 'geçen çyr.',
future: {
one: '{0} çyr. sonra',
other: '{0} çyr. sonra'
},
past: {
one: '{0} çyr. önce',
other: '{0} çyr. önce'
}
},
month: {
'0': 'bu ay',
'1': 'gelecek ay',
'-1': 'geçen ay',
future: {
one: '{0} ay sonra',
other: '{0} ay sonra'
},
past: {
one: '{0} ay önce',
other: '{0} ay önce'
}
},
'month-short': {
'0': 'bu ay',
'1': 'gelecek ay',
'-1': 'geçen ay',
future: {
one: '{0} ay sonra',
other: '{0} ay sonra'
},
past: {
one: '{0} ay önce',
other: '{0} ay önce'
}
},
'month-narrow': {
'0': 'bu ay',
'1': 'gelecek ay',
'-1': 'geçen ay',
future: {
one: '{0} ay sonra',
other: '{0} ay sonra'
},
past: {
one: '{0} ay önce',
other: '{0} ay önce'
}
},
week: {
'0': 'bu hafta',
'1': 'gelecek hafta',
'-1': 'geçen hafta',
future: {
one: '{0} hafta sonra',
other: '{0} hafta sonra'
},
past: {
one: '{0} hafta önce',
other: '{0} hafta önce'
}
},
'week-short': {
'0': 'bu hf.',
'1': 'gelecek hf.',
'-1': 'geçen hf.',
future: {
one: '{0} hf. sonra',
other: '{0} hf. sonra'
},
past: {
one: '{0} hf. önce',
other: '{0} hf. önce'
}
},
'week-narrow': {
future: {
one: '{0} hf. sonra',
other: '{0} hf. sonra'
},
past: {
one: '{0} hf. önce',
other: '{0} hf. önce'
}
},
day: {
'0': 'bugün',
'1': 'yarın',
'2': 'öbür gün',
'-2': 'evvelsi gün',
'-1': 'dün',
future: {
one: '{0} gün sonra',
other: '{0} gün sonra'
},
past: {
one: '{0} gün önce',
other: '{0} gün önce'
}
},
'day-short': {
'0': 'bugün',
'1': 'yarın',
'2': 'öbür gün',
'-2': 'evvelsi gün',
'-1': 'dün',
future: {
one: '{0} gün sonra',
other: '{0} gün sonra'
},
past: {
one: '{0} gün önce',
other: '{0} gün önce'
}
},
'day-narrow': {
'0': 'bugün',
'1': 'yarın',
'2': 'öbür gün',
'-2': 'evvelsi gün',
'-1': 'dün',
future: {
one: '{0} gün sonra',
other: '{0} gün sonra'
},
past: {
one: '{0} gün önce',
other: '{0} gün önce'
}
},
hour: {
'0': 'bu saat',
future: {
one: '{0} saat sonra',
other: '{0} saat sonra'
},
past: {
one: '{0} saat önce',
other: '{0} saat önce'
}
},
'hour-short': {
future: {
one: '{0} sa. sonra',
other: '{0} sa. sonra'
},
past: {
one: '{0} sa. önce',
other: '{0} sa. önce'
}
},
'hour-narrow': {
future: {
one: '{0} sa. sonra',
other: '{0} sa. sonra'
},
past: {
one: '{0} sa. önce',
other: '{0} sa. önce'
}
},
minute: {
'0': 'bu dakika',
future: {
one: '{0} dakika sonra',
other: '{0} dakika sonra'
},
past: {
one: '{0} dakika önce',
other: '{0} dakika önce'
}
},
'minute-short': {
future: {
one: '{0} dk. sonra',
other: '{0} dk. sonra'
},
past: {
one: '{0} dk. önce',
other: '{0} dk. önce'
}
},
'minute-narrow': {
future: {
one: '{0} dk. sonra',
other: '{0} dk. sonra'
},
past: {
one: '{0} dk. önce',
other: '{0} dk. önce'
}
},
second: {
'0': 'şimdi',
future: {
one: '{0} saniye sonra',
other: '{0} saniye sonra'
},
past: {
one: '{0} saniye önce',
other: '{0} saniye önce'
}
},
'second-short': {
future: {
one: '{0} sn. sonra',
other: '{0} sn. sonra'
},
past: {
one: '{0} sn. önce',
other: '{0} sn. önce'
}
},
'second-narrow': {
future: {
one: '{0} sn. sonra',
other: '{0} sn. sonra'
},
past: {
one: '{0} sn. önce',
other: '{0} sn. önce'
}
},
nu: [
'latn'
]
}
});
}