r2451 - Datepicker: Fixed #4462 - Estonian localization
Author: kbwood.au
Date: Tue Apr 14 05:58:53 2009
New Revision: 2451
Added:
trunk/ui/i18n/ui.datepicker-et.js
Modified:
trunk/demos/datepicker/localization.html
trunk/demos/index.html
Log:
Datepicker: Fixed #4462 - Estonian localization
Modified: trunk/demos/datepicker/localization.html
==============================================================================
--- trunk/demos/datepicker/localization.html (original)
+++ trunk/demos/datepicker/localization.html Tue Apr 14 05:58:53 2009
@@ -15,6 +15,7 @@
<script type="text/javascript"
src="../../ui/i18n/ui.datepicker-el.js"></script>
<script type="text/javascript"
src="../../ui/i18n/ui.datepicker-eo.js"></script>
<script type="text/javascript"
src="../../ui/i18n/ui.datepicker-es.js"></script>
+ <script type="text/javascript"
src="../../ui/i18n/ui.datepicker-et.js"></script>
<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>
@@ -76,6 +77,7 @@
<option value="da">Danish (Dansk)</option>
<option value="nl">Dutch (Nederlands)</option>
<option value="eo">Esperanto</option>
+ <option value="et">Estonian (eesti keel)</option>
<option value="fa">Farsi/Persian
(‫(فارسی</option>
<option value="fi">Finnish (suomi)</option>
<option value="fr" selected="selected">French (Français)</option>
Modified: trunk/demos/index.html
==============================================================================
--- trunk/demos/index.html (original)
+++ trunk/demos/index.html Tue Apr 14 05:58:53 2009
@@ -41,6 +41,7 @@
<script type="text/javascript"
src="../ui/i18n/ui.datepicker-el.js"></script>
<script type="text/javascript"
src="../ui/i18n/ui.datepicker-eo.js"></script>
<script type="text/javascript"
src="../ui/i18n/ui.datepicker-es.js"></script>
+ <script type="text/javascript"
src="../ui/i18n/ui.datepicker-et.js"></script>
<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>
Added: trunk/ui/i18n/ui.datepicker-et.js
==============================================================================
--- (empty file)
+++ trunk/ui/i18n/ui.datepicker-et.js Tue Apr 14 05:58:53 2009
@@ -0,0 +1,22 @@
+/* Estonian initialisation for the jQuery UI date picker plugin. */
+/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
+jQuery(function($){
+ $.datepicker.regional['et'] = {
+ closeText: 'Sulge',
+ prevText: 'Eelnev',
+ nextText: 'Järgnev',
+ currentText: 'Täna',
+ monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
+ 'Juuli','August','September','Oktoober','November','Detsember'],
+ monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
+ 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
+ dayNames:
['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
+ dayNamesShort:
['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
+ dayNamesMin: ['P','E','T','K','N','R','L'],
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['et']);
+});
\ No newline at end of file