mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Added Welsh/UK localization. Fixes #7892 Datepicker: Add Welsh/UK Localization
(cherry picked from commit 6525365944
)
This commit is contained in:
parent
a8b75a5b9e
commit
a03863d017
@ -16,6 +16,7 @@
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-bs.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-ca.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-cs.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-cy-GB.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-da.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-de.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-el.js"></script>
|
||||
@ -150,6 +151,7 @@
|
||||
<option value="tr">Turkish (Türkçe)</option>
|
||||
<option value="uk">Ukranian (Українська)</option>
|
||||
<option value="vi">Vietnamese (Tiếng Việt)</option>
|
||||
<option value="cy-GB">Welsh/UK (Cymraeg)</option>
|
||||
</select></p>
|
||||
|
||||
</div><!-- End demo -->
|
||||
|
@ -45,6 +45,7 @@
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-bg.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-ca.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-cs.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-cy-GB.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-da.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-de.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-el.js"></script>
|
||||
|
23
ui/i18n/jquery.ui.datepicker-cy-GB.js
vendored
Normal file
23
ui/i18n/jquery.ui.datepicker-cy-GB.js
vendored
Normal file
@ -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']);
|
||||
});
|
Loading…
Reference in New Issue
Block a user