PROBLEM: Please correct localization!

  • Forti42
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 3 months ago #11497 by Forti42
In various template files (i.e. blog_item.php) following lines can be found:
Code:
<?php if ($this->item->params->get('show_create_date')) : ?> <td valign="top" class="createdate cat_date"> <?php echo JHTML::_('date', $this->item->created, JText::_('%B')); ?> <?php echo JHTML::_('date', $this->item->created, JText::_('%d')); ?>, <?php echo JHTML::_('date', $this->item->created, JText::_('%Y')); ?> </td>
Should be changed to
Code:
<?php if ($this->item->params->get('show_create_date')) : ?> <td valign="top" class="createdate cat_date"> <?php echo JHTML::_('date', $this->item->created, JText::_('DATE_FORMAT_LC2')); ?> </td>

This is a crappy solution as it would be more comfortable to have a flexible choice based on the cat´s config, but it works for now on a German website.

Please Log in to join the conversation.

Time to create page: 0.127 seconds
Powered by Kunena Forum