Fix for ticket 510: i18n fixes - localize module / theme name in some status messages

This commit is contained in:
Andy Staudacher
2009-07-03 14:58:33 -07:00
parent f6d847739a
commit bafbe5a2d2
2 changed files with 4 additions and 4 deletions

View File

@@ -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");