diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-03-25 12:12:28 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-03-25 12:12:28 +0000 |
commit | 8045ef9d3dd28e95efeed2c5a7063fa21b942815 (patch) | |
tree | 7d34f05d8d358e6e878d32139188b176d8089101 /public/javascripts | |
parent | 213e8faceeb63e19a7c7dd1bf01fa6092b7cdb96 (diff) | |
download | redmine-8045ef9d3dd28e95efeed2c5a7063fa21b942815.tar.gz redmine-8045ef9d3dd28e95efeed2c5a7063fa21b942815.zip |
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
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/i18n/jquery.ui.datepicker-pt.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/public/javascripts/i18n/jquery.ui.datepicker-pt.js b/public/javascripts/i18n/jquery.ui.datepicker-pt.js new file mode 100644 index 000000000..999f20e3e --- /dev/null +++ b/public/javascripts/i18n/jquery.ui.datepicker-pt.js @@ -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']); +}); |