[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

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

   1  /* Thai initialisation for the jQuery UI date picker plugin. */
   2  /* Written by pipo (pipo@sixhead.com). */
   3  ( function( factory ) {
   4      "use strict";
   5  
   6      if ( typeof define === "function" && define.amd ) {
   7  
   8          // AMD. Register as an anonymous module.
   9          define( [ "../widgets/datepicker" ], factory );
  10      } else {
  11  
  12          // Browser globals
  13          factory( jQuery.datepicker );
  14      }
  15  } )( function( datepicker ) {
  16  "use strict";
  17  
  18  datepicker.regional.th = {
  19      closeText: "ปิด",
  20      prevText: "ย้อน",
  21      nextText: "ถัดไป",
  22      currentText: "วันนี้",
  23      monthNames: [ "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน",
  24      "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม" ],
  25      monthNamesShort: [ "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.",
  26      "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค." ],
  27      dayNames: [ "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์" ],
  28      dayNamesShort: [ "อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส." ],
  29      dayNamesMin: [ "อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส." ],
  30      weekHeader: "Wk",
  31      dateFormat: "dd/mm/yy",
  32      firstDay: 0,
  33      isRTL: false,
  34      showMonthAfterYear: false,
  35      yearSuffix: "" };
  36  datepicker.setDefaults( datepicker.regional.th );
  37  
  38  return datepicker.regional.th;
  39  
  40  } );