mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Added Candian French locale. Fixes #8917 - Datepicker: Add Canadian French locale.
This commit is contained in:
parent
8ec7a1b69f
commit
9f841dffcc
@ -32,6 +32,7 @@
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-fi.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-fo.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-fr.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-fr-CA.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-gl.js"></script>
|
||||
<script src="../../ui/i18n/jquery.ui.datepicker-he.js"></script>
|
||||
@ -106,6 +107,7 @@
|
||||
<option value="be">Belarusian</option>
|
||||
<option value="bs">Bosnian (Bosanski)</option>
|
||||
<option value="bg">Bulgarian (български език)</option>
|
||||
<option value="fr-CA">Canadian French</option>
|
||||
<option value="ca">Catalan (Català)</option>
|
||||
<option value="zh-HK">Chinese Hong Kong (繁體中文)</option>
|
||||
<option value="zh-CN">Chinese Simplified (简体中文)</option>
|
||||
|
23
ui/i18n/jquery.ui.datepicker-fr-CA.js
vendored
Normal file
23
ui/i18n/jquery.ui.datepicker-fr-CA.js
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
/* Canadian-French initialisation for the jQuery UI date picker plugin. */
|
||||
jQuery(function ($) {
|
||||
$.datepicker.regional['fr-CA'] = {
|
||||
closeText: 'Fermer',
|
||||
prevText: 'Précédent',
|
||||
nextText: 'Suivant',
|
||||
currentText: 'Aujourd\'hui',
|
||||
monthNames: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin',
|
||||
'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'],
|
||||
monthNamesShort: ['janv.', 'févr.', 'mars', 'avril', 'mai', 'juin',
|
||||
'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
|
||||
dayNames: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
|
||||
dayNamesShort: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
|
||||
dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
|
||||
weekHeader: 'Sem.',
|
||||
dateFormat: 'yy-mm-dd',
|
||||
firstDay: 0,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ''
|
||||
};
|
||||
$.datepicker.setDefaults($.datepicker.regional['fr-CA']);
|
||||
});
|
Loading…
Reference in New Issue
Block a user