mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
26b52dd772
API CHANGE Upgraded jQuery UI themes from v1.6rc1 to v1.8rc3. Removed 'flora' and 'default' themes, replaced with the 'base' and 'smoothness' themes found in the default distribution git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100842 467b73ca-7a2a-4603-9d3b-597d59a354a9
19 lines
890 B
JavaScript
Executable File
19 lines
890 B
JavaScript
Executable File
/* 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'],
|
|
dateFormat: 'dd/mm/yy', firstDay: 0,
|
|
isRTL: false};
|
|
$.datepicker.setDefaults($.datepicker.regional['pt-BR']);
|
|
}); |