intl-relative-time-format
Version:
A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
221 lines (220 loc) • 5.7 kB
JavaScript
if ("__addLocaleData" in Intl.RelativeTimeFormat) {
Intl.RelativeTimeFormat.__addLocaleData({
locale: "qu",
data: {
year: {
'0': 'kunan wata',
'1': 'hamuq wata',
'-1': 'qayna wata',
future: {
other: '+{0} y'
},
past: {
other: '-{0} y'
}
},
'year-short': {
future: {
other: '+{0} y'
},
past: {
other: '-{0} y'
}
},
'year-narrow': {
future: {
other: '+{0} y'
},
past: {
other: '-{0} y'
}
},
quarter: {
'0': 'kunan kimsa killa',
'1': 'hamuq kimsa killa',
'-1': 'qayna kimsa killa',
future: {
other: '+{0} Q'
},
past: {
other: '-{0} Q'
}
},
'quarter-short': {
future: {
other: '+{0} Q'
},
past: {
other: '-{0} Q'
}
},
'quarter-narrow': {
future: {
other: '+{0} Q'
},
past: {
other: '-{0} Q'
}
},
month: {
'0': 'kunan killa',
'1': 'hamuq killa',
'-1': 'qayna killa',
future: {
other: '+{0} m'
},
past: {
other: '-{0} m'
}
},
'month-short': {
future: {
other: '+{0} m'
},
past: {
other: '-{0} m'
}
},
'month-narrow': {
future: {
other: '+{0} m'
},
past: {
other: '-{0} m'
}
},
week: {
'0': 'kunan semana',
'1': 'hamuq semana',
'-1': 'qayna semana',
future: {
other: '+{0} w'
},
past: {
other: '-{0} w'
}
},
'week-short': {
future: {
other: '+{0} w'
},
past: {
other: '-{0} w'
}
},
'week-narrow': {
future: {
other: '+{0} w'
},
past: {
other: '-{0} w'
}
},
day: {
'0': 'kunan punchaw',
'1': 'paqarin',
'-1': 'qayna punchaw',
future: {
other: '+{0} d'
},
past: {
other: '-{0} d'
}
},
'day-short': {
future: {
other: '+{0} d'
},
past: {
other: '-{0} d'
}
},
'day-narrow': {
future: {
other: '+{0} d'
},
past: {
other: '-{0} d'
}
},
hour: {
'0': 'kay hora',
future: {
other: '+{0} h'
},
past: {
other: '-{0} h'
}
},
'hour-short': {
future: {
other: '+{0} h'
},
past: {
other: '-{0} h'
}
},
'hour-narrow': {
future: {
other: '+{0} h'
},
past: {
other: '-{0} h'
}
},
minute: {
'0': 'kay minuto',
future: {
other: '+{0} min'
},
past: {
other: '-{0} min'
}
},
'minute-short': {
future: {
other: '+{0} min'
},
past: {
other: '-{0} min'
}
},
'minute-narrow': {
future: {
other: '+{0} min'
},
past: {
other: '-{0} min'
}
},
second: {
'0': 'now',
future: {
other: '+{0} s'
},
past: {
other: '-{0} s'
}
},
'second-short': {
future: {
other: '+{0} s'
},
past: {
other: '-{0} s'
}
},
'second-narrow': {
future: {
other: '+{0} s'
},
past: {
other: '-{0} s'
}
},
nu: [
'latn'
]
}
});
}