From: Keith Wood Date: Wed, 1 Apr 2009 10:34:16 +0000 (+0000) Subject: Datepicker: fixed #4085 - Can not display year and month correctly in Japanese X-Git-Tag: 1.8a1~169 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fea2eeb0d73add46dc4798ecca87692a22c57b6d;p=jquery-ui.git Datepicker: fixed #4085 - Can not display year and month correctly in Japanese --- diff --git a/ui/i18n/ui.datepicker-ar.js b/ui/i18n/ui.datepicker-ar.js index d88ba05c8..b71412d19 100644 --- a/ui/i18n/ui.datepicker-ar.js +++ b/ui/i18n/ui.datepicker-ar.js @@ -16,7 +16,8 @@ jQuery(function($){ dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'], dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: true - }; + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['ar']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-bg.js b/ui/i18n/ui.datepicker-bg.js index a73884ef2..984da7b71 100644 --- a/ui/i18n/ui.datepicker-bg.js +++ b/ui/i18n/ui.datepicker-bg.js @@ -14,7 +14,10 @@ jQuery(function($){ dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'], dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'], dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['bg']); }); diff --git a/ui/i18n/ui.datepicker-ca.js b/ui/i18n/ui.datepicker-ca.js index ad47af0bb..360d7b20f 100644 --- a/ui/i18n/ui.datepicker-ca.js +++ b/ui/i18n/ui.datepicker-ca.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'], dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'], dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'], - dateFormat: 'mm/dd/yy', firstDay: 0, - isRTL: false}; + dateFormat: 'mm/dd/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['ca']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-cs.js b/ui/i18n/ui.datepicker-cs.js index 334ae2f46..90d54be90 100644 --- a/ui/i18n/ui.datepicker-cs.js +++ b/ui/i18n/ui.datepicker-cs.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'], dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'], dayNamesMin: ['ne','po','út','st','čt','pá','so'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['cs']); }); diff --git a/ui/i18n/ui.datepicker-da.js b/ui/i18n/ui.datepicker-da.js index 8ad1e2cc3..93b5340aa 100644 --- a/ui/i18n/ui.datepicker-da.js +++ b/ui/i18n/ui.datepicker-da.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], - dateFormat: 'dd-mm-yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd-mm-yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['da']); }); diff --git a/ui/i18n/ui.datepicker-de.js b/ui/i18n/ui.datepicker-de.js index f9299c815..d08f207e4 100644 --- a/ui/i18n/ui.datepicker-de.js +++ b/ui/i18n/ui.datepicker-de.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['de']); }); diff --git a/ui/i18n/ui.datepicker-el.js b/ui/i18n/ui.datepicker-el.js index 535080da0..c3390dba2 100644 --- a/ui/i18n/ui.datepicker-el.js +++ b/ui/i18n/ui.datepicker-el.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'], dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'], dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'], - dateFormat: 'dd/mm/yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['el']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-eo.js b/ui/i18n/ui.datepicker-eo.js index 28abac4a3..d27f503f5 100644 --- a/ui/i18n/ui.datepicker-eo.js +++ b/ui/i18n/ui.datepicker-eo.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ä´aÅ­do','Vendredo','Sabato'], dayNamesShort: ['Dim','Lun','Mar','Mer','Ä´aÅ­','Ven','Sab'], dayNamesMin: ['Di','Lu','Ma','Me','Ä´a','Ve','Sa'], - dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['eo']); }); diff --git a/ui/i18n/ui.datepicker-es.js b/ui/i18n/ui.datepicker-es.js index 0a699afe7..f629e75d2 100644 --- a/ui/i18n/ui.datepicker-es.js +++ b/ui/i18n/ui.datepicker-es.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'], dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'], dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'], - dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['es']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-fa.js b/ui/i18n/ui.datepicker-fa.js index e40e1acd4..77b22ad83 100644 --- a/ui/i18n/ui.datepicker-fa.js +++ b/ui/i18n/ui.datepicker-fa.js @@ -13,7 +13,10 @@ jQuery(function($) { dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'], dayNamesShort: ['ي','د','س','چ','Ù¾','ج', 'Ø´'], dayNamesMin: ['ي','د','س','چ','Ù¾','ج', 'Ø´'], - dateFormat: 'yy/mm/dd', firstDay: 6, - isRTL: true}; + dateFormat: 'yy/mm/dd', + firstDay: 6, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['fa']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-fi.js b/ui/i18n/ui.datepicker-fi.js index 3a0943fd7..900bd60f4 100644 --- a/ui/i18n/ui.datepicker-fi.js +++ b/ui/i18n/ui.datepicker-fi.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'], dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'], dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['fi']); }); diff --git a/ui/i18n/ui.datepicker-fr.js b/ui/i18n/ui.datepicker-fr.js index 02edda29d..12c747739 100644 --- a/ui/i18n/ui.datepicker-fr.js +++ b/ui/i18n/ui.datepicker-fr.js @@ -1,5 +1,5 @@ /* French initialisation for the jQuery UI date picker plugin. */ -/* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ +/* Written by Keith Wood (kbwood{at}iinet.com.au) and Stéphane Nahmani (sholby@sholby.net). */ jQuery(function($){ $.datepicker.regional['fr'] = { closeText: 'Fermer', @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], - dateFormat: 'dd/mm/yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['fr']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-he.js b/ui/i18n/ui.datepicker-he.js index 38e0a03e2..0b080fb3f 100644 --- a/ui/i18n/ui.datepicker-he.js +++ b/ui/i18n/ui.datepicker-he.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'], dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'], - dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: true}; + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: true, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['he']); }); diff --git a/ui/i18n/ui.datepicker-hr.js b/ui/i18n/ui.datepicker-hr.js index 662ec5fe2..852bbd111 100644 --- a/ui/i18n/ui.datepicker-hr.js +++ b/ui/i18n/ui.datepicker-hr.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'], dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'], dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], - dateFormat: 'dd.mm.yy.', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy.', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['hr']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-hu.js b/ui/i18n/ui.datepicker-hu.js index ee102acd0..21b96d3a3 100644 --- a/ui/i18n/ui.datepicker-hu.js +++ b/ui/i18n/ui.datepicker-hu.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Vasámap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'], dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'], dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'], - dateFormat: 'yy-mm-dd', firstDay: 1, - isRTL: false}; + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['hu']); }); diff --git a/ui/i18n/ui.datepicker-hy.js b/ui/i18n/ui.datepicker-hy.js index 1ffbeaae0..3e6f73352 100644 --- a/ui/i18n/ui.datepicker-hy.js +++ b/ui/i18n/ui.datepicker-hy.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','Õ°Õ«Õ¶Õ£Õ·Õ¡Õ¢Õ©Õ«','ուրբաթ','Õ·Õ¡Õ¢Õ¡Õ©'], dayNamesShort: ['կիր','երկ','երք','չրք','Õ°Õ¶Õ£','ուրբ','Õ·Õ¢Õ©'], dayNamesMin: ['կիր','երկ','երք','չրք','Õ°Õ¶Õ£','ուրբ','Õ·Õ¢Õ©'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['hy']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-id.js b/ui/i18n/ui.datepicker-id.js index e5246c85d..de57eeefe 100644 --- a/ui/i18n/ui.datepicker-id.js +++ b/ui/i18n/ui.datepicker-id.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], - dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['id']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-is.js b/ui/i18n/ui.datepicker-is.js index 68c1a07d4..53accedf6 100644 --- a/ui/i18n/ui.datepicker-is.js +++ b/ui/i18n/ui.datepicker-is.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Sunnudagur','Mánudagur','Þriðjudagur','Miðvikudagur','Fimmtudagur','Föstudagur','Laugardagur'], dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'], dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'], - dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['is']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-it.js b/ui/i18n/ui.datepicker-it.js index f3e691e5e..2d6693a99 100644 --- a/ui/i18n/ui.datepicker-it.js +++ b/ui/i18n/ui.datepicker-it.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'], dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'], dayNamesMin: ['Do','Lu','Ma','Me','Gio','Ve','Sa'], - dateFormat: 'dd/mm/yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['it']); }); diff --git a/ui/i18n/ui.datepicker-ja.js b/ui/i18n/ui.datepicker-ja.js index a6a5f45ce..7da88d43a 100644 --- a/ui/i18n/ui.datepicker-ja.js +++ b/ui/i18n/ui.datepicker-ja.js @@ -13,8 +13,10 @@ jQuery(function($){ dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'], dayNamesShort: ['日','月','火','æ°´','木','金','土'], dayNamesMin: ['日','月','火','æ°´','木','金','土'], - dateFormat: 'yy/mm/dd', firstDay: 0, + dateFormat: 'yy/mm/dd', + firstDay: 0, isRTL: false, - showMonthAfterYear: true}; + showMonthAfterYear: true, + yearSuffix: 'å¹´'}; $.datepicker.setDefaults($.datepicker.regional['ja']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-ko.js b/ui/i18n/ui.datepicker-ko.js index 53ede9142..14767c570 100644 --- a/ui/i18n/ui.datepicker-ko.js +++ b/ui/i18n/ui.datepicker-ko.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['일','월','화','수','목','금','토'], dayNamesShort: ['일','월','화','수','목','금','토'], dayNamesMin: ['일','월','화','수','목','금','토'], - dateFormat: 'yy-mm-dd', firstDay: 0, - isRTL: false}; + dateFormat: 'yy-mm-dd', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['ko']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-lt.js b/ui/i18n/ui.datepicker-lt.js index a8a6aa1a4..9e6a174fe 100644 --- a/ui/i18n/ui.datepicker-lt.js +++ b/ui/i18n/ui.datepicker-lt.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','Å¡eÅ¡tadienis'], dayNamesShort: ['sek','pir','ant','tre','ket','pen','Å¡eÅ¡'], dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Å e'], - dateFormat: 'yy-mm-dd', firstDay: 1, - isRTL: false}; + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['lt']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-lv.js b/ui/i18n/ui.datepicker-lv.js index 12c32f83c..00bc8f713 100644 --- a/ui/i18n/ui.datepicker-lv.js +++ b/ui/i18n/ui.datepicker-lv.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['svētdiena','pirmdiena','otrdiena','treÅ¡diena','ceturtdiena','piektdiena','sestdiena'], dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'], dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'], - dateFormat: 'dd-mm-yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd-mm-yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['lv']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-ms.js b/ui/i18n/ui.datepicker-ms.js index fa253059f..adca358d1 100644 --- a/ui/i18n/ui.datepicker-ms.js +++ b/ui/i18n/ui.datepicker-ms.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Ahad','Isnin','Selasa','Rabu','Khamis','Jumaat','Sabtu'], dayNamesShort: ['Aha','Isn','Sel','Rab','kha','Jum','Sab'], dayNamesMin: ['Ah','Is','Se','Ra','Kh','Ju','Sa'], - dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['ms']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-nl.js b/ui/i18n/ui.datepicker-nl.js index 938dc5ef6..7e1f6fc6e 100644 --- a/ui/i18n/ui.datepicker-nl.js +++ b/ui/i18n/ui.datepicker-nl.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'], dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'], dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'], - dateFormat: 'dd/mm/yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional.nl); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-no.js b/ui/i18n/ui.datepicker-no.js index d81f6bb2e..22fe7ba23 100644 --- a/ui/i18n/ui.datepicker-no.js +++ b/ui/i18n/ui.datepicker-no.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], - dateFormat: 'yy-mm-dd', firstDay: 0, - isRTL: false}; + dateFormat: 'yy-mm-dd', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['no']); }); diff --git a/ui/i18n/ui.datepicker-pl.js b/ui/i18n/ui.datepicker-pl.js index 0ce38bea8..8cd971dd6 100644 --- a/ui/i18n/ui.datepicker-pl.js +++ b/ui/i18n/ui.datepicker-pl.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Niedziela','Poniedzialek','Wtorek','Środa','Czwartek','Piątek','Sobota'], dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'], dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'], - dateFormat: 'yy-mm-dd', firstDay: 1, - isRTL: false}; + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['pl']); }); diff --git a/ui/i18n/ui.datepicker-pt-BR.js b/ui/i18n/ui.datepicker-pt-BR.js index e3ac652b3..a35a63bf1 100644 --- a/ui/i18n/ui.datepicker-pt-BR.js +++ b/ui/i18n/ui.datepicker-pt-BR.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sabado'], dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'], - dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['pt-BR']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-ro.js b/ui/i18n/ui.datepicker-ro.js index ec4033cc7..c833abc39 100644 --- a/ui/i18n/ui.datepicker-ro.js +++ b/ui/i18n/ui.datepicker-ro.js @@ -16,7 +16,10 @@ jQuery(function($){ dayNames: ['Duminică', 'Luni', 'MarÅ£i', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'], dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'], dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'], - dateFormat: 'dd MM yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd MM yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['ro']); }); diff --git a/ui/i18n/ui.datepicker-ru.js b/ui/i18n/ui.datepicker-ru.js index 62752c7f5..2c5cfa256 100644 --- a/ui/i18n/ui.datepicker-ru.js +++ b/ui/i18n/ui.datepicker-ru.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'], dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'], dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['ru']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-sk.js b/ui/i18n/ui.datepicker-sk.js index a023ffa77..9b034aa15 100644 --- a/ui/i18n/ui.datepicker-sk.js +++ b/ui/i18n/ui.datepicker-sk.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Nedel\'a','Pondelok','Utorok','Streda','Å tvrtok','Piatok','Sobota'], dayNamesShort: ['Ned','Pon','Uto','Str','Å tv','Pia','Sob'], dayNamesMin: ['Ne','Po','Ut','St','Å t','Pia','So'], - dateFormat: 'dd.mm.yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['sk']); }); diff --git a/ui/i18n/ui.datepicker-sl.js b/ui/i18n/ui.datepicker-sl.js index 480a4d813..4339bde51 100644 --- a/ui/i18n/ui.datepicker-sl.js +++ b/ui/i18n/ui.datepicker-sl.js @@ -14,7 +14,10 @@ jQuery(function($){ dayNames: ['Nedelja','Ponedeljek','Torek','Sreda','Četrtek','Petek','Sobota'], dayNamesShort: ['Ned','Pon','Tor','Sre','Čet','Pet','Sob'], dayNamesMin: ['Ne','Po','To','Sr','Če','Pe','So'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['sl']); }); diff --git a/ui/i18n/ui.datepicker-sq.js b/ui/i18n/ui.datepicker-sq.js index ac67e68c8..292d41231 100644 --- a/ui/i18n/ui.datepicker-sq.js +++ b/ui/i18n/ui.datepicker-sq.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['E Diel','E Hënë','E Martë','E Mërkurë','E Enjte','E Premte','E Shtune'], dayNamesShort: ['Di','Hë','Ma','Më','En','Pr','Sh'], dayNamesMin: ['Di','Hë','Ma','Më','En','Pr','Sh'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['sq']); }); diff --git a/ui/i18n/ui.datepicker-sr-SR.js b/ui/i18n/ui.datepicker-sr-SR.js index 059fc3831..35e58c145 100644 --- a/ui/i18n/ui.datepicker-sr-SR.js +++ b/ui/i18n/ui.datepicker-sr-SR.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'], dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'], dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], - dateFormat: 'dd/mm/yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['sr-SR']); }); diff --git a/ui/i18n/ui.datepicker-sr.js b/ui/i18n/ui.datepicker-sr.js index 179458ba0..8d49f0358 100644 --- a/ui/i18n/ui.datepicker-sr.js +++ b/ui/i18n/ui.datepicker-sr.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'], dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'], dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'], - dateFormat: 'dd/mm/yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['sr']); }); diff --git a/ui/i18n/ui.datepicker-sv.js b/ui/i18n/ui.datepicker-sv.js index 47c4b24e4..c2a48e7a3 100644 --- a/ui/i18n/ui.datepicker-sv.js +++ b/ui/i18n/ui.datepicker-sv.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNamesShort: ['Sön','MÃ¥n','Tis','Ons','Tor','Fre','Lör'], dayNames: ['Söndag','MÃ¥ndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'], dayNamesMin: ['Sö','MÃ¥','Ti','On','To','Fr','Lö'], - dateFormat: 'yy-mm-dd', firstDay: 1, - isRTL: false}; + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['sv']); }); diff --git a/ui/i18n/ui.datepicker-th.js b/ui/i18n/ui.datepicker-th.js index 3c2a02b5e..3f9c7480f 100644 --- a/ui/i18n/ui.datepicker-th.js +++ b/ui/i18n/ui.datepicker-th.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'], dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'], - dateFormat: 'dd/mm/yy', firstDay: 0, - isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 0, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['th']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-tr.js b/ui/i18n/ui.datepicker-tr.js index 5817b2ac0..6a2706f93 100644 --- a/ui/i18n/ui.datepicker-tr.js +++ b/ui/i18n/ui.datepicker-tr.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'], dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'], - dateFormat: 'dd.mm.yy', firstDay: 1, - isRTL: false}; + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['tr']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-uk.js b/ui/i18n/ui.datepicker-uk.js index 1043d7cd8..008e41241 100644 --- a/ui/i18n/ui.datepicker-uk.js +++ b/ui/i18n/ui.datepicker-uk.js @@ -2,24 +2,21 @@ /* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ jQuery(function($){ $.datepicker.regional['uk'] = { - clearText: 'Очистити', clearStatus: '', - closeText: 'Закрити', closeStatus: '', - prevText: '<', prevStatus: '', - prevBigText: '<<', prevBigStatus: '', - nextText: '>', nextStatus: '', - nextBigText: '>>', nextBigStatus: '', - currentText: 'Сьогодні', currentStatus: '', + closeText: 'Закрити', + prevText: '<', + nextText: '>', + currentText: 'Сьогодні', monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень', 'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'], monthNamesShort: ['Січ','Лют','Бер','Кві','Тра','Чер', 'Лип','Сер','Вер','Жов','Лис','Гру'], - monthStatus: '', yearStatus: '', - weekHeader: 'Не', weekStatus: '', dayNames: ['неділя','понеділок','вівторок','середа','четвер','п’ятниця','субота'], dayNamesShort: ['нед','пнд','вів','срд','чтв','птн','сбт'], dayNamesMin: ['Нд','Пн','Вт','Ср','Чт','Пт','Сб'], - dayStatus: 'DD', dateStatus: 'D, M d', - dateFormat: 'dd/mm/yy', firstDay: 1, - initStatus: '', isRTL: false}; + dateFormat: 'dd/mm/yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['uk']); }); \ No newline at end of file diff --git a/ui/i18n/ui.datepicker-zh-CN.js b/ui/i18n/ui.datepicker-zh-CN.js index e3a69dc6d..6a21f4a48 100644 --- a/ui/i18n/ui.datepicker-zh-CN.js +++ b/ui/i18n/ui.datepicker-zh-CN.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], dayNamesMin: ['日','一','二','三','四','五','六'], - dateFormat: 'yy-mm-dd', firstDay: 1, - isRTL: false}; + dateFormat: 'yy-mm-dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['zh-CN']); }); diff --git a/ui/i18n/ui.datepicker-zh-TW.js b/ui/i18n/ui.datepicker-zh-TW.js index 9cb49b72b..a01c93f8d 100644 --- a/ui/i18n/ui.datepicker-zh-TW.js +++ b/ui/i18n/ui.datepicker-zh-TW.js @@ -13,7 +13,10 @@ jQuery(function($){ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'], dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'], dayNamesMin: ['日','一','二','三','四','五','六'], - dateFormat: 'yy/mm/dd', firstDay: 1, - isRTL: false}; + dateFormat: 'yy/mm/dd', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; $.datepicker.setDefaults($.datepicker.regional['zh-TW']); }); diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index b13ab4bd9..bc5b5cc13 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -52,7 +52,9 @@ function Datepicker() { dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column headings for days starting at Sunday dateFormat: 'mm/dd/yy', // See format options on parseDate firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ... - isRTL: false // True if right-to-left language, false if left-to-right + isRTL: false, // True if right-to-left language, false if left-to-right + showMonthAfterYear: false, // True if the year select precedes month, false for month then year + yearSuffix: '' // Additional text to append to the year in the month headers }; this._defaults = { // Global defaults for all the date picker instances showOn: 'focus', // 'focus' for popup on focus, @@ -71,7 +73,6 @@ function Datepicker() { gotoCurrent: false, // True if today link goes back to current selection instead changeMonth: false, // True if month can be selected directly, false if only prev/next changeYear: false, // True if year can be selected directly, false if only prev/next - showMonthAfterYear: false, // True if the year select precedes month, false for month then year yearRange: '-10:+10', // Range of years to display in drop-down, // either relative to current year (-nn:+nn) or absolute (nnnn:nnnn) showOtherMonths: false, // True to show dates in other months, false to leave blank @@ -1456,6 +1457,7 @@ $.extend(Datepicker.prototype, { } html += ''; } + html += this._get(inst, 'yearSuffix'); if (showMonthAfterYear) html += (secondary || changeMonth || changeYear ? ' ' : '') + monthHtml; html += ''; // Close datepicker_header