Skip to content
Permalink
Browse files

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

  • Loading branch information
Keith Wood
Keith Wood committed Jun 22, 2009
1 parent 35a4052 commit 681bcc4ad06def86eeceabb8b8a062d36148cd5e
Showing with 10 additions and 0 deletions.
  1. +2 −0 demos/datepicker/localization.html
  2. +1 −0 demos/index.html
  3. +7 −0 ui/i18n/ui.datepicker-fr-CH.js
@@ -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>
@@ -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>
@@ -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']);
});

0 comments on commit 681bcc4

Please sign in to comment.
You can’t perform that action at this time.