Skip to content

Commit

Permalink
# [joomla#26972] Small regression rev. 22054, skipping translation in
Browse files Browse the repository at this point in the history
<description>, + BC 1.6.x issue. Thanks Cir Tap
  • Loading branch information
infograf768 committed Oct 18, 2011
1 parent d9f0e72 commit e6784c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion administrator/components/com_installer/models/extension.php
Expand Up @@ -167,8 +167,9 @@ private function translate(&$items)
if (!in_array($item->type, array('language', 'template', 'library'))) {
$item->name = JText::_($item->name);
}
settype($item->description, 'string');
if (!in_array($item->type, array('language'))) {
$item->description = JText::_(@$item->description);
$item->description = JText::_($item->description);
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions installation/CHANGELOG
Expand Up @@ -27,6 +27,9 @@ $ -> Language fix or change
- -> Removed
! -> Note

17-Oct-2011 Jean-Marie Simonet
# [#26972] Small regression rev. 22054, skipping translation in <description>, + BC 1.6.x issue. Thanks Cir Tap

16-Oct-2011 Christophe Demko
# [#26904] JDatabasequery work in com_redirect and com_search (Elin Waring)
# [#26898] JDatabasequery work in com_newsfeeds (Elin Waring)
Expand Down

0 comments on commit e6784c1

Please sign in to comment.