mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker i18n: Added Australian and New Zealand localizations. Fixes #6828 - Datepicker: Add en-AU or en-NZ initialisations.
Thanks Campbell
This commit is contained in:
parent
6e0482a9cb
commit
a4d2a0fa19
@ -18,7 +18,9 @@
|
||||
<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>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-en-AU.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-en-GB.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-en-NZ.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-eo.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-es.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-et.js"></script>
|
||||
|
@ -52,7 +52,9 @@
|
||||
<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>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-en-AU.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-en-GB.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-en-NZ.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-eo.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-es.js"></script>
|
||||
<script src="../ui/i18n/jquery.ui.datepicker-et.js"></script>
|
||||
|
23
ui/i18n/jquery.ui.datepicker-en-AU.js
vendored
Normal file
23
ui/i18n/jquery.ui.datepicker-en-AU.js
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
/* English/Australia initialisation for the jQuery UI date picker plugin. */
|
||||
/* Based on the en-GB initialisation. */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['en-AU'] = {
|
||||
closeText: 'Done',
|
||||
prevText: 'Prev',
|
||||
nextText: 'Next',
|
||||
currentText: 'Today',
|
||||
monthNames: ['January','February','March','April','May','June',
|
||||
'July','August','September','October','November','December'],
|
||||
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
|
||||
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
||||
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
||||
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
||||
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
|
||||
weekHeader: 'Wk',
|
||||
dateFormat: 'dd/mm/yy',
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ''};
|
||||
$.datepicker.setDefaults($.datepicker.regional['en-AU']);
|
||||
});
|
23
ui/i18n/jquery.ui.datepicker-en-NZ.js
vendored
Normal file
23
ui/i18n/jquery.ui.datepicker-en-NZ.js
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
/* English/New Zealand initialisation for the jQuery UI date picker plugin. */
|
||||
/* Based on the en-GB initialisation. */
|
||||
jQuery(function($){
|
||||
$.datepicker.regional['en-NZ'] = {
|
||||
closeText: 'Done',
|
||||
prevText: 'Prev',
|
||||
nextText: 'Next',
|
||||
currentText: 'Today',
|
||||
monthNames: ['January','February','March','April','May','June',
|
||||
'July','August','September','October','November','December'],
|
||||
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
|
||||
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
||||
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
||||
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
||||
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
|
||||
weekHeader: 'Wk',
|
||||
dateFormat: 'dd/mm/yy',
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ''};
|
||||
$.datepicker.setDefaults($.datepicker.regional['en-NZ']);
|
||||
});
|
Loading…
Reference in New Issue
Block a user