mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 00:59: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
37
common/js/plugins/ui/i18n/datepicker-ca.js
Normal file
37
common/js/plugins/ui/i18n/datepicker-ca.js
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
|
||||
/* Writers: (joan.leon@gmail.com). */
|
||||
( 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.ca = {
|
||||
closeText: "Tanca",
|
||||
prevText: "Anterior",
|
||||
nextText: "Següent",
|
||||
currentText: "Avui",
|
||||
monthNames: [ "gener","febrer","març","abril","maig","juny",
|
||||
"juliol","agost","setembre","octubre","novembre","desembre" ],
|
||||
monthNamesShort: [ "gen","feb","març","abr","maig","juny",
|
||||
"jul","ag","set","oct","nov","des" ],
|
||||
dayNames: [ "diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte" ],
|
||||
dayNamesShort: [ "dg","dl","dt","dc","dj","dv","ds" ],
|
||||
dayNamesMin: [ "dg","dl","dt","dc","dj","dv","ds" ],
|
||||
weekHeader: "Set",
|
||||
dateFormat: "dd/mm/yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.ca );
|
||||
|
||||
return datepicker.regional.ca;
|
||||
|
||||
} ) );
|
||||
Loading…
Add table
Add a link
Reference in a new issue