Datepicker: Fixed #4613 Datepicker Swiss-French (fr-CH) localization

This commit is contained in:
Keith Wood 2009-06-22 02:43:30 +00:00
parent 35a4052aba
commit 681bcc4ad0
3 changed files with 10 additions and 0 deletions

View File

@ -21,6 +21,7 @@
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fa.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fi.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-fr-CH.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-he.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hr.js"></script>
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-hu.js"></script>
@ -86,6 +87,7 @@
<option value="fa">Farsi/Persian (&#8235;(&#1601;&#1575;&#1585;&#1587;&#1740;</option>
<option value="fi">Finnish (suomi)</option>
<option value="fr" selected="selected">French (Fran&ccedil;ais)</option>
<option value="fr-CH">French/Swiss (Fran&ccedil;ais de Suisse)</option>
<option value="de">German (Deutsch)</option>
<option value="el">Greek (&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;)</option>
<option value="he">Hebrew (&#8235;(&#1506;&#1489;&#1512;&#1497;&#1514;</option>

View File

@ -47,6 +47,7 @@
<script type="text/javascript" src="../ui/i18n/ui.datepicker-fa.js"></script>
<script type="text/javascript" src="../ui/i18n/ui.datepicker-fi.js"></script>
<script type="text/javascript" src="../ui/i18n/ui.datepicker-fr.js"></script>
<script type="text/javascript" src="../ui/i18n/ui.datepicker-fr-CH.js"></script>
<script type="text/javascript" src="../ui/i18n/ui.datepicker-he.js"></script>
<script type="text/javascript" src="../ui/i18n/ui.datepicker-hr.js"></script>
<script type="text/javascript" src="../ui/i18n/ui.datepicker-hu.js"></script>

View File

@ -0,0 +1,7 @@
/* Swiss-French initialisation for the jQuery UI date picker plugin. */
/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */
jQuery(function($){
$.datepicker.regional['fr-CH'] =
$.extend({}, $.datepicker.regional['fr'], {dateFormat: 'dd.mm.yy'});
$.datepicker.setDefaults($.datepicker.regional['fr-CH']);
});