mirror of
https://github.com/supanadit/todo.git
synced 2024-11-26 20:36:21 +00:00
38 lines
1.1 KiB
JavaScript
38 lines
1.1 KiB
JavaScript
|
/* 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;
|
||
|
|
||
|
} ) );
|