intl-relative-time-format
Version:
A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
277 lines (276 loc) • 8.61 kB
JavaScript
if ("__addLocaleData" in Intl.RelativeTimeFormat) {
Intl.RelativeTimeFormat.__addLocaleData({
locale: "eu-ES",
data: {
year: {
'0': 'aurten',
'1': 'hurrengo urtean',
'-1': 'iaz',
future: {
one: '{0} urte barru',
other: '{0} urte barru'
},
past: {
one: 'Duela {0} urte',
other: 'Duela {0} urte'
}
},
'year-short': {
'0': 'aurten',
'1': 'hurrengo urtea',
'-1': 'aurreko urtea',
future: {
one: '{0} urte barru',
other: '{0} urte barru'
},
past: {
one: 'Duela {0} urte',
other: 'Duela {0} urte'
}
},
'year-narrow': {
'0': 'aurten',
'1': 'hurrengo urtea',
'-1': 'aurreko urtea',
future: {
one: '{0} urte barru',
other: '{0} urte barru'
},
past: {
one: 'Duela {0} urte',
other: 'Duela {0} urte'
}
},
quarter: {
'0': 'hiruhileko hau',
'1': 'hurrengo hiruhilekoa',
'-1': 'aurreko hiruhilekoa',
future: {
one: '{0} hiruhileko barru',
other: '{0} hiruhileko barru'
},
past: {
one: 'Duela {0} hiruhileko',
other: 'Duela {0} hiruhileko'
}
},
'quarter-short': {
future: {
one: '{0} hiruhileko barru',
other: '{0} hiruhileko barru'
},
past: {
one: 'Duela {0} hiruhileko',
other: 'Duela {0} hiruhileko'
}
},
'quarter-narrow': {
future: {
one: '{0} hiruhileko barru',
other: '{0} hiruhileko barru'
},
past: {
one: 'Duela {0} hiruhileko',
other: 'Duela {0} hiruhileko'
}
},
month: {
'0': 'hilabete honetan',
'1': 'hurrengo hilabetean',
'-1': 'aurreko hilabetean',
future: {
one: '{0} hilabete barru',
other: '{0} hilabete barru'
},
past: {
one: 'Duela {0} hilabete',
other: 'Duela {0} hilabete'
}
},
'month-short': {
future: {
one: '{0} hilabete barru',
other: '{0} hilabete barru'
},
past: {
one: 'Duela {0} hilabete',
other: 'Duela {0} hilabete'
}
},
'month-narrow': {
future: {
one: '{0} hilabete barru',
other: '{0} hilabete barru'
},
past: {
one: 'Duela {0} hilabete',
other: 'Duela {0} hilabete'
}
},
week: {
'0': 'aste honetan',
'1': 'hurrengo astean',
'-1': 'aurreko astean',
future: {
one: '{0} aste barru',
other: '{0} aste barru'
},
past: {
one: 'Duela {0} aste',
other: 'Duela {0} aste'
}
},
'week-short': {
future: {
one: '{0} aste barru',
other: '{0} aste barru'
},
past: {
one: 'Duela {0} aste',
other: 'Duela {0} aste'
}
},
'week-narrow': {
future: {
one: '{0} aste barru',
other: '{0} aste barru'
},
past: {
one: 'Duela {0} aste',
other: 'Duela {0} aste'
}
},
day: {
'0': 'gaur',
'1': 'bihar',
'2': 'etzi',
'-2': 'herenegun',
'-1': 'atzo',
future: {
one: '{0} egun barru',
other: '{0} egun barru'
},
past: {
one: 'Duela {0} egun',
other: 'Duela {0} egun'
}
},
'day-short': {
future: {
one: '{0} egun barru',
other: '{0} egun barru'
},
past: {
one: 'Duela {0} egun',
other: 'Duela {0} egun'
}
},
'day-narrow': {
future: {
one: '{0} egun barru',
other: '{0} egun barru'
},
past: {
one: 'Duela {0} egun',
other: 'Duela {0} egun'
}
},
hour: {
'0': 'ordu honetan',
future: {
one: '{0} ordu barru',
other: '{0} ordu barru'
},
past: {
one: 'Duela {0} ordu',
other: 'Duela {0} ordu'
}
},
'hour-short': {
future: {
one: '{0} ordu barru',
other: '{0} ordu barru'
},
past: {
one: 'Duela {0} ordu',
other: 'Duela {0} ordu'
}
},
'hour-narrow': {
future: {
one: '{0} ordu barru',
other: '{0} ordu barru'
},
past: {
one: 'Duela {0} ordu',
other: 'Duela {0} ordu'
}
},
minute: {
'0': 'minutu honetan',
future: {
one: '{0} minutu barru',
other: '{0} minutu barru'
},
past: {
one: 'Duela {0} minutu',
other: 'Duela {0} minutu'
}
},
'minute-short': {
future: {
one: '{0} minutu barru',
other: '{0} minutu barru'
},
past: {
one: 'Duela {0} minutu',
other: 'Duela {0} minutu'
}
},
'minute-narrow': {
future: {
one: '{0} minutu barru',
other: '{0} minutu barru'
},
past: {
one: 'Duela {0} minutu',
other: 'Duela {0} minutu'
}
},
second: {
'0': 'orain',
future: {
one: '{0} segundo barru',
other: '{0} segundo barru'
},
past: {
one: 'Duela {0} segundo',
other: 'Duela {0} segundo'
}
},
'second-short': {
future: {
one: '{0} segundo barru',
other: '{0} segundo barru'
},
past: {
one: 'Duela {0} segundo',
other: 'Duela {0} segundo'
}
},
'second-narrow': {
future: {
one: '{0} segundo barru',
other: '{0} segundo barru'
},
past: {
one: 'Duela {0} segundo',
other: 'Duela {0} segundo'
}
},
nu: [
'latn'
]
}
});
}