You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

datepicker-ar.js 1.5KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Arabic Translation for jQuery UI date picker plugin. */
  2. /* Khaled Alhourani -- me@khaledalhourani.com */
  3. /* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
  4. (function( factory ) {
  5. if ( typeof define === "function" && define.amd ) {
  6. // AMD. Register as an anonymous module.
  7. define([ "../datepicker" ], factory );
  8. } else {
  9. // Browser globals
  10. factory( jQuery.datepicker );
  11. }
  12. }(function( datepicker ) {
  13. datepicker.regional['ar'] = {
  14. closeText: 'إغلاق',
  15. prevText: '<السابق',
  16. nextText: 'التالي>',
  17. currentText: 'اليوم',
  18. monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران',
  19. 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
  20. monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
  21. dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
  22. dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
  23. dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
  24. weekHeader: 'أسبوع',
  25. dateFormat: 'dd/mm/yy',
  26. firstDay: 6,
  27. isRTL: true,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['ar']);
  31. return datepicker.regional['ar'];
  32. }));