mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-11 08:04:09 -08:00
41 lines
1.2 KiB
JavaScript
41 lines
1.2 KiB
JavaScript
/* Romanian initialisation for the jQuery UI date picker plugin.
|
|
*
|
|
* Written by Edmond L. ([email protected])
|
|
* and Ionut G. Stan ([email protected])
|
|
*/
|
|
( function( factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define( [ "../widgets/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;
|
|
|
|
} ) );
|