Split /resources into /resources/lib and /resources/src
[lhc/web/wiklou.git] / resources / lib / moment / lang / pt.js
1 // moment.js language configuration
2 // language : portuguese (pt)
3 // author : Jefferson : https://github.com/jalex79
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('pt', {
15 months : "Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),
16 monthsShort : "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),
17 weekdays : "Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),
18 weekdaysShort : "Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),
19 weekdaysMin : "Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),
20 longDateFormat : {
21 LT : "HH:mm",
22 L : "DD/MM/YYYY",
23 LL : "D [de] MMMM [de] YYYY",
24 LLL : "D [de] MMMM [de] YYYY LT",
25 LLLL : "dddd, D [de] MMMM [de] YYYY LT"
26 },
27 calendar : {
28 sameDay: '[Hoje às] LT',
29 nextDay: '[Amanhã às] LT',
30 nextWeek: 'dddd [às] LT',
31 lastDay: '[Ontem às] LT',
32 lastWeek: function () {
33 return (this.day() === 0 || this.day() === 6) ?
34 '[Último] dddd [às] LT' : // Saturday + Sunday
35 '[Última] dddd [às] LT'; // Monday - Friday
36 },
37 sameElse: 'L'
38 },
39 relativeTime : {
40 future : "em %s",
41 past : "%s atrás",
42 s : "segundos",
43 m : "um minuto",
44 mm : "%d minutos",
45 h : "uma hora",
46 hh : "%d horas",
47 d : "um dia",
48 dd : "%d dias",
49 M : "um mês",
50 MM : "%d meses",
51 y : "um ano",
52 yy : "%d anos"
53 },
54 ordinal : '%dº',
55 week : {
56 dow : 1, // Monday is the first day of the week.
57 doy : 4 // The week that contains Jan 4th is the first week of the year.
58 }
59 });
60 }));