Created
January 22, 2013 18:23
-
-
Save jmprado/4596895 to your computer and use it in GitHub Desktop.
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
/* Portuguese initialisation for the jQuery UI date picker plugin. */ | |
jQuery(function ($) { | |
$.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']); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment