]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: Fixed #4462 - Estonian localization
authorKeith Wood <kbwood.au@gmail.com>
Tue, 14 Apr 2009 12:58:53 +0000 (12:58 +0000)
committerKeith Wood <kbwood.au@gmail.com>
Tue, 14 Apr 2009 12:58:53 +0000 (12:58 +0000)
demos/datepicker/localization.html
demos/index.html
ui/i18n/ui.datepicker-et.js [new file with mode: 0644]

index 36d90f01261b306df546b1ef09d73097142fa57e..42d4b7da0885a88136843ef7ec16e5b339362b25 100644 (file)
@@ -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>
index 771ac6c06f35d74f29a9ade1e8947adee1ba7bfa..534ccdcbd614fa2e3843989b1cf55a1f94d60b81 100644 (file)
@@ -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 (file)
index 0000000..f23e717
--- /dev/null
@@ -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