mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
f1ce6e5de5
Ref #13885
37 lines
1.1 KiB
JavaScript
37 lines
1.1 KiB
JavaScript
/* Portuguese initialisation for the jQuery UI date picker plugin. */
|
|
(function( factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define([ "../widgets/datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
}(function( datepicker ) {
|
|
|
|
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'],
|
|
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,
|
|
yearSuffix: ''};
|
|
datepicker.setDefaults(datepicker.regional['pt']);
|
|
|
|
return datepicker.regional['pt'];
|
|
|
|
}));
|