Skip to content

Commit

Permalink
i18n theme name / description in admin themes. Partial fix for ticket…
Browse files Browse the repository at this point in the history
… 471.
  • Loading branch information
andyst committed Jun 30, 2009
1 parent b0bc99a commit 3bd5990
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/gallery/controllers/admin_themes.php
Expand Up @@ -36,6 +36,9 @@ private function _get_themes() {

$file = THEMEPATH . "$theme_name/theme.info";
$theme_info = new ArrayObject(parse_ini_file($file), ArrayObject::ARRAY_AS_PROPS);
$theme_info->description = t($theme_info->description);
$theme_info->name = t($theme_info->name);

$themes[$theme_name] = $theme_info;
}
return $themes;
Expand Down

0 comments on commit 3bd5990

Please sign in to comment.