Change deprecated
JError => throw new Exception
sprintf => JText::sprintf
ja-mainnav-t3-mainnav