aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2009-04-14 12:58:53 +0000
committerKeith Wood <kbwood.au@gmail.com>2009-04-14 12:58:53 +0000
commit3c7b61299333d1ec3f4d4d773b1ec4296129a98e (patch)
tree4176a1dd9751683d8459cc069af8984577167422
parent5a2ca0e6377dabb96221c767068bc174dead17f8 (diff)
downloadjquery-ui-3c7b61299333d1ec3f4d4d773b1ec4296129a98e.tar.gz
jquery-ui-3c7b61299333d1ec3f4d4d773b1ec4296129a98e.zip
Datepicker: Fixed #4462 - Estonian localization
-rw-r--r--demos/datepicker/localization.html2
-rw-r--r--demos/index.html1
-rw-r--r--ui/i18n/ui.datepicker-et.js22
3 files changed, 25 insertions, 0 deletions
diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html
index 36d90f012..42d4b7da0 100644
--- a/demos/datepicker/localization.html
+++ b/demos/datepicker/localization.html
@@ -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 (&#8235;(&#1601;&#1575;&#1585;&#1587;&#1740;</option>
<option value="fi">Finnish (suomi)</option>
<option value="fr" selected="selected">French (Fran&ccedil;ais)</option>
diff --git a/demos/index.html b/demos/index.html
index 771ac6c06..534ccdcbd 100644
--- a/demos/index.html
+++ b/demos/index.html
@@ -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>
diff --git a/ui/i18n/ui.datepicker-et.js b/ui/i18n/ui.datepicker-et.js
new file mode 100644
index 000000000..f23e717da
--- /dev/null
+++ b/ui/i18n/ui.datepicker-et.js
@@ -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