datepicker-ro.js
40 lines
| 1.2 KiB
| application/javascript
|
JavascriptLexer
|
r9886 | /* 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) | ||||
*/ | ||||
|
r13052 | (function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||||
// AMD. Register as an anonymous module. | ||||
define([ "../datepicker" ], factory ); | ||||
} else { | ||||
// Browser globals | ||||
factory( jQuery.datepicker ); | ||||
} | ||||
}(function( datepicker ) { | ||||
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','Sâ'], | ||||
weekHeader: 'Săpt', | ||||
dateFormat: 'dd.mm.yy', | ||||
firstDay: 1, | ||||
isRTL: false, | ||||
showMonthAfterYear: false, | ||||
yearSuffix: ''}; | ||||
datepicker.setDefaults(datepicker.regional['ro']); | ||||
return datepicker.regional['ro']; | ||||
})); | ||||