From 3bd5990056ffe6cd216aafda47702e55350eb05f Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Mon, 29 Jun 2009 22:22:27 -0700 Subject: i18n theme name / description in admin themes. Partial fix for ticket 471. --- modules/gallery/controllers/admin_themes.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') 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; -- cgit v1.2.3