aboutsummaryrefslogtreecommitdiffstats
path: root/ui/i18n/jquery.ui.datepicker-pt.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-24 08:58:18 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-24 08:58:18 -0400
commit23b569f46ec7472d4baec7486d27ddbe5aaa8518 (patch)
tree173cfa2184e08eb52ac49a4cac5916d9733596be /ui/i18n/jquery.ui.datepicker-pt.js
parent3f9b9531178b618c5702ece30e5126dfe98dea7c (diff)
downloadjquery-ui-23b569f46ec7472d4baec7486d27ddbe5aaa8518.tar.gz
jquery-ui-23b569f46ec7472d4baec7486d27ddbe5aaa8518.zip
Datepicker: Added Portuguese localization. Fixes #6102 - Datepicker: Add Portuguese localization.
Diffstat (limited to 'ui/i18n/jquery.ui.datepicker-pt.js')
-rw-r--r--ui/i18n/jquery.ui.datepicker-pt.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/i18n/jquery.ui.datepicker-pt.js b/ui/i18n/jquery.ui.datepicker-pt.js
new file mode 100644
index 000000000..f09f5aeb0
--- /dev/null
+++ b/ui/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&ccedil;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&ccedil;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&aacute;bado'],
+ dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
+ dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
+ weekHeader: 'Sem',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 0,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['pt']);
+}); \ No newline at end of file