mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
70dae67b73
Fixes #15393 Closes gh-1958
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
|
|
/* Writers: (joan.leon@gmail.com). */
|
|
( function( factory ) {
|
|
"use strict";
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define( [ "../widgets/datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
} )( function( datepicker ) {
|
|
"use strict";
|
|
|
|
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;
|
|
|
|
} );
|