mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
24 lines
1.2 KiB
JavaScript
24 lines
1.2 KiB
JavaScript
/* Brazilian initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
|
|
jQuery(function($){
|
|
$.datepicker.regional['pt-BR'] = {
|
|
closeText: 'Fechar', closeStatus: '',
|
|
prevText: '<Anterior', prevStatus: '',
|
|
prevBigText: '<<', prevBigStatus: '',
|
|
nextText: 'Próximo>', nextStatus: '',
|
|
nextBigText: '>>', nextBigStatus: '',
|
|
currentText: 'Hoje', currentStatus: '',
|
|
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'],
|
|
monthStatus: '', yearStatus: '',
|
|
weekHeader: 'Sm', weekStatus: '',
|
|
dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'],
|
|
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
|
|
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
|
|
dayStatus: 'DD', dateStatus: 'D, M d',
|
|
dateFormat: 'dd/mm/yy', firstDay: 0,
|
|
initStatus: '', isRTL: false};
|
|
$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
|
|
}); |