-
-
Save lucasprogamer/a670c762f0a872a2ed6cc310ef40d6d8 to your computer and use it in GitHub Desktop.
Tradução datepicker pt-BR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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', | |
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','Sabado'], | |
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], | |
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], | |
weekHeader: 'Sm', | |
dateFormat: 'dd/mm/yy', | |
firstDay: 0, | |
isRTL: false, | |
showMonthAfterYear: false, | |
yearSuffix: ''}; | |
$.datepicker.setDefaults($.datepicker.regional['pt-BR']); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment