diff options
author | Go MAEDA <maeda@farend.jp> | 2023-01-12 07:21:45 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-01-12 07:21:45 +0000 |
commit | b7229488350d21635b2c331c12c1fc4417a5402c (patch) | |
tree | 82edf30fff5269aea80996f2b59b82188aa80d45 /public/javascripts/i18n/datepicker-pt-BR.js | |
parent | 5113040a05cefafd0f80ee380e6b3c36809f97c6 (diff) | |
download | redmine-b7229488350d21635b2c331c12c1fc4417a5402c.tar.gz redmine-b7229488350d21635b2c331c12c1fc4417a5402c.zip |
Update jQuery UI Datepicker i18n files to 1.13.2 (#38162).
git-svn-id: https://svn.redmine.org/redmine/trunk@22042 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts/i18n/datepicker-pt-BR.js')
-rw-r--r-- | public/javascripts/i18n/datepicker-pt-BR.js | 53 |
1 files changed, 32 insertions, 21 deletions
diff --git a/public/javascripts/i18n/datepicker-pt-BR.js b/public/javascripts/i18n/datepicker-pt-BR.js index d6bd89907..3c3984f93 100644 --- a/public/javascripts/i18n/datepicker-pt-BR.js +++ b/public/javascripts/i18n/datepicker-pt-BR.js @@ -1,37 +1,48 @@ /* Brazilian initialisation for the jQuery UI date picker plugin. */ /* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ -(function( factory ) { +( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. - define([ "../datepicker" ], factory ); + define( [ "../widgets/datepicker" ], factory ); } else { // Browser globals factory( jQuery.datepicker ); } -}(function( datepicker ) { +} )( function( datepicker ) { +"use strict"; -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','Sábado'], - dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], - dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'], - weekHeader: 'Sm', - dateFormat: 'dd/mm/yy', +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", + "Sábado" + ], + dayNamesShort: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ], + dayNamesMin: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ], + weekHeader: "Sm", + dateFormat: "dd/mm/yy", firstDay: 0, isRTL: false, showMonthAfterYear: false, - yearSuffix: ''}; -datepicker.setDefaults(datepicker.regional['pt-BR']); + yearSuffix: "" }; +datepicker.setDefaults( datepicker.regional[ "pt-BR" ] ); -return datepicker.regional['pt-BR']; +return datepicker.regional[ "pt-BR" ]; -})); +} ); |