datepicker-ro.js 1.22 KB
Newer Older
1 2 3 4 5
/* Romanian initialisation for the jQuery UI date picker plugin.
 *
 * Written by Edmond L. (ll_edmond@walla.com)
 * and Ionut G. Stan (ionut.g.stan@gmail.com)
 */
6
( function( factory ) {
7 8 9
	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
10
		define( [ "../widgets/datepicker" ], factory );
11 12 13 14 15
	} else {

		// Browser globals
		factory( jQuery.datepicker );
	}
16
}( function( datepicker ) {
17

18 19 20 21 22 23 24 25 26 27 28 29 30 31
datepicker.regional.ro = {
	closeText: "Închide",
	prevText: "« Luna precedentă",
	nextText: "Luna următoare »",
	currentText: "Azi",
	monthNames: [ "Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie",
	"Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie" ],
	monthNamesShort: [ "Ian", "Feb", "Mar", "Apr", "Mai", "Iun",
	"Iul", "Aug", "Sep", "Oct", "Nov", "Dec" ],
	dayNames: [ "Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă" ],
	dayNamesShort: [ "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm" ],
	dayNamesMin: [ "Du","Lu","Ma","Mi","Jo","Vi","" ],
	weekHeader: "Săpt",
	dateFormat: "dd.mm.yy",
32 33 34
	firstDay: 1,
	isRTL: false,
	showMonthAfterYear: false,
35 36
	yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.ro );
37

38
return datepicker.regional.ro;
39

40
} ) );