mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
27abbbf4ff
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@93546 467b73ca-7a2a-4603-9d3b-597d59a354a9
25 lines
1.2 KiB
JavaScript
25 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'] = {
|
|
clearText: 'Limpar', clearStatus: '',
|
|
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']);
|
|
}); |