Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Datepicker: Added Welsh/UK localization. Fixes #7892 Datepicker: Add …
…Welsh/UK Localization (cherry picked from commit 6525365)
- Loading branch information
1 parent
a8b75a5
commit a03863d
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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']); | ||
}); |