2011-11-17 19:30:01 +00:00
|
|
|
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
|
2008-06-04 02:34:33 +00:00
|
|
|
/* Writers: (joan.leon@gmail.com). */
|
2015-08-24 13:00:11 +00:00
|
|
|
( function( factory ) {
|
2021-06-06 22:58:12 +00:00
|
|
|
"use strict";
|
|
|
|
|
2013-07-17 15:10:30 +00:00
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-08-24 13:00:11 +00:00
|
|
|
define( [ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
2021-06-06 22:58:12 +00:00
|
|
|
} )( function( datepicker ) {
|
|
|
|
"use strict";
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
datepicker.regional.ca = {
|
|
|
|
closeText: "Tanca",
|
|
|
|
prevText: "Anterior",
|
|
|
|
nextText: "Següent",
|
|
|
|
currentText: "Avui",
|
2021-06-06 22:58:12 +00:00
|
|
|
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" ],
|
2015-08-24 13:00:11 +00:00
|
|
|
weekHeader: "Set",
|
|
|
|
dateFormat: "dd/mm/yy",
|
2014-02-19 11:55:50 +00:00
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
2015-08-24 13:00:11 +00:00
|
|
|
yearSuffix: "" };
|
|
|
|
datepicker.setDefaults( datepicker.regional.ca );
|
2014-02-19 11:55:50 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
return datepicker.regional.ca;
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2021-06-06 22:58:12 +00:00
|
|
|
} );
|