2016-02-06 04:42:48 +08:00
|
|
|
//! moment.js locale configuration
|
2020-11-11 09:34:26 +08:00
|
|
|
//! locale : Scottish Gaelic [gd]
|
|
|
|
//! author : Jon Ashdown : https://github.com/jonashdown
|
2016-02-06 04:42:48 +08:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 12:24:20 +08:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-06 04:42:48 +08:00
|
|
|
factory(global.moment)
|
2017-04-20 12:24:20 +08:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2020-11-11 09:34:26 +08:00
|
|
|
//! moment.js locale configuration
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
var months = [
|
2020-11-11 09:34:26 +08: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'];
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
var gd = moment.defineLocale('gd', {
|
2020-11-11 09:34:26 +08: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',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08: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',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08: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',
|
2018-04-26 15:15:53 +08:00
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
|
|
|
ordinal: function (number) {
|
2018-04-26 15:15:53 +08:00
|
|
|
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
|
|
|
return number + output;
|
|
|
|
},
|
2020-11-11 09:34:26 +08: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.
|
|
|
|
},
|
2018-04-26 15:15:53 +08:00
|
|
|
});
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
return gd;
|
2016-02-06 04:42:48 +08:00
|
|
|
|
2017-04-20 12:24:20 +08:00
|
|
|
})));
|