mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-20 08:29:54 -04:00
Fix for ticket 510: i18n fixes - localize module / theme name in some status messages
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user