Merge "Improve cache assertions in WatchedItemStoreUnitTest"
[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 if (typeof define === 'function' && define.amd) {
7 define(['moment'], factory); // AMD
8 } else if (typeof exports === 'object') {
9 module.exports = factory(require('../moment')); // Node
10 } else {
11 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
12 }
13 }(function (moment) {
14 return moment.defineLocale('gl', {
15 months : 'Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro'.split('_'),
16 monthsShort : 'Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.'.split('_'),
17 weekdays : 'Domingo_Luns_Martes_Mércores_Xoves_Venres_Sábado'.split('_'),
18 weekdaysShort : 'Dom._Lun._Mar._Mér._Xov._Ven._Sáb.'.split('_'),
19 weekdaysMin : 'Do_Lu_Ma_Mé_Xo_Ve_Sá'.split('_'),
20 longDateFormat : {
21 LT : 'H:mm',
22 LTS : 'LT:ss',
23 L : 'DD/MM/YYYY',
24 LL : 'D MMMM YYYY',
25 LLL : 'D MMMM YYYY LT',
26 LLLL : 'dddd D MMMM YYYY LT'
27 },
28 calendar : {
29 sameDay : function () {
30 return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
31 },
32 nextDay : function () {
33 return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT';
34 },
35 nextWeek : function () {
36 return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
37 },
38 lastDay : function () {
39 return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT';
40 },
41 lastWeek : function () {
42 return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT';
43 },
44 sameElse : 'L'
45 },
46 relativeTime : {
47 future : function (str) {
48 if (str === 'uns segundos') {
49 return 'nuns segundos';
50 }
51 return 'en ' + str;
52 },
53 past : 'hai %s',
54 s : 'uns 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 ordinalParse : /\d{1,2}º/,
67 ordinal : '%dº',
68 week : {
69 dow : 1, // Monday is the first day of the week.
70 doy : 7 // The week that contains Jan 1st is the first week of the year.
71 }
72 });
73 }));