72 lines
4.0 KiB
JavaScript
72 lines
4.0 KiB
JavaScript
/*
|
|
* This file has been compiled from: /modules/system/lang/pt-br/client.php
|
|
*/
|
|
if ($.oc === undefined) $.oc = {}
|
|
if ($.oc.langMessages === undefined) $.oc.langMessages = {}
|
|
$.oc.langMessages['pt-br'] = $.extend(
|
|
$.oc.langMessages['pt-br'] || {},
|
|
{"markdowneditor":{"formatting":"Formatting","quote":"Quote","code":"Code","header1":"Header 1","header2":"Header 2","header3":"Header 3","header4":"Header 4","header5":"Header 5","header6":"Header 6","bold":"Bold","italic":"Italic","unorderedlist":"Unordered List","orderedlist":"Ordered List","video":"Video","image":"Image","link":"Link","horizontalrule":"Insert Horizontal Rule","fullscreen":"Full screen","preview":"Preview"},"mediamanager":{"insert_link":"Insert Media Link","insert_image":"Insert Media Image","insert_video":"Insert Media Video","insert_audio":"Insert Media Audio","invalid_file_empty_insert":"Please select file to insert a links to.","invalid_file_single_insert":"Please select a single file.","invalid_image_empty_insert":"Please select image(s) to insert.","invalid_video_empty_insert":"Please select a video file to insert.","invalid_audio_empty_insert":"Please select an audio file to insert."},"alert":{"confirm_button_text":"OK","cancel_button_text":"Cancel"},"datepicker":{"previousMonth":"Previous Month","nextMonth":"Next Month","months":["January","February","March","April","May","June","July","August","September","October","November","December"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},"filter":{"group":{"all":"all"},"dates":{"all":"all","filter_button_text":"Filter","reset_button_text":"Reset","date_placeholder":"Date","after_placeholder":"After","before_placeholder":"Before"}}}
|
|
);
|
|
|
|
//! moment.js locale configuration
|
|
//! locale : brazilian portuguese (pt-br)
|
|
//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
|
|
|
;(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
|
factory(global.moment)
|
|
}(this, function (moment) { 'use strict';
|
|
|
|
|
|
var pt_br = moment.defineLocale('pt-br', {
|
|
months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'),
|
|
monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
|
|
weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'),
|
|
weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
|
|
weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'),
|
|
weekdaysParseExact : true,
|
|
longDateFormat : {
|
|
LT : 'HH:mm',
|
|
LTS : 'HH:mm:ss',
|
|
L : 'DD/MM/YYYY',
|
|
LL : 'D [de] MMMM [de] YYYY',
|
|
LLL : 'D [de] MMMM [de] YYYY [às] HH:mm',
|
|
LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm'
|
|
},
|
|
calendar : {
|
|
sameDay: '[Hoje às] LT',
|
|
nextDay: '[Amanhã às] LT',
|
|
nextWeek: 'dddd [às] LT',
|
|
lastDay: '[Ontem às] LT',
|
|
lastWeek: function () {
|
|
return (this.day() === 0 || this.day() === 6) ?
|
|
'[Último] dddd [às] LT' : // Saturday + Sunday
|
|
'[Última] dddd [às] LT'; // Monday - Friday
|
|
},
|
|
sameElse: 'L'
|
|
},
|
|
relativeTime : {
|
|
future : 'em %s',
|
|
past : '%s atrás',
|
|
s : 'poucos segundos',
|
|
m : 'um minuto',
|
|
mm : '%d minutos',
|
|
h : 'uma hora',
|
|
hh : '%d horas',
|
|
d : 'um dia',
|
|
dd : '%d dias',
|
|
M : 'um mês',
|
|
MM : '%d meses',
|
|
y : 'um ano',
|
|
yy : '%d anos'
|
|
},
|
|
ordinalParse: /\d{1,2}º/,
|
|
ordinal : '%dº'
|
|
});
|
|
|
|
return pt_br;
|
|
|
|
}));
|