From: Keith Wood Date: Tue, 14 Apr 2009 12:58:53 +0000 (+0000) Subject: Datepicker: Fixed #4462 - Estonian localization X-Git-Tag: 1.8a1~151 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3c7b61299333d1ec3f4d4d773b1ec4296129a98e;p=jquery-ui.git Datepicker: Fixed #4462 - Estonian localization --- 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 @@ + @@ -76,6 +77,7 @@ + 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 @@ + 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