You are here: Templates Club arrow Blog arrow YJ Booking 2.0 translation bug
YJ Booking 2.0 translation bug
Tuesday, 03 November 2009

Today we have discovered a small language bug in Yj Booking module V 2.0 , Download files have been updated. Affected file is your_site_name/modules/mod_yj_booking/mod_yj_booking.php between lines 230 - 231. If you have edited the files to fit your website , follow these instructions to upgrade the php file manually. 

Please go to your_site_name/modules/mod_yj_booking/ and locate file name mod_yj_booking.php. Browse to line 230 :

$months = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

and change to :

$months = array(JText::_('MONTH1'),JText::_('MONTH2'),JText::_('MONTH3'),JText::_('MONTH4'),JText::_('MONTH5'),
JText::_('MONTH6'),JText::_('MONTH7'),JText::_('MONTH8'),JText::_('MONTH9'),JText::_('MONTH10'),
JText::_('MONTH11'),JText::_('MONTH12'));