intl-relative-time-format
Version:
A fully spec-compliant polyfill for 'Intl.RelativeTimeFormat'
455 lines (454 loc) • 16.3 kB
JavaScript
if ("__addLocaleData" in Intl.RelativeTimeFormat) {
Intl.RelativeTimeFormat.__addLocaleData({
locale: "ga",
data: {
year: {
'0': 'an bhliain seo',
'1': 'an bhliain seo chugainn',
'-1': 'anuraidh',
future: {
one: 'i gceann {0} bhliain',
two: 'i gceann {0} bhliain',
few: 'i gceann {0} bliana',
many: 'i gceann {0} mbliana',
other: 'i gceann {0} bliain'
},
past: {
one: '{0} bhliain ó shin',
two: '{0} bhliain ó shin',
few: '{0} bliana ó shin',
many: '{0} mbliana ó shin',
other: '{0} bliain ó shin'
}
},
'year-short': {
'0': 'an bhl. seo',
'1': 'an bhl. seo chugainn',
'-1': 'anuraidh',
future: {
one: 'i gceann {0} bl.',
two: 'i gceann {0} bhl.',
few: 'i gceann {0} bl.',
many: 'i gceann {0} mbl.',
other: 'i gceann {0} bl.'
},
past: {
one: '{0} bhl. ó shin',
two: '{0} bhl. ó shin',
few: '{0} bl. ó shin',
many: '{0} mbl. ó shin',
other: '{0} bl. ó shin'
}
},
'year-narrow': {
'0': 'an bhl. seo',
'1': 'an bhl. seo chugainn',
'-1': 'anuraidh',
future: {
one: '+{0} bhl.',
two: '+{0} bhl.',
few: '+{0} bl.',
many: '+{0} mbl.',
other: '+{0} bl.'
},
past: {
one: '-{0} bhl.',
two: '-{0} bhl.',
few: '-{0} bl.',
many: '-{0} mbl.',
other: '-{0} bl.'
}
},
quarter: {
'0': 'an ráithe seo',
'1': 'an ráithe seo chugainn',
'-1': 'an ráithe seo caite',
future: {
one: 'i gceann {0} ráithe',
two: 'i gceann {0} ráithe',
few: 'i gceann {0} ráithe',
many: 'i gceann {0} ráithe',
other: 'i gceann {0} ráithe'
},
past: {
one: '{0} ráithe ó shin',
two: '{0} ráithe ó shin',
few: '{0} ráithe ó shin',
many: '{0} ráithe ó shin',
other: '{0} ráithe ó shin'
}
},
'quarter-short': {
'0': 'an ráithe seo',
'1': 'an ráithe seo chugainn',
'-1': 'an ráithe seo caite',
future: {
one: 'i gceann {0} ráithe',
two: 'i gceann {0} ráithe',
few: 'i gceann {0} ráithe',
many: 'i gceann {0} ráithe',
other: 'i gceann {0} ráithe'
},
past: {
one: '{0} ráithe ó shin',
two: '{0} ráithe ó shin',
few: '{0} ráithe ó shin',
many: '{0} ráithe ó shin',
other: '{0} ráithe ó shin'
}
},
'quarter-narrow': {
'0': 'an ráithe seo',
'1': 'an ráithe seo chugainn',
'-1': 'an ráithe seo caite',
future: {
one: '+{0} R',
two: '+{0} R',
few: '+{0} R',
many: '+{0} R',
other: '+{0} R'
},
past: {
one: '-{0} R',
two: '-{0} R',
few: '-{0} R',
many: '-{0} R',
other: '-{0} R'
}
},
month: {
'0': 'an mhí seo',
'1': 'an mhí seo chugainn',
'-1': 'an mhí seo caite',
future: {
one: 'i gceann {0} mhí',
two: 'i gceann {0} mhí',
few: 'i gceann {0} mhí',
many: 'i gceann {0} mí',
other: 'i gceann {0} mí'
},
past: {
one: '{0} mhí ó shin',
two: '{0} mhí ó shin',
few: '{0} mhí ó shin',
many: '{0} mí ó shin',
other: '{0} mí ó shin'
}
},
'month-short': {
'0': 'an mhí seo',
'1': 'an mhí seo chugainn',
'-1': 'an mhí seo caite',
future: {
one: 'i gceann {0} mhí',
two: 'i gceann {0} mhí',
few: 'i gceann {0} mhí',
many: 'i gceann {0} mí',
other: 'i gceann {0} mí'
},
past: {
one: '{0} mhí ó shin',
two: '{0} mhí ó shin',
few: '{0} mhí ó shin',
many: '{0} mí ó shin',
other: '{0} mí ó shin'
}
},
'month-narrow': {
'0': 'an mhí seo',
'1': 'an mhí seo chugainn',
'-1': 'an mhí seo caite',
future: {
one: '+{0} mhí',
two: '+{0} mhí',
few: '+{0} mhí',
many: '+{0} mí',
other: '+{0} mí'
},
past: {
one: '-{0} mhí',
two: '-{0} mhí',
few: '-{0} mhí',
many: '-{0} mí',
other: '-{0} mí'
}
},
week: {
'0': 'an tseachtain seo',
'1': 'an tseachtain seo chugainn',
'-1': 'an tseachtain seo caite',
future: {
one: 'i gceann {0} seachtain',
two: 'i gceann {0} sheachtain',
few: 'i gceann {0} seachtaine',
many: 'i gceann {0} seachtaine',
other: 'i gceann {0} seachtain'
},
past: {
one: '{0} seachtain ó shin',
two: '{0} sheachtain ó shin',
few: '{0} seachtaine ó shin',
many: '{0} seachtaine ó shin',
other: '{0} seachtain ó shin'
}
},
'week-short': {
'0': 'an tscht. seo',
'1': 'an tscht. seo chugainn',
'-1': 'an tscht. seo caite',
future: {
one: 'i gceann {0} scht.',
two: 'i gceann {0} shcht.',
few: 'i gceann {0} scht.',
many: 'i gceann {0} scht.',
other: 'i gceann {0} scht.'
},
past: {
one: '{0} scht. ó shin',
two: '{0} scht. ó shin',
few: '{0} scht. ó shin',
many: '{0} scht. ó shin',
other: '{0} scht. ó shin'
}
},
'week-narrow': {
'0': 'an tscht. seo',
'1': 'an tscht. seo chugainn',
'-1': 'an tscht. seo caite',
future: {
one: '+{0} scht.',
two: '+{0} scht.',
few: '+{0} scht.',
many: '+{0} scht.',
other: '+{0} scht.'
},
past: {
one: '-{0} scht.',
two: '-{0} scht.',
few: '-{0} scht.',
many: '-{0} scht.',
other: '-{0} scht.'
}
},
day: {
'0': 'inniu',
'1': 'amárach',
'2': 'arú amárach',
'-2': 'arú inné',
'-1': 'inné',
future: {
one: 'i gceann {0} lá',
two: 'i gceann {0} lá',
few: 'i gceann {0} lá',
many: 'i gceann {0} lá',
other: 'i gceann {0} lá'
},
past: {
one: '{0} lá ó shin',
two: '{0} lá ó shin',
few: '{0} lá ó shin',
many: '{0} lá ó shin',
other: '{0} lá ó shin'
}
},
'day-short': {
'0': 'inniu',
'1': 'amárach',
'2': 'arú amárach',
'-2': 'arú inné',
'-1': 'inné',
future: {
one: 'i gceann {0} lá',
two: 'i gceann {0} lá',
few: 'i gceann {0} lá',
many: 'i gceann {0} lá',
other: 'i gceann {0} lá'
},
past: {
one: '{0} lá ó shin',
two: '{0} lá ó shin',
few: '{0} lá ó shin',
many: '{0} lá ó shin',
other: '{0} lá ó shin'
}
},
'day-narrow': {
'0': 'inniu',
'1': 'amárach',
'2': 'arú amárach',
'-2': 'arú inné',
'-1': 'inné',
future: {
one: '+{0} lá',
two: '+{0} lá',
few: '+{0} lá',
many: '+{0} lá',
other: '+{0} lá'
},
past: {
one: '-{0} lá',
two: '-{0} lá',
few: '-{0} lá',
many: '-{0} lá',
other: '-{0} lá'
}
},
hour: {
'0': 'an uair seo',
future: {
one: 'i gceann {0} uair an chloig',
two: 'i gceann {0} uair an chloig',
few: 'i gceann {0} huaire an chloig',
many: 'i gceann {0} n-uaire an chloig',
other: 'i gceann {0} uair an chloig'
},
past: {
one: '{0} uair an chloig ó shin',
two: '{0} uair an chloig ó shin',
few: '{0} huaire an chloig ó shin',
many: '{0} n-uaire an chloig ó shin',
other: '{0} uair an chloig ó shin'
}
},
'hour-short': {
'0': 'an uair seo',
future: {
one: 'i gceann {0} uair',
two: 'i gceann {0} uair',
few: 'i gceann {0} huaire',
many: 'i gceann {0} n-uaire',
other: 'i gceann {0} uair'
},
past: {
one: '{0} uair ó shin',
two: '{0} uair ó shin',
few: '{0} huaire ó shin',
many: '{0} n-uaire ó shin',
other: '{0} uair ó shin'
}
},
'hour-narrow': {
'0': 'an uair seo',
future: {
one: '+{0} u',
two: '+{0} u',
few: '+{0} u',
many: '+{0} u',
other: '+{0} u'
},
past: {
one: '-{0} u',
two: '-{0} u',
few: '-{0} u',
many: '-{0} u',
other: '-{0} u'
}
},
minute: {
'0': 'an nóiméad seo',
future: {
one: 'i gceann {0} nóiméad',
two: 'i gceann {0} nóiméad',
few: 'i gceann {0} nóiméad',
many: 'i gceann {0} nóiméad',
other: 'i gceann {0} nóiméad'
},
past: {
one: '{0} nóiméad ó shin',
two: '{0} nóiméad ó shin',
few: '{0} nóiméad ó shin',
many: '{0} nóiméad ó shin',
other: '{0} nóiméad ó shin'
}
},
'minute-short': {
'0': 'an nóiméad seo',
future: {
one: 'i gceann {0} nóim.',
two: 'i gceann {0} nóim.',
few: 'i gceann {0} nóim.',
many: 'i gceann {0} nóim.',
other: 'i gceann {0} nóim.'
},
past: {
one: '{0} nóim. ó shin',
two: '{0} nóim. ó shin',
few: '{0} nóim. ó shin',
many: '{0} nóim. ó shin',
other: '{0} nóim. ó shin'
}
},
'minute-narrow': {
'0': 'an nóiméad seo',
future: {
one: '+{0} n',
two: '+{0} n',
few: '+{0} n',
many: '+{0} n',
other: '+{0} n'
},
past: {
one: '-{0} n',
two: '-{0} n',
few: '-{0} n',
many: '-{0} n',
other: '-{0} n'
}
},
second: {
'0': 'anois',
future: {
one: 'i gceann {0} soicind',
two: 'i gceann {0} shoicind',
few: 'i gceann {0} shoicind',
many: 'i gceann {0} soicind',
other: 'i gceann {0} soicind'
},
past: {
one: '{0} soicind ó shin',
two: '{0} shoicind ó shin',
few: '{0} shoicind ó shin',
many: '{0} soicind ó shin',
other: '{0} soicind ó shin'
}
},
'second-short': {
'0': 'anois',
future: {
one: 'i gceann {0} soic.',
two: 'i gceann {0} shoic.',
few: 'i gceann {0} shoic.',
many: 'i gceann {0} soic.',
other: 'i gceann {0} soic.'
},
past: {
one: '{0} soic. ó shin',
two: '{0} shoic. ó shin',
few: '{0} shoic. ó shin',
many: '{0} soic. ó shin',
other: '{0} soic. ó shin'
}
},
'second-narrow': {
'0': 'anois',
future: {
one: '+{0} s',
two: '+{0} s',
few: '+{0} s',
many: '+{0} s',
other: '+{0} s'
},
past: {
one: '-{0} s',
two: '-{0} s',
few: '-{0} s',
many: '-{0} s',
other: '-{0} s'
}
},
nu: [
'latn'
]
}
});
}