jquery-ui/ui/i18n/datepicker-pt-BR.js

49 lines
1.3 KiB
JavaScript
Raw Normal View History

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 ) {
"use strict";
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
2015-08-24 13:00:11 +00:00
define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
} )( function( datepicker ) {
"use strict";
2015-08-24 13:00:11 +00:00
datepicker.regional[ "pt-BR" ] = {
closeText: "Fechar",
prevText: "<Anterior",
nextText: "Próximo>",
currentText: "Hoje",
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" ],
dayNames: [
"Domingo",
"Segunda-feira",
"Terça-feira",
"Quarta-feira",
"Quinta-feira",
"Sexta-feira",
"Sábado"
],
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",
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
2015-08-24 13:00:11 +00:00
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional[ "pt-BR" ] );
2015-08-24 13:00:11 +00:00
return datepicker.regional[ "pt-BR" ];
} );