f0cc02167bd0fb241d5f5ea8427392cd12e2eac5
[lhc/web/wiklou.git] / resources / moment / lang / ca.js
1 // moment.js language configuration
2 // language : catalan (ca)
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(window.moment); // Browser global
12 }
13 }(function (moment) {
14 return moment.lang('ca', {
15 months : "Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),
16 monthsShort : "Gen._Febr._Mar._Abr._Mai._Jun._Jul._Ag._Set._Oct._Nov._Des.".split("_"),
17 weekdays : "Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),
18 weekdaysShort : "Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),
19 weekdaysMin : "Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),
20 longDateFormat : {
21 LT : "H:mm",
22 L : "DD/MM/YYYY",
23 LL : "D MMMM YYYY",
24 LLL : "D MMMM YYYY LT",
25 LLLL : "dddd D MMMM YYYY LT"
26 },
27 calendar : {
28 sameDay : function () {
29 return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
30 },
31 nextDay : function () {
32 return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
33 },
34 nextWeek : function () {
35 return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
36 },
37 lastDay : function () {
38 return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
39 },
40 lastWeek : function () {
41 return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT';
42 },
43 sameElse : 'L'
44 },
45 relativeTime : {
46 future : "en %s",
47 past : "fa %s",
48 s : "uns segons",
49 m : "un minut",
50 mm : "%d minuts",
51 h : "una hora",
52 hh : "%d hores",
53 d : "un dia",
54 dd : "%d dies",
55 M : "un mes",
56 MM : "%d mesos",
57 y : "un any",
58 yy : "%d anys"
59 },
60 ordinal : '%dº',
61 week : {
62 dow : 1, // Monday is the first day of the week.
63 doy : 4 // The week that contains Jan 4th is the first week of the year.
64 }
65 });
66 }));