summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-03-25 14:51:06 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-03-25 14:51:06 +0000
commitc1d853d95795e0e17218132285094c50c696bd0a (patch)
treeb8f98caa4f960b2d7ba274c81dbcb06e847a52fc /public
parent225f99377af1dd6b745697d617411d11bcef065d (diff)
downloadredmine-c1d853d95795e0e17218132285094c50c696bd0a.tar.gz
redmine-c1d853d95795e0e17218132285094c50c696bd0a.zip
Merged r11686 from trunk to 2.3-stable (#13584)
add missing Portuguese jQuery UI date picker. 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/branches/2.3-stable@11690 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/i18n/jquery.ui.datepicker-pt.js22
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: '&#x3C;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']);
+});