Merge branch 'master' of github.com:jquery/jquery-ui

This commit is contained in:
jzaefferer 2011-02-21 14:45:54 +01:00
commit 84a4a4442d
51 changed files with 136 additions and 134 deletions

View File

@ -166,9 +166,11 @@ test( "direct usage", function() {
});
test( "error handling", function() {
expect( 2 );
expect( 3 );
var error = $.error;
$.widget( "ui.testWidget", {} );
$.widget( "ui.testWidget", {
_privateMethod: function () {}
});
$.error = function( msg ) {
equal( msg, "cannot call methods on testWidget prior to initialization; " +
"attempted to call method 'missing'", "method call before init" );
@ -179,6 +181,11 @@ test( "error handling", function() {
"invalid method call on widget instance" );
};
$( "<div>" ).testWidget().testWidget( "missing" );
$.error = function ( msg ) {
equal( msg, "no such method '_privateMethod' for testWidget widget instance",
"invalid method call on widget instance" );
};
$( "<div>" ).testWidget().testWidget( "_privateMethod" );
$.error = error;
});

View File

@ -4,8 +4,8 @@
jQuery(function($){
$.datepicker.regional['ar-DZ'] = {
closeText: 'إغلاق',
prevText: '&#x3c;السابق',
nextText: 'التالي&#x3e;',
prevText: '&#x3C;السابق',
nextText: 'التالي&#x3E;',
currentText: 'اليوم',
monthNames: ['جانفي', 'فيفري', 'مارس', 'أفريل', 'ماي', 'جوان',
'جويلية', 'أوت', 'سبتمبر','أكتوبر', 'نوفمبر', 'ديسمبر'],

View File

@ -4,8 +4,8 @@
jQuery(function($){
$.datepicker.regional['ar'] = {
closeText: 'إغلاق',
prevText: '&#x3c;السابق',
nextText: 'التالي&#x3e;',
prevText: '&#x3C;السابق',
nextText: 'التالي&#x3E;',
currentText: 'اليوم',
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],

View File

@ -3,8 +3,8 @@
jQuery(function($) {
$.datepicker.regional['az'] = {
closeText: 'Bağla',
prevText: '&#x3c;Geri',
nextText: 'İrəli&#x3e;',
prevText: '&#x3C;Geri',
nextText: 'İrəli&#x3E;',
currentText: 'Bugün',
monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',
'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],

View File

@ -3,9 +3,9 @@
jQuery(function($){
$.datepicker.regional['bg'] = {
closeText: 'затвори',
prevText: '&#x3c;назад',
nextText: 'напред&#x3e;',
nextBigText: '&#x3e;&#x3e;',
prevText: '&#x3C;назад',
nextText: 'напред&#x3E;',
nextBigText: '&#x3E;&#x3E;',
currentText: 'днес',
monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
'Юли','Август','Септември','Октомври','Ноември','Декември'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['bs'] = {
closeText: 'Zatvori',
prevText: '&#x3c;',
nextText: '&#x3e;',
prevText: '&#x3C;',
nextText: '&#x3E;',
currentText: 'Danas',
monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
'Juli','August','Septembar','Oktobar','Novembar','Decembar'],

View File

@ -3,10 +3,10 @@
jQuery(function($){
$.datepicker.regional['ca'] = {
closeText: 'Tancar',
prevText: '&#x3c;Ant',
nextText: 'Seg&#x3e;',
prevText: '&#x3C;Ant',
nextText: 'Seg&#x3E;',
currentText: 'Avui',
monthNames: ['Gener','Febrer','Mar&ccedil;','Abril','Maig','Juny',
monthNames: ['Gener','Febrer','Mar&#xE7;','Abril','Maig','Juny',
'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
'Jul','Ago','Set','Oct','Nov','Des'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['cs'] = {
closeText: 'Zavřít',
prevText: '&#x3c;Dříve',
nextText: 'Později&#x3e;',
prevText: '&#x3C;Dříve',
nextText: 'Později&#x3E;',
currentText: 'Nyní',
monthNames: ['leden','únor','březen','duben','květen','červen',
'červenec','srpen','září','říjen','listopad','prosinec'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['da'] = {
closeText: 'Luk',
prevText: '&#x3c;Forrige',
nextText: 'Næste&#x3e;',
prevText: '&#x3C;Forrige',
nextText: 'Næste&#x3E;',
currentText: 'Idag',
monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
'Juli','August','September','Oktober','November','December'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['de'] = {
closeText: 'schließen',
prevText: '&#x3c;zurück',
nextText: 'Vor&#x3e;',
prevText: '&#x3C;zurück',
nextText: 'Vor&#x3E;',
currentText: 'heute',
monthNames: ['Januar','Februar','März','April','Mai','Juni',
'Juli','August','September','Oktober','November','Dezember'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['eo'] = {
closeText: 'Fermi',
prevText: '&lt;Anta',
nextText: 'Sekv&gt;',
prevText: '&#x3C;Anta',
nextText: 'Sekv&#x3E;',
currentText: 'Nuna',
monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],

View File

@ -3,16 +3,16 @@
jQuery(function($){
$.datepicker.regional['es'] = {
closeText: 'Cerrar',
prevText: '&#x3c;Ant',
nextText: 'Sig&#x3e;',
prevText: '&#x3C;Ant',
nextText: 'Sig&#x3E;',
currentText: 'Hoy',
monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
'Jul','Ago','Sep','Oct','Nov','Dic'],
dayNames: ['Domingo','Lunes','Martes','Mi&eacute;rcoles','Jueves','Viernes','S&aacute;bado'],
dayNamesShort: ['Dom','Lun','Mar','Mi&eacute;','Juv','Vie','S&aacute;b'],
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','S&aacute;'],
dayNames: ['Domingo','Lunes','Martes','Mi&#xE9;rcoles','Jueves','Viernes','S&#xE1;bado'],
dayNamesShort: ['Dom','Lun','Mar','Mi&#xE9;','Juv','Vie','S&#xE1;b'],
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','S&#xE1;'],
weekHeader: 'Sm',
dateFormat: 'dd/mm/yy',
firstDay: 1,

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['eu'] = {
closeText: 'Egina',
prevText: '&#x3c;Aur',
nextText: 'Hur&#x3e;',
prevText: '&#x3C;Aur',
nextText: 'Hur&#x3E;',
currentText: 'Gaur',
monthNames: ['Urtarrila','Otsaila','Martxoa','Apirila','Maiatza','Ekaina',
'Uztaila','Abuztua','Iraila','Urria','Azaroa','Abendua'],

View File

@ -4,8 +4,8 @@
jQuery(function($) {
$.datepicker.regional['fa'] = {
closeText: 'بستن',
prevText: '&#x3c;قبلي',
nextText: 'بعدي&#x3e;',
prevText: '&#x3C;قبلي',
nextText: 'بعدي&#x3E;',
currentText: 'امروز',
monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
'مهر','آبان','آذر','دي','بهمن','اسفند'],

View File

@ -3,13 +3,13 @@
jQuery(function($){
$.datepicker.regional['fi'] = {
closeText: 'Sulje',
prevText: '&laquo;Edellinen',
nextText: 'Seuraava&raquo;',
currentText: 'T&auml;n&auml;&auml;n',
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kes&auml;kuu',
'Hein&auml;kuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kes&auml;',
'Hein&auml;','Elo','Syys','Loka','Marras','Joulu'],
prevText: '&#xAB;Edellinen',
nextText: 'Seuraava&#xBB;',
currentText: 'T&#xE4;n&#xE4;&#xE4;n',
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kes&#xE4;kuu',
'Hein&#xE4;kuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kes&#xE4;',
'Hein&#xE4;','Elo','Syys','Loka','Marras','Joulu'],
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['fo'] = {
closeText: 'Lat aftur',
prevText: '&#x3c;Fyrra',
nextText: 'Næsta&#x3e;',
prevText: '&#x3C;Fyrra',
nextText: 'Næsta&#x3E;',
currentText: 'Í dag',
monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
'Juli','August','September','Oktober','November','Desember'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['fr-CH'] = {
closeText: 'Fermer',
prevText: '&#x3c;Préc',
nextText: 'Suiv&#x3e;',
prevText: '&#x3C;Préc',
nextText: 'Suiv&#x3E;',
currentText: 'Courant',
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],

View File

@ -3,16 +3,16 @@
jQuery(function($){
$.datepicker.regional['gl'] = {
closeText: 'Pechar',
prevText: '&#x3c;Ant',
nextText: 'Seg&#x3e;',
prevText: '&#x3C;Ant',
nextText: 'Seg&#x3E;',
currentText: 'Hoxe',
monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño',
'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],
monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ',
'Xul','Ago','Set','Out','Nov','Dec'],
dayNames: ['Domingo','Luns','Martes','M&eacute;rcores','Xoves','Venres','S&aacute;bado'],
dayNamesShort: ['Dom','Lun','Mar','M&eacute;r','Xov','Ven','S&aacute;b'],
dayNamesMin: ['Do','Lu','Ma','M&eacute;','Xo','Ve','S&aacute;'],
dayNames: ['Domingo','Luns','Martes','M&#xE9;rcores','Xoves','Venres','S&#xE1;bado'],
dayNamesShort: ['Dom','Lun','Mar','M&#xE9;r','Xov','Ven','S&#xE1;b'],
dayNamesMin: ['Do','Lu','Ma','M&#xE9;','Xo','Ve','S&#xE1;'],
weekHeader: 'Sm',
dateFormat: 'dd/mm/yy',
firstDay: 1,

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['he'] = {
closeText: 'סגור',
prevText: '&#x3c;הקודם',
nextText: 'הבא&#x3e;',
prevText: '&#x3C;הקודם',
nextText: 'הבא&#x3E;',
currentText: 'היום',
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['hr'] = {
closeText: 'Zatvori',
prevText: '&#x3c;',
nextText: '&#x3e;',
prevText: '&#x3C;',
nextText: '&#x3E;',
currentText: 'Danas',
monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['hu'] = {
closeText: 'bezárás',
prevText: '&laquo;&nbsp;vissza',
nextText: 'előre&nbsp;&raquo;',
prevText: '&#xAB;&#xA0;vissza',
nextText: 'előre&#xA0;&#xBB;',
currentText: 'ma',
monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
@ -17,7 +17,7 @@ jQuery(function($){
dateFormat: 'yy-mm-dd',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
showMonthAfterYear: true,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['hu']);
});

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['hy'] = {
closeText: 'Փակել',
prevText: '&#x3c;Նախ.',
nextText: 'Հաջ.&#x3e;',
prevText: '&#x3C;Նախ.',
nextText: 'Հաջ.&#x3E;',
currentText: 'Այսօր',
monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս',
'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['id'] = {
closeText: 'Tutup',
prevText: '&#x3c;mundur',
nextText: 'maju&#x3e;',
prevText: '&#x3C;mundur',
nextText: 'maju&#x3E;',
currentText: 'hari ini',
monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
'Juli','Agustus','September','Oktober','Nopember','Desember'],

View File

@ -3,16 +3,16 @@
jQuery(function($){
$.datepicker.regional['is'] = {
closeText: 'Loka',
prevText: '&#x3c; Fyrri',
nextText: 'N&aelig;sti &#x3e;',
currentText: '&Iacute; dag',
monthNames: ['Jan&uacute;ar','Febr&uacute;ar','Mars','Apr&iacute;l','Ma&iacute','J&uacute;n&iacute;',
'J&uacute;l&iacute;','&Aacute;g&uacute;st','September','Okt&oacute;ber','N&oacute;vember','Desember'],
monthNamesShort: ['Jan','Feb','Mar','Apr','Ma&iacute;','J&uacute;n',
'J&uacute;l','&Aacute;g&uacute;','Sep','Okt','N&oacute;v','Des'],
dayNames: ['Sunnudagur','M&aacute;nudagur','&THORN;ri&eth;judagur','Mi&eth;vikudagur','Fimmtudagur','F&ouml;studagur','Laugardagur'],
dayNamesShort: ['Sun','M&aacute;n','&THORN;ri','Mi&eth;','Fim','F&ouml;s','Lau'],
dayNamesMin: ['Su','M&aacute;','&THORN;r','Mi','Fi','F&ouml;','La'],
prevText: '&#x3C; Fyrri',
nextText: 'N&#xE6;sti &#x3E;',
currentText: '&#xCD; dag',
monthNames: ['Jan&#xFA;ar','Febr&#xFA;ar','Mars','Apr&#xED;l','Ma&iacute','J&#xFA;n&#xED;',
'J&#xFA;l&#xED;','&#xC1;g&#xFA;st','September','Okt&#xF3;ber','N&#xF3;vember','Desember'],
monthNamesShort: ['Jan','Feb','Mar','Apr','Ma&#xED;','J&#xFA;n',
'J&#xFA;l','&#xC1;g&#xFA;','Sep','Okt','N&#xF3;v','Des'],
dayNames: ['Sunnudagur','M&#xE1;nudagur','&#xDE;ri&#xF0;judagur','Mi&#xF0;vikudagur','Fimmtudagur','F&#xF6;studagur','Laugardagur'],
dayNamesShort: ['Sun','M&#xE1;n','&#xDE;ri','Mi&#xF0;','Fim','F&#xF6;s','Lau'],
dayNamesMin: ['Su','M&#xE1;','&#xDE;r','Mi','Fi','F&#xF6;','La'],
weekHeader: 'Vika',
dateFormat: 'dd/mm/yy',
firstDay: 0,

View File

@ -3,14 +3,14 @@
jQuery(function($){
$.datepicker.regional['it'] = {
closeText: 'Chiudi',
prevText: '&#x3c;Prec',
nextText: 'Succ&#x3e;',
prevText: '&#x3C;Prec',
nextText: 'Succ&#x3E;',
currentText: 'Oggi',
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
'Lug','Ago','Set','Ott','Nov','Dic'],
dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','Sabato'],
dayNames: ['Domenica','Luned&#xEC;','Marted&#xEC;','Mercoled&#xEC;','Gioved&#xEC;','Venerd&#xEC;','Sabato'],
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
weekHeader: 'Sm',

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['ja'] = {
closeText: '閉じる',
prevText: '&#x3c;前',
nextText: '次&#x3e;',
prevText: '&#x3C;前',
nextText: '次&#x3E;',
currentText: '今日',
monthNames: ['1月','2月','3月','4月','5月','6月',
'7月','8月','9月','10月','11月','12月'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['kz'] = {
closeText: 'Жабу',
prevText: '&#x3c;Алдыңғы',
nextText: 'Келесі&#x3e;',
prevText: '&#x3C;Алдыңғы',
nextText: 'Келесі&#x3E;',
currentText: 'Бүгін',
monthNames: ['Қаңтар','Ақпан','Наурыз','Сәуір','Мамыр','Маусым',
'Шілде','Тамыз','Қыркүйек','Қазан','Қараша','Желтоқсан'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['lt'] = {
closeText: 'Uždaryti',
prevText: '&#x3c;Atgal',
nextText: 'Pirmyn&#x3e;',
prevText: '&#x3C;Atgal',
nextText: 'Pirmyn&#x3E;',
currentText: 'Šiandien',
monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['ms'] = {
closeText: 'Tutup',
prevText: '&#x3c;Sebelum',
nextText: 'Selepas&#x3e;',
prevText: '&#x3C;Sebelum',
nextText: 'Selepas&#x3E;',
currentText: 'hari ini',
monthNames: ['Januari','Februari','Mac','April','Mei','Jun',
'Julai','Ogos','September','Oktober','November','Disember'],

View File

@ -4,8 +4,8 @@
jQuery(function($){
$.datepicker.regional['no'] = {
closeText: 'Lukk',
prevText: '&laquo;Forrige',
nextText: 'Neste&raquo;',
prevText: '&#xAB;Forrige',
nextText: 'Neste&#xBB;',
currentText: 'I dag',
monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'],
monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['pl'] = {
closeText: 'Zamknij',
prevText: '&#x3c;Poprzedni',
nextText: 'Następny&#x3e;',
prevText: '&#x3C;Poprzedni',
nextText: 'Następny&#x3E;',
currentText: 'Dziś',
monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],

View File

@ -3,16 +3,16 @@
jQuery(function($){
$.datepicker.regional['pt-BR'] = {
closeText: 'Fechar',
prevText: '&#x3c;Anterior',
nextText: 'Pr&oacute;ximo&#x3e;',
prevText: '&#x3C;Anterior',
nextText: 'Pr&#xF3;ximo&#x3E;',
currentText: 'Hoje',
monthNames: ['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho',
monthNames: ['Janeiro','Fevereiro','Mar&#xE7;o','Abril','Maio','Junho',
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
'Jul','Ago','Set','Out','Nov','Dez'],
dayNames: ['Domingo','Segunda-feira','Ter&ccedil;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&aacute;bado'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
dayNames: ['Domingo','Segunda-feira','Ter&#xE7;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&#xE1;bado'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&#xE1;b'],
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&#xE1;b'],
weekHeader: 'Sm',
dateFormat: 'dd/mm/yy',
firstDay: 0,

View File

@ -2,16 +2,16 @@
jQuery(function($){
$.datepicker.regional['pt'] = {
closeText: 'Fechar',
prevText: '&#x3c;Anterior',
prevText: '&#x3C;Anterior',
nextText: 'Seguinte',
currentText: 'Hoje',
monthNames: ['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho',
monthNames: ['Janeiro','Fevereiro','Mar&#xE7;o','Abril','Maio','Junho',
'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
'Jul','Ago','Set','Out','Nov','Dez'],
dayNames: ['Domingo','Segunda-feira','Ter&ccedil;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&aacute;bado'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&aacute;b'],
dayNames: ['Domingo','Segunda-feira','Ter&#xE7;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&#xE1;bado'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&#xE1;b'],
dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&#xE1;b'],
weekHeader: 'Sem',
dateFormat: 'dd/mm/yy',
firstDay: 0,

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['rm'] = {
closeText: 'Serrar',
prevText: '&#x3c;Suandant',
nextText: 'Precedent&#x3e;',
prevText: '&#x3C;Suandant',
nextText: 'Precedent&#x3E;',
currentText: 'Actual',
monthNames: ['Schaner','Favrer','Mars','Avrigl','Matg','Zercladur', 'Fanadur','Avust','Settember','October','November','December'],
monthNamesShort: ['Scha','Fev','Mar','Avr','Matg','Zer', 'Fan','Avu','Sett','Oct','Nov','Dec'],

View File

@ -6,8 +6,8 @@
jQuery(function($){
$.datepicker.regional['ro'] = {
closeText: 'Închide',
prevText: '&laquo; Luna precedentă',
nextText: 'Luna următoare &raquo;',
prevText: '&#xAB; Luna precedentă',
nextText: 'Luna următoare &#xBB;',
currentText: 'Azi',
monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['ru'] = {
closeText: 'Закрыть',
prevText: '&#x3c;Пред',
nextText: 'След&#x3e;',
prevText: '&#x3C;Пред',
nextText: 'След&#x3E;',
currentText: 'Сегодня',
monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['sk'] = {
closeText: 'Zavrieť',
prevText: '&#x3c;Predchádzajúci',
nextText: 'Nasledujúci&#x3e;',
prevText: '&#x3C;Predchádzajúci',
nextText: 'Nasledujúci&#x3E;',
currentText: 'Dnes',
monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
'Júl','August','September','Október','November','December'],

View File

@ -4,8 +4,8 @@
jQuery(function($){
$.datepicker.regional['sl'] = {
closeText: 'Zapri',
prevText: '&lt;Prej&#x161;nji',
nextText: 'Naslednji&gt;',
prevText: '&#x3C;Prej&#x161;nji',
nextText: 'Naslednji&#x3E;',
currentText: 'Trenutni',
monthNames: ['Januar','Februar','Marec','April','Maj','Junij',
'Julij','Avgust','September','Oktober','November','December'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['sq'] = {
closeText: 'mbylle',
prevText: '&#x3c;mbrapa',
nextText: 'Përpara&#x3e;',
prevText: '&#x3C;mbrapa',
nextText: 'Përpara&#x3E;',
currentText: 'sot',
monthNames: ['Janar','Shkurt','Mars','Prill','Maj','Qershor',
'Korrik','Gusht','Shtator','Tetor','Nëntor','Dhjetor'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['sr-SR'] = {
closeText: 'Zatvori',
prevText: '&#x3c;',
nextText: '&#x3e;',
prevText: '&#x3C;',
nextText: '&#x3E;',
currentText: 'Danas',
monthNames: ['Januar','Februar','Mart','April','Maj','Jun',
'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['sr'] = {
closeText: 'Затвори',
prevText: '&#x3c;',
nextText: '&#x3e;',
prevText: '&#x3C;',
nextText: '&#x3E;',
currentText: 'Данас',
monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
'Јул','Август','Септембар','Октобар','Новембар','Децембар'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['sv'] = {
closeText: 'Stäng',
prevText: '&laquo;Förra',
nextText: 'Nästa&raquo;',
prevText: '&#xAB;Förra',
nextText: 'Nästa&#xBB;',
currentText: 'Idag',
monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
'Juli','Augusti','September','Oktober','November','December'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['th'] = {
closeText: 'ปิด',
prevText: '&laquo;&nbsp;ย้อน',
nextText: 'ถัดไป&nbsp;&raquo;',
prevText: '&#xAB;&#xA0;ย้อน',
nextText: 'ถัดไป&#xA0;&#xBB;',
currentText: 'วันนี้',
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],

View File

@ -3,7 +3,7 @@
jQuery(function($){
$.datepicker.regional['tr'] = {
closeText: 'kapat',
prevText: '&#x3c;geri',
prevText: '&#x3C;geri',
nextText: 'ileri&#x3e',
currentText: 'bugün',
monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['uk'] = {
closeText: 'Закрити',
prevText: '&#x3c;',
nextText: '&#x3e;',
prevText: '&#x3C;',
nextText: '&#x3E;',
currentText: 'Сьогодні',
monthNames: ['Січень','Лютий','Березень','Квітень','Травень','Червень',
'Липень','Серпень','Вересень','Жовтень','Листопад','Грудень'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['vi'] = {
closeText: 'Đóng',
prevText: '&#x3c;Trước',
nextText: 'Tiếp&#x3e;',
prevText: '&#x3C;Trước',
nextText: 'Tiếp&#x3E;',
currentText: 'Hôm nay',
monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['zh-CN'] = {
closeText: '关闭',
prevText: '&#x3c;上月',
nextText: '下月&#x3e;',
prevText: '&#x3C;上月',
nextText: '下月&#x3E;',
currentText: '今天',
monthNames: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['zh-HK'] = {
closeText: '關閉',
prevText: '&#x3c;上月',
nextText: '下月&#x3e;',
prevText: '&#x3C;上月',
nextText: '下月&#x3E;',
currentText: '今天',
monthNames: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],

View File

@ -3,8 +3,8 @@
jQuery(function($){
$.datepicker.regional['zh-TW'] = {
closeText: '關閉',
prevText: '&#x3c;上月',
nextText: '下月&#x3e;',
prevText: '&#x3C;上月',
nextText: '下月&#x3E;',
currentText: '今天',
monthNames: ['一月','二月','三月','四月','五月','六月',
'七月','八月','九月','十月','十一月','十二月'],

View File

@ -1656,7 +1656,7 @@ $.extend(Datepicker.prototype, {
/* Find the number of days in a given month. */
_getDaysInMonth: function(year, month) {
return 32 - new Date(year, month, 32).getDate();
return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate();
},
/* Find the day of the week of the first of a month. */

View File

@ -104,11 +104,6 @@ $.widget.bridge = function( name, object ) {
$.extend.apply( null, [ true, options ].concat(args) ) :
options;
// prevent calls to internal methods
if ( isMethodCall && options.charAt( 0 ) === "_" ) {
return returnValue;
}
if ( isMethodCall ) {
this.each(function() {
var instance = $.data( this, name );
@ -116,7 +111,7 @@ $.widget.bridge = function( name, object ) {
return $.error( "cannot call methods on " + name + " prior to initialization; " +
"attempted to call method '" + options + "'" );
}
if ( !$.isFunction( instance[options] ) ) {
if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) {
return $.error( "no such method '" + options + "' for " + name + " widget instance" );
}
var methodValue = instance[ options ].apply( instance, args );