diff options
author | William Griffiths <william@ycymro.com> | 2011-11-17 12:34:33 -0600 |
---|---|---|
committer | kborchers <k_borchers@yahoo.com> | 2011-11-17 12:34:33 -0600 |
commit | 6525365944d306931e0697b7bb909e9e48a5501c (patch) | |
tree | 6267bd6a000c762ba15afb652f8550b2dd0b4b15 /ui | |
parent | 326bfec626b3039e2d51f53d2d6d2d48cdd78207 (diff) | |
download | jquery-ui-6525365944d306931e0697b7bb909e9e48a5501c.tar.gz jquery-ui-6525365944d306931e0697b7bb909e9e48a5501c.zip |
Datepicker: Added Welsh/UK localization. Fixes #7892 Datepicker: Add Welsh/UK Localization
Diffstat (limited to 'ui')
-rw-r--r-- | ui/i18n/jquery.ui.datepicker-cy-GB.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ui/i18n/jquery.ui.datepicker-cy-GB.js b/ui/i18n/jquery.ui.datepicker-cy-GB.js new file mode 100644 index 000000000..dfee2f9d4 --- /dev/null +++ b/ui/i18n/jquery.ui.datepicker-cy-GB.js @@ -0,0 +1,23 @@ +/* Welsh/UK initialisation for the jQuery UI date picker plugin. */ +/* Written by William Griffiths. */ +jQuery(function($){ + $.datepicker.regional['cy-GB'] = { + closeText: 'Done', + prevText: 'Prev', + nextText: 'Next', + currentText: 'Today', + monthNames: ['Ionawr','Chwefror','Mawrth','Ebrill','Mai','Mehefin', + 'Gorffennaf','Awst','Medi','Hydref','Tachwedd','Rhagfyr'], + monthNamesShort: ['Ion', 'Chw', 'Maw', 'Ebr', 'Mai', 'Meh', + 'Gor', 'Aws', 'Med', 'Hyd', 'Tac', 'Rha'], + dayNames: ['Dydd Sul', 'Dydd Llun', 'Dydd Mawrth', 'Dydd Mercher', 'Dydd Iau', 'Dydd Gwener', 'Dydd Sadwrn'], + dayNamesShort: ['Sul', 'Llu', 'Maw', 'Mer', 'Iau', 'Gwe', 'Sad'], + dayNamesMin: ['Su','Ll','Ma','Me','Ia','Gw','Sa'], + weekHeader: 'Wy', + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['cy-GB']); +});
\ No newline at end of file |