datepicker-ro.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Romanian initialisation for the jQuery UI date picker plugin.
  2. *
  3. * Written by Edmond L. (ll_edmond@walla.com)
  4. * and Ionut G. Stan (ionut.g.stan@gmail.com)
  5. */
  6. (function( factory ) {
  7. if ( typeof define === "function" && define.amd ) {
  8. // AMD. Register as an anonymous module.
  9. define([ "../datepicker" ], factory );
  10. } else {
  11. // Browser globals
  12. factory( jQuery.datepicker );
  13. }
  14. }(function( datepicker ) {
  15. datepicker.regional['ro'] = {
  16. closeText: 'Închide',
  17. prevText: '« Luna precedentă',
  18. nextText: 'Luna următoare »',
  19. currentText: 'Azi',
  20. monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
  21. 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],
  22. monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun',
  23. 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
  24. dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
  25. dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
  26. dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
  27. weekHeader: 'Săpt',
  28. dateFormat: 'dd.mm.yy',
  29. firstDay: 1,
  30. isRTL: false,
  31. showMonthAfterYear: false,
  32. yearSuffix: ''};
  33. datepicker.setDefaults(datepicker.regional['ro']);
  34. return datepicker.regional['ro'];
  35. }));