Merge "Add autocomplete for WhatLinksHere subpages"
[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 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('pt-br', {
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 LTS : 'LT:ss',
23 L : 'DD/MM/YYYY',
24 LL : 'D [de] MMMM [de] YYYY',
25 LLL : 'D [de] MMMM [de] YYYY [às] LT',
26 LLLL : 'dddd, D [de] MMMM [de] YYYY [às] LT'
27 },
28 calendar : {
29 sameDay: '[Hoje às] LT',
30 nextDay: '[Amanhã às] LT',
31 nextWeek: 'dddd [às] LT',
32 lastDay: '[Ontem às] LT',
33 lastWeek: function () {
34 return (this.day() === 0 || this.day() === 6) ?
35 '[Último] dddd [às] LT' : // Saturday + Sunday
36 '[Última] dddd [às] LT'; // Monday - Friday
37 },
38 sameElse: 'L'
39 },
40 relativeTime : {
41 future : 'em %s',
42 past : '%s atrás',
43 s : 'segundos',
44 m : 'um minuto',
45 mm : '%d minutos',
46 h : 'uma hora',
47 hh : '%d horas',
48 d : 'um dia',
49 dd : '%d dias',
50 M : 'um mês',
51 MM : '%d meses',
52 y : 'um ano',
53 yy : '%d anos'
54 },
55 ordinalParse: /\d{1,2}º/,
56 ordinal : '%dº'
57 });
58 }));