mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 06:59:41 -08: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: ([email protected]). */
|
|
( 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;
|
|
|
|
} ) );
|