view/js/locale/datepicker-es.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1.5

Size

Lines of Code 35
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 26
c 0
b 0
f 0
dl 0
loc 35
rs 10
wmc 3
mnd 1
bc 1
fnc 2
bpm 0.5
cpm 1.5
noi 1
1
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */
2
/* Traducido por Vester ([email protected]). */
3
( function( factory ) {
4
	if ( typeof define === "function" && define.amd ) {
0 ignored issues
show
Bug introduced by
The variable define seems to be never declared. If this is a global, consider adding a /** global: define */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
5
6
		// AMD. Register as an anonymous module.
7
		define( [ "../widgets/datepicker" ], factory );
8
	} else {
9
10
		// Browser globals
11
		factory( jQuery.datepicker );
12
	}
13
}( function( datepicker ) {
14
15
datepicker.regional.es = {
16
	closeText: "Cerrar",
17
	prevText: "<Ant",
18
	nextText: "Sig>",
19
	currentText: "Hoy",
20
	monthNames: [ "enero","febrero","marzo","abril","mayo","junio",
21
	"julio","agosto","septiembre","octubre","noviembre","diciembre" ],
22
	monthNamesShort: [ "ene","feb","mar","abr","may","jun",
23
	"jul","ago","sep","oct","nov","dic" ],
24
	dayNames: [ "domingo","lunes","martes","miércoles","jueves","viernes","sábado" ],
25
	dayNamesShort: [ "dom","lun","mar","mié","jue","vie","sáb" ],
26
	dayNamesMin: [ "D","L","M","X","J","V","S" ],
27
	weekHeader: "Sm",
28
	dateFormat: "dd/mm/yy",
29
	firstDay: 1,
30
	isRTL: false,
31
	showMonthAfterYear: false,
32
	yearSuffix: "" };
33
datepicker.setDefaults( datepicker.regional.es );
34
35
return datepicker.regional.es;
36
37
} ) );