[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
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 ) { 5 6 // AMD. Register as an anonymous module. 7 define( [ "../widgets/datepicker" ], factory ); 8 } else { 9 10 // Browser globals 11 factory( jQuery.datepicker ); 12 } 13 }( function( datepicker ) { 14 15 datepicker.regional[ "cy-GB" ] = { 16 closeText: "Done", 17 prevText: "Prev", 18 nextText: "Next", 19 currentText: "Today", 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" ], 24 dayNames: [ 25 "Dydd Sul", 26 "Dydd Llun", 27 "Dydd Mawrth", 28 "Dydd Mercher", 29 "Dydd Iau", 30 "Dydd Gwener", 31 "Dydd Sadwrn" 32 ], 33 dayNamesShort: [ "Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad" ], 34 dayNamesMin: [ "Su","Ll","Ma","Me","Ia","Gw","Sa" ], 35 weekHeader: "Wy", 36 dateFormat: "dd/mm/yy", 37 firstDay: 1, 38 isRTL: false, 39 showMonthAfterYear: false, 40 yearSuffix: "" }; 41 datepicker.setDefaults( datepicker.regional[ "cy-GB" ] ); 42 43 return datepicker.regional[ "cy-GB" ]; 44 45 } ) );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body