intl-relative-time-format
Version:
A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
275 lines (274 loc) • 8.62 kB
JavaScript
if ("__addLocaleData" in Intl.RelativeTimeFormat) {
Intl.RelativeTimeFormat.__addLocaleData({
locale: "az",
data: {
year: {
'0': 'bu il',
'1': 'gələn il',
'-1': 'keçən il',
future: {
one: '{0} il ərzində',
other: '{0} il ərzində'
},
past: {
one: '{0} il öncə',
other: '{0} il öncə'
}
},
'year-short': {
future: {
one: '{0} il ərzində',
other: '{0} il ərzində'
},
past: {
one: '{0} il öncə',
other: '{0} il öncə'
}
},
'year-narrow': {
future: {
one: '{0} il ərzində',
other: '{0} il ərzində'
},
past: {
one: '{0} il öncə',
other: '{0} il öncə'
}
},
quarter: {
'0': 'bu rüb',
'1': 'gələn rüb',
'-1': 'keçən rüb',
future: {
one: '{0} rüb ərzində',
other: '{0} rüb ərzində'
},
past: {
one: '{0} rüb öncə',
other: '{0} rüb öncə'
}
},
'quarter-short': {
'0': 'bu rüb',
'1': 'gələn rüb',
'-1': 'keçən rüb',
future: {
one: '{0} rüb ərzində',
other: '{0} rüb ərzində'
},
past: {
one: '{0} rüb öncə',
other: '{0} rüb öncə'
}
},
'quarter-narrow': {
'0': 'bu rüb',
'1': 'gələn rüb',
'-1': 'keçən rüb',
future: {
one: '{0} rüb ərzində',
other: '{0} rüb ərzində'
},
past: {
one: '{0} rüb öncə',
other: '{0} rüb öncə'
}
},
month: {
'0': 'bu ay',
'1': 'gələn ay',
'-1': 'keçən ay',
future: {
one: '{0} ay ərzində',
other: '{0} ay ərzində'
},
past: {
one: '{0} ay öncə',
other: '{0} ay öncə'
}
},
'month-short': {
future: {
one: '{0} ay ərzində',
other: '{0} ay ərzində'
},
past: {
one: '{0} ay öncə',
other: '{0} ay öncə'
}
},
'month-narrow': {
future: {
one: '{0} ay ərzində',
other: '{0} ay ərzində'
},
past: {
one: '{0} ay öncə',
other: '{0} ay öncə'
}
},
week: {
'0': 'bu həftə',
'1': 'gələn həftə',
'-1': 'keçən həftə',
future: {
one: '{0} həftə ərzində',
other: '{0} həftə ərzində'
},
past: {
one: '{0} həftə öncə',
other: '{0} həftə öncə'
}
},
'week-short': {
future: {
one: '{0} həftə ərzində',
other: '{0} həftə ərzində'
},
past: {
one: '{0} həftə öncə',
other: '{0} həftə öncə'
}
},
'week-narrow': {
future: {
one: '{0} həftə ərzində',
other: '{0} həftə ərzində'
},
past: {
one: '{0} həftə öncə',
other: '{0} həftə öncə'
}
},
day: {
'0': 'bu gün',
'1': 'sabah',
'-1': 'dünən',
future: {
one: '{0} gün ərzində',
other: '{0} gün ərzində'
},
past: {
one: '{0} gün öncə',
other: '{0} gün öncə'
}
},
'day-short': {
future: {
one: '{0} gün ərzində',
other: '{0} gün ərzində'
},
past: {
one: '{0} gün öncə',
other: '{0} gün öncə'
}
},
'day-narrow': {
future: {
one: '{0} gün ərzində',
other: '{0} gün ərzində'
},
past: {
one: '{0} gün öncə',
other: '{0} gün öncə'
}
},
hour: {
'0': 'bu saat',
future: {
one: '{0} saat ərzində',
other: '{0} saat ərzində'
},
past: {
one: '{0} saat öncə',
other: '{0} saat öncə'
}
},
'hour-short': {
future: {
one: '{0} saat ərzində',
other: '{0} saat ərzində'
},
past: {
one: '{0} saat öncə',
other: '{0} saat öncə'
}
},
'hour-narrow': {
future: {
one: '{0} saat ərzində',
other: '{0} saat ərzində'
},
past: {
one: '{0} saat öncə',
other: '{0} saat öncə'
}
},
minute: {
'0': 'bu dəqiqə',
future: {
one: '{0} dəqiqə ərzində',
other: '{0} dəqiqə ərzində'
},
past: {
one: '{0} dəqiqə öncə',
other: '{0} dəqiqə öncə'
}
},
'minute-short': {
future: {
one: '{0} dəqiqə ərzində',
other: '{0} dəqiqə ərzində'
},
past: {
one: '{0} dəqiqə öncə',
other: '{0} dəqiqə öncə'
}
},
'minute-narrow': {
future: {
one: '{0} dəqiqə ərzində',
other: '{0} dəqiqə ərzində'
},
past: {
one: '{0} dəqiqə öncə',
other: '{0} dəqiqə öncə'
}
},
second: {
'0': 'indi',
future: {
one: '{0} saniyə ərzində',
other: '{0} saniyə ərzində'
},
past: {
one: '{0} saniyə öncə',
other: '{0} saniyə öncə'
}
},
'second-short': {
future: {
one: '{0} saniyə ərzində',
other: '{0} saniyə ərzində'
},
past: {
one: '{0} saniyə öncə',
other: '{0} saniyə öncə'
}
},
'second-narrow': {
future: {
one: '{0} saniyə ərzində',
other: '{0} saniyə ərzində'
},
past: {
one: '{0} saniyə öncə',
other: '{0} saniyə öncə'
}
},
nu: [
'latn'
]
}
});
}