mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
347c7c4db1
Make code identation consistent with every other source.
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([ "../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'];
|
|
|
|
}));
|