2019-06-10 15:38:54 +00:00
|
|
|
//! moment.js locale configuration
|
2020-07-23 21:12:30 +00:00
|
|
|
//! locale : Irish or Irish Gaelic [ga]
|
|
|
|
//! author : André Silva : https://github.com/askpt
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
|
|
factory(global.moment)
|
|
|
|
}(this, (function (moment) { 'use strict';
|
|
|
|
|
2020-07-23 21:12:30 +00:00
|
|
|
//! moment.js locale configuration
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
var months = [
|
2020-07-23 21:12:30 +00:00
|
|
|
'Eanáir',
|
|
|
|
'Feabhra',
|
|
|
|
'Márta',
|
|
|
|
'Aibreán',
|
|
|
|
'Bealtaine',
|
|
|
|
'Meitheamh',
|
|
|
|
'Iúil',
|
|
|
|
'Lúnasa',
|
|
|
|
'Meán Fómhair',
|
|
|
|
'Deireadh Fómhair',
|
|
|
|
'Samhain',
|
|
|
|
'Nollaig',
|
|
|
|
],
|
|
|
|
monthsShort = [
|
|
|
|
'Ean',
|
|
|
|
'Feabh',
|
|
|
|
'Márt',
|
|
|
|
'Aib',
|
|
|
|
'Beal',
|
|
|
|
'Meith',
|
|
|
|
'Iúil',
|
|
|
|
'Lún',
|
|
|
|
'M.F.',
|
|
|
|
'D.F.',
|
|
|
|
'Samh',
|
|
|
|
'Noll',
|
|
|
|
],
|
|
|
|
weekdays = [
|
|
|
|
'Dé Domhnaigh',
|
|
|
|
'Dé Luain',
|
|
|
|
'Dé Máirt',
|
|
|
|
'Dé Céadaoin',
|
|
|
|
'Déardaoin',
|
|
|
|
'Dé hAoine',
|
|
|
|
'Dé Sathairn',
|
|
|
|
],
|
|
|
|
weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
|
|
|
|
weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
|
2019-06-10 15:38:54 +00:00
|
|
|
|
|
|
|
var ga = moment.defineLocale('ga', {
|
|
|
|
months: months,
|
|
|
|
monthsShort: monthsShort,
|
|
|
|
monthsParseExact: true,
|
|
|
|
weekdays: weekdays,
|
|
|
|
weekdaysShort: weekdaysShort,
|
|
|
|
weekdaysMin: weekdaysMin,
|
|
|
|
longDateFormat: {
|
|
|
|
LT: 'HH:mm',
|
|
|
|
LTS: 'HH:mm:ss',
|
|
|
|
L: 'DD/MM/YYYY',
|
|
|
|
LL: 'D MMMM YYYY',
|
|
|
|
LLL: 'D MMMM YYYY HH:mm',
|
2020-07-23 21:12:30 +00:00
|
|
|
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
calendar: {
|
|
|
|
sameDay: '[Inniu ag] LT',
|
|
|
|
nextDay: '[Amárach ag] LT',
|
|
|
|
nextWeek: 'dddd [ag] LT',
|
2020-07-23 21:12:30 +00:00
|
|
|
lastDay: '[Inné ag] LT',
|
2019-06-10 15:38:54 +00:00
|
|
|
lastWeek: 'dddd [seo caite] [ag] LT',
|
2020-07-23 21:12:30 +00:00
|
|
|
sameElse: 'L',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
relativeTime: {
|
|
|
|
future: 'i %s',
|
|
|
|
past: '%s ó shin',
|
|
|
|
s: 'cúpla soicind',
|
|
|
|
ss: '%d soicind',
|
|
|
|
m: 'nóiméad',
|
|
|
|
mm: '%d nóiméad',
|
|
|
|
h: 'uair an chloig',
|
|
|
|
hh: '%d uair an chloig',
|
|
|
|
d: 'lá',
|
|
|
|
dd: '%d lá',
|
|
|
|
M: 'mí',
|
2020-07-23 21:12:30 +00:00
|
|
|
MM: '%d míonna',
|
2019-06-10 15:38:54 +00:00
|
|
|
y: 'bliain',
|
2020-07-23 21:12:30 +00:00
|
|
|
yy: '%d bliain',
|
2019-06-10 15:38:54 +00:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
|
|
|
ordinal: function (number) {
|
|
|
|
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
|
|
|
return number + output;
|
|
|
|
},
|
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
2020-07-23 21:12:30 +00:00
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
|
|
},
|
2019-06-10 15:38:54 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
return ga;
|
|
|
|
|
|
|
|
})));
|