jquery.ui.datepicker.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* Welsh/UK initialisation for the jQuery UI date picker plugin. */
  2. /* Written by William Griffiths. */
  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[ "cy-GB" ] = {
  15. closeText: "Done",
  16. prevText: "Prev",
  17. nextText: "Next",
  18. currentText: "Today",
  19. monthNames: [ "Ionawr", "Chwefror", "Mawrth", "Ebrill", "Mai", "Mehefin",
  20. "Gorffennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr" ],
  21. monthNamesShort: [ "Ion", "Chw", "Maw", "Ebr", "Mai", "Meh",
  22. "Gor", "Aws", "Med", "Hyd", "Tac", "Rha" ],
  23. dayNames: [
  24. "Dydd Sul",
  25. "Dydd Llun",
  26. "Dydd Mawrth",
  27. "Dydd Mercher",
  28. "Dydd Iau",
  29. "Dydd Gwener",
  30. "Dydd Sadwrn"
  31. ],
  32. dayNamesShort: [ "Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad" ],
  33. dayNamesMin: [ "Su", "Ll", "Ma", "Me", "Ia", "Gw", "Sa" ],
  34. weekHeader: "Wy",
  35. dateFormat: "dd/mm/yy",
  36. firstDay: 1,
  37. isRTL: false,
  38. showMonthAfterYear: false,
  39. yearSuffix: "" };
  40. datepicker.setDefaults( datepicker.regional[ "cy-GB" ] );
  41. return datepicker.regional[ "cy-GB" ];
  42. } );