diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-07-02 18:00:22 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-02 18:00:22 -0700 |
commit | eb5538d1357dade9e6e08d1b603033928944011c (patch) | |
tree | ee04f9be38a40f4125eafab5367bba6cf1b61164 /modules/gallery/controllers/admin_modules.php | |
parent | 1a5fe42b555d51d22bde1521100a31d2b434486b (diff) | |
parent | a633c134b754305eaa611c5d67af4ca7c79beafe (diff) |
Merge branch 'master' of git@github.com:/gallery/gallery3
Conflicts:
modules/server_add/controllers/admin_server_add.php
Diffstat (limited to 'modules/gallery/controllers/admin_modules.php')
-rw-r--r-- | modules/gallery/controllers/admin_modules.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/controllers/admin_modules.php b/modules/gallery/controllers/admin_modules.php index ed1f7665..af6dbbdc 100644 --- a/modules/gallery/controllers/admin_modules.php +++ b/modules/gallery/controllers/admin_modules.php @@ -40,11 +40,11 @@ class Admin_Modules_Controller extends Admin_Controller { $desired = $this->input->post($module_name) == 1; if ($info->active && !$desired && module::is_active($module_name)) { $changes->deactivate[] = $module_name; - $deactivated_names[] = $info->name; + $deactivated_names[] = t($info->name); module::deactivate($module_name); } else if (!$info->active && $desired && !module::is_active($module_name)) { $changes->activate[] = $module_name; - $activated_names[] = $info->name; + $activated_names[] = t($info->name); if (module::is_installed($module_name)) { module::upgrade($module_name); } else { @@ -56,7 +56,7 @@ class Admin_Modules_Controller extends Admin_Controller { module::event("module_change", $changes); - // @todo this type of collation is questionable from a i18n perspective + // @todo this type of collation is questionable from an i18n perspective if ($activated_names) { message::success(t("Activated: %names", array("names" => join(", ", $activated_names)))); } |