Merge "Revert "Use display name in category page subheadings if provided""
[lhc/web/wiklou.git] / resources / lib / moment / locale / gl.js
1 // moment.js locale configuration
2 // locale : galician (gl)
3 // author : Juan G. Hurtado : https://github.com/juanghurtado
4
5 (function (factory) {
6 // Comment out broken wrapper, see T145382
7 /*if (typeof define === 'function' && define.amd) {
8 define(['moment'], factory); // AMD
9 } else if (typeof exports === 'object') {
10 module.exports = factory(require('../moment')); // Node
11 } else {
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
13 }*/
14 factory(this.moment);
15 }(function (moment) {
16 return moment.defineLocale('gl', {
17 months : 'Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro'.split('_'),
18 monthsShort : 'Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.'.split('_'),
19 weekdays : 'Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado'.split('_'),
20 weekdaysShort : 'Dom._Lun._Mar._Mér._Xov._Ven._Sáb.'.split('_'),
21 weekdaysMin : 'Do_Lu_Ma_Mé_Xo_Ve_Sá'.split('_'),
22 longDateFormat : {
23 LT : 'H:mm',
24 LTS : 'LT:ss',
25 L : 'DD/MM/YYYY',
26 LL : 'D MMMM YYYY',
27 LLL : 'D MMMM YYYY LT',
28 LLLL : 'dddd D MMMM YYYY LT'
29 },
30 calendar : {
31 sameDay : function () {
32 return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
33 },
34 nextDay : function () {
35 return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
36 },
37 nextWeek : function () {
38 return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
39 },
40 lastDay : function () {
41 return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
42 },
43 lastWeek : function () {
44 return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
45 },
46 sameElse : 'L'
47 },
48 relativeTime : {
49 future : function (str) {
50 if (str === 'uns segundos') {
51 return 'nuns segundos';
52 }
53 return 'en ' + str;
54 },
55 past : 'hai %s',
56 s : 'uns segundos',
57 m : 'un minuto',
58 mm : '%d minutos',
59 h : 'unha hora',
60 hh : '%d horas',
61 d : 'un día',
62 dd : '%d días',
63 M : 'un mes',
64 MM : '%d meses',
65 y : 'un ano',
66 yy : '%d anos'
67 },
68 ordinalParse : /\d{1,2}º/,
69 ordinal : '%dº',
70 week : {
71 dow : 1, // Monday is the first day of the week.
72 doy : 7 // The week that contains Jan 1st is the first week of the year.
73 }
74 });
75 }));