Keyword

Written_BY,Written_by_female and written_be_male bug solution

  • Jaime Pérez
  • Jaime Pérez's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #71630 by Jaime Pérez
There is a problem with the traduction of "writen_by" in the content front of k2 component. I solve this chaging the function on com_k2/helpers/utilities.php from something like:

function writtenBy($gender){
if (is_null($gender))
return JText::_('Written by female');
if ($gender=='m')
return JText::_('Written by male');
if ($gender=='f')
return JText::_('Written by');
}

to:

function writtenBy($gender){
if (is_null($gender))
return JText::_('Written_by');
if ($gender=='m')
return JText::_('Written_male');
if ($gender=='f')
return JText::_('Written_female');
}

And change the same on the respect language traduction files. Please fix it on the original files of this great component

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #71631 by Shapps
Thanks dude. Haven't tried this yet. But will do as it is a bit of a pain.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum