jquery.ui.datepicker.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Malaysian initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */
  3. ( function( factory ) {
  4. "use strict";
  5. if ( typeof define === "function" && define.amd ) {
  6. // AMD. Register as an anonymous module.
  7. define( [ "../widgets/datepicker" ], factory );
  8. } else {
  9. // Browser globals
  10. factory( jQuery.datepicker );
  11. }
  12. } )( function( datepicker ) {
  13. "use strict";
  14. datepicker.regional.ms = {
  15. closeText: "Tutup",
  16. prevText: "Sebelum",
  17. nextText: "Selepas",
  18. currentText: "hari ini",
  19. monthNames: [ "Januari", "Februari", "Mac", "April", "Mei", "Jun",
  20. "Julai", "Ogos", "September", "Oktober", "November", "Disember" ],
  21. monthNamesShort: [ "Jan", "Feb", "Mac", "Apr", "Mei", "Jun",
  22. "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis" ],
  23. dayNames: [ "Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu" ],
  24. dayNamesShort: [ "Aha", "Isn", "Sel", "Rab", "kha", "Jum", "Sab" ],
  25. dayNamesMin: [ "Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa" ],
  26. weekHeader: "Mg",
  27. dateFormat: "dd/mm/yy",
  28. firstDay: 0,
  29. isRTL: false,
  30. showMonthAfterYear: false,
  31. yearSuffix: "" };
  32. datepicker.setDefaults( datepicker.regional.ms );
  33. return datepicker.regional.ms;
  34. } );