1
0

datepicker-km.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Khmer initialisation for the jQuery calendar extension. */
  2. /* Written by Chandara Om (chandara.teacher@gmail.com). */
  3. (function( factory ) {
  4. if ( typeof define === "function" && define.amd ) {
  5. // AMD. Register as an anonymous module.
  6. define([ "../datepicker" ], factory );
  7. } else {
  8. // Browser globals
  9. factory( jQuery.datepicker );
  10. }
  11. }(function( datepicker ) {
  12. datepicker.regional['km'] = {
  13. closeText: 'ធ្វើ​រួច',
  14. prevText: 'មុន',
  15. nextText: 'បន្ទាប់',
  16. currentText: 'ថ្ងៃ​នេះ',
  17. monthNames: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា',
  18. 'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'],
  19. monthNamesShort: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា',
  20. 'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'],
  21. dayNames: ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'],
  22. dayNamesShort: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'],
  23. dayNamesMin: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'],
  24. weekHeader: 'សប្ដាហ៍',
  25. dateFormat: 'dd-mm-yy',
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: ''};
  30. datepicker.setDefaults(datepicker.regional['km']);
  31. return datepicker.regional['km'];
  32. }));