From bafbe5a2d2848d6de3e758f4e5de4385c4dc7542 Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Fri, 3 Jul 2009 14:58:33 -0700 Subject: Fix for ticket 510: i18n fixes - localize module / theme name in some status messages --- modules/gallery/controllers/admin_themes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/gallery/controllers/admin_themes.php') 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 %theme_name", - 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 %theme_name", - array("theme_name" => $info->name))); + array("theme_name" => t($info->name)))); } url::redirect("admin/themes"); -- cgit v1.2.3