summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_themes.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-06-29 22:22:27 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-06-29 22:22:27 -0700
commit3bd5990056ffe6cd216aafda47702e55350eb05f (patch)
tree7069ae454faf69a90bee3d2f5cbe82f3b4e74467 /modules/gallery/controllers/admin_themes.php
parentb0bc99a81f933a6bfa6cca2d3a34102de1eee7ba (diff)
i18n theme name / description in admin themes. Partial fix for ticket 471.
Diffstat (limited to 'modules/gallery/controllers/admin_themes.php')
-rw-r--r--modules/gallery/controllers/admin_themes.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/controllers/admin_themes.php b/modules/gallery/controllers/admin_themes.php
index aef6c2d1..538e5c8d 100644
--- a/modules/gallery/controllers/admin_themes.php
+++ b/modules/gallery/controllers/admin_themes.php
@@ -36,6 +36,9 @@ class Admin_Themes_Controller extends Admin_Controller {
$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;