summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_themes.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-07-03 14:58:33 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-07-03 14:58:33 -0700
commitbafbe5a2d2848d6de3e758f4e5de4385c4dc7542 (patch)
tree9cbbe5740cb4702234a9f9578b4eb9730d9e855c /modules/gallery/controllers/admin_themes.php
parentf6d847739a9149531d0649bf3d38f9e30078106a (diff)
Fix for ticket 510: i18n fixes - localize module / theme name in some status messages
Diffstat (limited to 'modules/gallery/controllers/admin_themes.php')
-rw-r--r--modules/gallery/controllers/admin_themes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/controllers/admin_themes.php b/modules/gallery/controllers/admin_themes.php
index 538e5c8d..da001c55 100644
--- a/modules/gallery/controllers/admin_themes.php
+++ b/modules/gallery/controllers/admin_themes.php
@@ -69,11 +69,11 @@ class Admin_Themes_Controller extends Admin_Controller {
if ($type == "admin" && $info->admin) {
module::set_var("gallery", "active_admin_theme", $theme_name);
message::success(t("Successfully changed your admin theme to <b>%theme_name</b>",
- array("theme_name" => $info->name)));
+ array("theme_name" => t($info->name))));
} else if ($type == "site" && $info->site) {
module::set_var("gallery", "active_site_theme", $theme_name);
message::success(t("Successfully changed your Gallery theme to <b>%theme_name</b>",
- array("theme_name" => $info->name)));
+ array("theme_name" => t($info->name))));
}
url::redirect("admin/themes");