2008-06-04 02:34:33 +00:00
|
|
|
/* Brazilian initialisation for the jQuery UI date picker plugin. */
|
|
|
|
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
|
2015-08-24 13:00:11 +00:00
|
|
|
( function( factory ) {
|
2021-06-06 22:58:12 +00:00
|
|
|
"use strict";
|
|
|
|
|
2013-07-17 15:10:30 +00:00
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-08-24 13:00:11 +00:00
|
|
|
define( [ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
2021-06-06 22:58:12 +00:00
|
|
|
} )( function( datepicker ) {
|
|
|
|
"use strict";
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
datepicker.regional[ "pt-BR" ] = {
|
|
|
|
closeText: "Fechar",
|
2022-02-11 15:33:27 +00:00
|
|
|
prevText: "Anterior",
|
|
|
|
nextText: "Próximo",
|
2015-08-24 13:00:11 +00:00
|
|
|
currentText: "Hoje",
|
2021-06-06 22:58:12 +00:00
|
|
|
monthNames: [ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho",
|
|
|
|
"Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ],
|
|
|
|
monthNamesShort: [ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun",
|
|
|
|
"Jul", "Ago", "Set", "Out", "Nov", "Dez" ],
|
2016-03-31 04:22:10 +00:00
|
|
|
dayNames: [
|
|
|
|
"Domingo",
|
|
|
|
"Segunda-feira",
|
|
|
|
"Terça-feira",
|
|
|
|
"Quarta-feira",
|
|
|
|
"Quinta-feira",
|
|
|
|
"Sexta-feira",
|
|
|
|
"Sábado"
|
|
|
|
],
|
2021-06-06 22:58:12 +00:00
|
|
|
dayNamesShort: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ],
|
|
|
|
dayNamesMin: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ],
|
2015-08-24 13:00:11 +00:00
|
|
|
weekHeader: "Sm",
|
|
|
|
dateFormat: "dd/mm/yy",
|
2014-02-19 11:55:50 +00:00
|
|
|
firstDay: 0,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
2015-08-24 13:00:11 +00:00
|
|
|
yearSuffix: "" };
|
|
|
|
datepicker.setDefaults( datepicker.regional[ "pt-BR" ] );
|
2014-02-19 11:55:50 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
return datepicker.regional[ "pt-BR" ];
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2021-06-06 22:58:12 +00:00
|
|
|
} );
|