1 | /* Welsh/UK initialisation for the jQuery UI date picker plugin. */ |
---|
2 | /* Written by William Griffiths. */ |
---|
3 | jQuery(function($){ |
---|
4 | $.datepicker.regional['cy-GB'] = { |
---|
5 | closeText: 'Done', |
---|
6 | prevText: 'Prev', |
---|
7 | nextText: 'Next', |
---|
8 | currentText: 'Today', |
---|
9 | monthNames: ['Ionawr','Chwefror','Mawrth','Ebrill','Mai','Mehefin', |
---|
10 | 'Gorffennaf','Awst','Medi','Hydref','Tachwedd','Rhagfyr'], |
---|
11 | monthNamesShort: ['Ion', 'Chw', 'Maw', 'Ebr', 'Mai', 'Meh', |
---|
12 | 'Gor', 'Aws', 'Med', 'Hyd', 'Tac', 'Rha'], |
---|
13 | dayNames: ['Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', 'Dydd Sadwrn'], |
---|
14 | dayNamesShort: ['Sul', 'Llu', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], |
---|
15 | dayNamesMin: ['Su','Ll','Ma','Me','Ia','Gw','Sa'], |
---|
16 | weekHeader: 'Wy', |
---|
17 | dateFormat: 'dd/mm/yy', |
---|
18 | firstDay: 1, |
---|
19 | isRTL: false, |
---|
20 | showMonthAfterYear: false, |
---|
21 | yearSuffix: ''}; |
---|
22 | $.datepicker.setDefaults($.datepicker.regional['cy-GB']); |
---|
23 | }); |
---|