forked from edavis10/redmine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add missing Portuguese jQuery UI date picker (#13584)
jquery.ui.datepicker-pt.js is from https://raw.github.com/jquery/jquery-ui/49f9b849b9c5023f13/ui/i18n/jquery.ui.datepicker-pt.js git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11686 e93f8b46-1217-0410-a6f0-8f06a7374b81
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* 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']); | ||
}); |
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