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