Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git] / resources / lib / moment / locale / gl.js
1 //! moment.js locale configuration
2
3 ;(function (global, factory) {
4 typeof exports === 'object' && typeof module !== 'undefined'
5 && typeof require === 'function' ? factory(require('../moment')) :
6 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
7 factory(global.moment)
8 }(this, (function (moment) { 'use strict';
9
10
11 var gl = moment.defineLocale('gl', {
12 months : 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'),
13 monthsShort : 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'),
14 monthsParseExact: true,
15 weekdays : 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
16 weekdaysShort : 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
17 weekdaysMin : 'do_lu_ma_mé_xo_ve_sá'.split('_'),
18 weekdaysParseExact : true,
19 longDateFormat : {
20 LT : 'H:mm',
21 LTS : 'H:mm:ss',
22 L : 'DD/MM/YYYY',
23 LL : 'D [de] MMMM [de] YYYY',
24 LLL : 'D [de] MMMM [de] YYYY H:mm',
25 LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
26 },
27 calendar : {
28 sameDay : function () {
29 return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
30 },
31 nextDay : function () {
32 return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
33 },
34 nextWeek : function () {
35 return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
36 },
37 lastDay : function () {
38 return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
39 },
40 lastWeek : function () {
41 return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
42 },
43 sameElse : 'L'
44 },
45 relativeTime : {
46 future : function (str) {
47 if (str.indexOf('un') === 0) {
48 return 'n' + str;
49 }
50 return 'en ' + str;
51 },
52 past : 'hai %s',
53 s : 'uns segundos',
54 ss : '%d segundos',
55 m : 'un minuto',
56 mm : '%d minutos',
57 h : 'unha hora',
58 hh : '%d horas',
59 d : 'un día',
60 dd : '%d días',
61 M : 'un mes',
62 MM : '%d meses',
63 y : 'un ano',
64 yy : '%d anos'
65 },
66 dayOfMonthOrdinalParse : /\d{1,2}º/,
67 ordinal : '%dº',
68 week : {
69 dow : 1, // Monday is the first day of the week.
70 doy : 4 // The week that contains Jan 4th is the first week of the year.
71 }
72 });
73
74 return gl;
75
76 })));