Skip to content
Permalink
Browse files

Datepicker: fixed #4085 - Can not display year and month correctly in…

… Japanese
  • Loading branch information
Keith Wood
Keith Wood committed Apr 1, 2009
1 parent 89905e2 commit fea2eeb0d73add46dc4798ecca87692a22c57b6d
Showing with 211 additions and 95 deletions.
  1. +3 −2 ui/i18n/ui.datepicker-ar.js
  2. +5 −2 ui/i18n/ui.datepicker-bg.js
  3. +5 −2 ui/i18n/ui.datepicker-ca.js
  4. +5 −2 ui/i18n/ui.datepicker-cs.js
  5. +5 −2 ui/i18n/ui.datepicker-da.js
  6. +5 −2 ui/i18n/ui.datepicker-de.js
  7. +5 −2 ui/i18n/ui.datepicker-el.js
  8. +5 −2 ui/i18n/ui.datepicker-eo.js
  9. +5 −2 ui/i18n/ui.datepicker-es.js
  10. +5 −2 ui/i18n/ui.datepicker-fa.js
  11. +5 −2 ui/i18n/ui.datepicker-fi.js
  12. +6 −3 ui/i18n/ui.datepicker-fr.js
  13. +5 −2 ui/i18n/ui.datepicker-he.js
  14. +5 −2 ui/i18n/ui.datepicker-hr.js
  15. +5 −2 ui/i18n/ui.datepicker-hu.js
  16. +5 −2 ui/i18n/ui.datepicker-hy.js
  17. +5 −2 ui/i18n/ui.datepicker-id.js
  18. +5 −2 ui/i18n/ui.datepicker-is.js
  19. +5 −2 ui/i18n/ui.datepicker-it.js
  20. +4 −2 ui/i18n/ui.datepicker-ja.js
  21. +5 −2 ui/i18n/ui.datepicker-ko.js
  22. +5 −2 ui/i18n/ui.datepicker-lt.js
  23. +5 −2 ui/i18n/ui.datepicker-lv.js
  24. +5 −2 ui/i18n/ui.datepicker-ms.js
  25. +5 −2 ui/i18n/ui.datepicker-nl.js
  26. +5 −2 ui/i18n/ui.datepicker-no.js
  27. +5 −2 ui/i18n/ui.datepicker-pl.js
  28. +5 −2 ui/i18n/ui.datepicker-pt-BR.js
  29. +5 −2 ui/i18n/ui.datepicker-ro.js
  30. +5 −2 ui/i18n/ui.datepicker-ru.js
  31. +5 −2 ui/i18n/ui.datepicker-sk.js
  32. +5 −2 ui/i18n/ui.datepicker-sl.js
  33. +5 −2 ui/i18n/ui.datepicker-sq.js
  34. +5 −2 ui/i18n/ui.datepicker-sr-SR.js
  35. +5 −2 ui/i18n/ui.datepicker-sr.js
  36. +5 −2 ui/i18n/ui.datepicker-sv.js
  37. +5 −2 ui/i18n/ui.datepicker-th.js
  38. +5 −2 ui/i18n/ui.datepicker-tr.js
  39. +9 −12 ui/i18n/ui.datepicker-uk.js
  40. +5 −2 ui/i18n/ui.datepicker-zh-CN.js
  41. +5 −2 ui/i18n/ui.datepicker-zh-TW.js
  42. +4 −2 ui/ui.datepicker.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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -13,7 +13,10 @@ jQuery(function($){
dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});
@@ -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']);
});

0 comments on commit fea2eeb

Please sign in to comment.
You can’t perform that action at this time.