2019-06-10 17:38:54 +02:00
|
|
|
//! moment.js locale configuration
|
2020-07-23 23:12:30 +02:00
|
|
|
//! locale : Scottish Gaelic [gd]
|
|
|
|
//! author : Jon Ashdown : https://github.com/jonashdown
|
2019-06-10 17:38:54 +02: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 23:12:30 +02:00
|
|
|
//! moment.js locale configuration
|
2019-06-10 17:38:54 +02:00
|
|
|
|
|
|
|
var months = [
|
2020-07-23 23:12:30 +02:00
|
|
|
'Am Faoilleach',
|
|
|
|
'An Gearran',
|
|
|
|
'Am Màrt',
|
|
|
|
'An Giblean',
|
|
|
|
'An Cèitean',
|
|
|
|
'An t-Ògmhios',
|
|
|
|
'An t-Iuchar',
|
|
|
|
'An Lùnastal',
|
|
|
|
'An t-Sultain',
|
|
|
|
'An Dàmhair',
|
|
|
|
'An t-Samhain',
|
|
|
|
'An Dùbhlachd',
|
|
|
|
],
|
|
|
|
monthsShort = [
|
|
|
|
'Faoi',
|
|
|
|
'Gear',
|
|
|
|
'Màrt',
|
|
|
|
'Gibl',
|
|
|
|
'Cèit',
|
|
|
|
'Ògmh',
|
|
|
|
'Iuch',
|
|
|
|
'Lùn',
|
|
|
|
'Sult',
|
|
|
|
'Dàmh',
|
|
|
|
'Samh',
|
|
|
|
'Dùbh',
|
|
|
|
],
|
|
|
|
weekdays = [
|
|
|
|
'Didòmhnaich',
|
|
|
|
'Diluain',
|
|
|
|
'Dimàirt',
|
|
|
|
'Diciadain',
|
|
|
|
'Diardaoin',
|
|
|
|
'Dihaoine',
|
|
|
|
'Disathairne',
|
|
|
|
],
|
|
|
|
weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
|
|
|
|
weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
|
2019-06-10 17:38:54 +02:00
|
|
|
|
|
|
|
var gd = moment.defineLocale('gd', {
|
2020-07-23 23:12:30 +02:00
|
|
|
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',
|
|
|
|
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
2019-06-10 17:38:54 +02:00
|
|
|
},
|
2020-07-23 23:12:30 +02:00
|
|
|
calendar: {
|
|
|
|
sameDay: '[An-diugh aig] LT',
|
|
|
|
nextDay: '[A-màireach aig] LT',
|
|
|
|
nextWeek: 'dddd [aig] LT',
|
|
|
|
lastDay: '[An-dè aig] LT',
|
|
|
|
lastWeek: 'dddd [seo chaidh] [aig] LT',
|
|
|
|
sameElse: 'L',
|
2019-06-10 17:38:54 +02:00
|
|
|
},
|
2020-07-23 23:12:30 +02:00
|
|
|
relativeTime: {
|
|
|
|
future: 'ann an %s',
|
|
|
|
past: 'bho chionn %s',
|
|
|
|
s: 'beagan diogan',
|
|
|
|
ss: '%d diogan',
|
|
|
|
m: 'mionaid',
|
|
|
|
mm: '%d mionaidean',
|
|
|
|
h: 'uair',
|
|
|
|
hh: '%d uairean',
|
|
|
|
d: 'latha',
|
|
|
|
dd: '%d latha',
|
|
|
|
M: 'mìos',
|
|
|
|
MM: '%d mìosan',
|
|
|
|
y: 'bliadhna',
|
|
|
|
yy: '%d bliadhna',
|
2019-06-10 17:38:54 +02:00
|
|
|
},
|
2020-07-23 23:12:30 +02:00
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
|
|
|
ordinal: function (number) {
|
2019-06-10 17:38:54 +02:00
|
|
|
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
|
|
|
return number + output;
|
|
|
|
},
|
2020-07-23 23:12:30 +02:00
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
|
|
},
|
2019-06-10 17:38:54 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
return gd;
|
|
|
|
|
|
|
|
})));
|