14fce914c33ebf2ac0712c83a68e8182fed6fc75
1 /* Welsh/UK initialisation for the jQuery UI date picker plugin. */
2 /* Written by William Griffiths. */
3 ( function( factory
) {
4 if ( typeof define
=== "function" && define
.amd
) {
6 // AMD. Register as an anonymous module.
7 define( [ "../widgets/datepicker" ], factory
);
11 factory( jQuery
.datepicker
);
13 }( function( datepicker
) {
15 datepicker
.regional
[ "cy-GB" ] = {
20 monthNames
: [ "Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin",
21 "Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr" ],
22 monthNamesShort
: [ "Ion", "Chw", "Maw", "Ebr", "Mai", "Meh",
23 "Gor", "Aws", "Med", "Hyd", "Tac", "Rha" ],
33 dayNamesShort
: [ "Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad" ],
34 dayNamesMin
: [ "Su","Ll","Ma","Me","Ia","Gw","Sa" ],
36 dateFormat
: "dd/mm/yy",
39 showMonthAfterYear
: false,
41 datepicker
.setDefaults( datepicker
.regional
[ "cy-GB" ] );
43 return datepicker
.regional
[ "cy-GB" ];