Merge "Revert "Use display name in category page subheadings if provided""
[lhc/web/wiklou.git] / resources / lib / moment / locale / pt-br.js
1 // moment.js locale configuration
2 // locale : brazilian portuguese (pt-br)
3 // author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
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('pt-br', {
17 months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'),
18 monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
19 weekdays : 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split('_'),
20 weekdaysShort : 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
21 weekdaysMin : 'dom_2ª_3ª_4ª_5ª_6ª_sáb'.split('_'),
22 longDateFormat : {
23 LT : 'HH:mm',
24 LTS : 'LT:ss',
25 L : 'DD/MM/YYYY',
26 LL : 'D [de] MMMM [de] YYYY',
27 LLL : 'D [de] MMMM [de] YYYY [às] LT',
28 LLLL : 'dddd, D [de] MMMM [de] YYYY [às] LT'
29 },
30 calendar : {
31 sameDay: '[Hoje às] LT',
32 nextDay: '[Amanhã às] LT',
33 nextWeek: 'dddd [às] LT',
34 lastDay: '[Ontem às] LT',
35 lastWeek: function () {
36 return (this.day() === 0 || this.day() === 6) ?
37 '[Último] dddd [às] LT' : // Saturday + Sunday
38 '[Última] dddd [às] LT'; // Monday - Friday
39 },
40 sameElse: 'L'
41 },
42 relativeTime : {
43 future : 'em %s',
44 past : '%s atrás',
45 s : 'segundos',
46 m : 'um minuto',
47 mm : '%d minutos',
48 h : 'uma hora',
49 hh : '%d horas',
50 d : 'um dia',
51 dd : '%d dias',
52 M : 'um mês',
53 MM : '%d meses',
54 y : 'um ano',
55 yy : '%d anos'
56 },
57 ordinalParse: /\d{1,2}º/,
58 ordinal : '%dº'
59 });
60 }));