[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/lang/ar/ -> jquery.ui.datepicker.js (source)

   1  /* Arabic Translation for jQuery UI date picker plugin. */
   2  /* Used in most of Arab countries, primarily in Bahrain, */
   3  /* Kuwait, Oman, Qatar, Saudi Arabia and the United Arab Emirates, Egypt, Sudan and Yemen. */
   4  /* Written by Mohammed Alshehri -- m@dralshehri.com */
   5  
   6  ( function( factory ) {
   7      "use strict";
   8  
   9      if ( typeof define === "function" && define.amd ) {
  10  
  11          // AMD. Register as an anonymous module.
  12          define( [ "../widgets/datepicker" ], factory );
  13      } else {
  14  
  15          // Browser globals
  16          factory( jQuery.datepicker );
  17      }
  18  } )( function( datepicker ) {
  19  "use strict";
  20  
  21  datepicker.regional.ar = {
  22      closeText: "إغلاق",
  23      prevText: "السابق",
  24      nextText: "التالي",
  25      currentText: "اليوم",
  26      monthNames: [ "يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو",
  27      "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر" ],
  28      monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
  29      dayNames: [ "الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ],
  30      dayNamesShort: [ "أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت" ],
  31      dayNamesMin: [ "ح", "ن", "ث", "ر", "خ", "ج", "س" ],
  32      weekHeader: "أسبوع",
  33      dateFormat: "dd/mm/yy",
  34      firstDay: 0,
  35          isRTL: true,
  36      showMonthAfterYear: false,
  37      yearSuffix: "" };
  38  datepicker.setDefaults( datepicker.regional.ar );
  39  
  40  return datepicker.regional.ar;
  41  
  42  } );