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

45 lines
1.1 KiB
JavaScript
Raw Normal View History

/* Portuguese initialisation for the jQuery UI date picker plugin. */
2015-08-24 13:00:11 +00:00
( function( factory ) {
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 );
}
2015-08-24 13:00:11 +00:00
}( function( datepicker ) {
2015-08-24 13:00:11 +00:00
datepicker.regional.pt = {
closeText: "Fechar",
prevText: "Anterior",
nextText: "Seguinte",
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"
],
2015-08-24 13:00:11 +00:00
dayNamesShort: [ "Dom","Seg","Ter","Qua","Qui","Sex","Sáb" ],
dayNamesMin: [ "Dom","Seg","Ter","Qua","Qui","Sex","Sáb" ],
weekHeader: "Sem",
dateFormat: "dd/mm/yy",
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
2015-08-24 13:00:11 +00:00
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.pt );
2015-08-24 13:00:11 +00:00
return datepicker.regional.pt;
2015-08-24 13:00:11 +00:00
} ) );