mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 17:49:58 +09:00
support i18n jQuery-UI datepicker
This commit is contained in:
parent
25de7998c2
commit
81b1fd5752
76 changed files with 2783 additions and 1 deletions
36
common/js/plugins/ui/i18n/datepicker-pt.js
Normal file
36
common/js/plugins/ui/i18n/datepicker-pt.js
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* Portuguese initialisation for the jQuery UI date picker plugin. */
|
||||
( function( factory ) {
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "../widgets/datepicker" ], factory );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery.datepicker );
|
||||
}
|
||||
}( function( datepicker ) {
|
||||
|
||||
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 );
|
||||
|
||||
return datepicker.regional.pt;
|
||||
|
||||
} ) );
|
||||
Loading…
Add table
Add a link
Reference in a new issue