diff --git a/src/index.php b/src/index.php index 5a069bd..7f0e30b 100644 --- a/src/index.php +++ b/src/index.php @@ -75,7 +75,7 @@ $().ready(function(){ $("#duedate").datepicker({dateFormat: '', firstDay: , showOn: 'button', buttonImage: 'images/calendar.png', buttonImageOnly: true, changeMonth:true, changeYear:true, constrainInput: false, duration:'', nextText:'>', prevText:'<', dayNamesMin:lang.daysMin, - monthNamesShort:lang.monthsShort }); + monthNamesShort:lang.monthsLong }); $("#page_taskedit").draggable({ stop: function(e,ui){ flag.windowTaskEditMoved=true; tmp.editformpos=[$(this).css('left'),$(this).css('top')]; } }); $("#page_taskedit").resizable({ minWidth:$("#page_taskedit").width(), minHeight:$("#page_taskedit").height(), start:function(ui,e){editFormResize(1)}, resize:function(ui,e){editFormResize(0,e)}, stop:function(ui,e){editFormResize(2,e)} }); diff --git a/src/lang/class.default.php b/src/lang/class.default.php index b53c52e..f8a0b89 100644 --- a/src/lang/class.default.php +++ b/src/lang/class.default.php @@ -93,8 +93,8 @@ class DefaultLang foreach($this->get('days_min') as $v) { $t[] = '"'.str_replace('"','\\"',$v).'"'; } $a[] = "daysMin: [". implode(',', $t). "]"; $t = array(); - foreach($this->get('months_short') as $v) { $t[] = '"'.str_replace('"','\\"',$v).'"'; } - $a[] = "monthsShort: [". implode(',', $t). "]"; + foreach($this->get('months_long') as $v) { $t[] = '"'.str_replace('"','\\"',$v).'"'; } + $a[] = "monthsLong: [". implode(',', $t). "]"; return "lang = {\n". implode(",\n", $a). "\n};"; }