diff options
-rw-r--r-- | languages/en.php | 2 | ||||
-rw-r--r-- | views/default/object/plugin/advanced.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/languages/en.php b/languages/en.php index 113585a12..72369c82f 100644 --- a/languages/en.php +++ b/languages/en.php @@ -634,6 +634,8 @@ $english = array( 'admin:plugins' => "Plugins", 'admin:plugins:activate_all' => 'Activate All', 'admin:plugins:deactivate_all' => 'Deactivate All', + 'admin:plugins:activate' => 'Activate', + 'admin:plugins:deactivate' => 'Deactivate', 'admin:plugins:description' => "This admin panel allows you to control and configure tools installed on your site.", 'admin:plugins:opt:linktext' => "Configure tools...", 'admin:plugins:opt:description' => "Configure the tools installed on the site. ", diff --git a/views/default/object/plugin/advanced.php b/views/default/object/plugin/advanced.php index 9fdbc99ee..08da89c01 100644 --- a/views/default/object/plugin/advanced.php +++ b/views/default/object/plugin/advanced.php @@ -98,7 +98,7 @@ $options = array( if ($active) { $active_class = 'elgg-state-active'; $action = 'deactivate'; - $options['text'] = elgg_echo('deactivate'); + $options['text'] = elgg_echo('admin:plugins:deactivate'); $options['class'] = "elgg-button elgg-button-cancel"; if (!$can_activate) { @@ -108,7 +108,7 @@ if ($active) { } else if ($can_activate) { $active_class = 'elgg-state-inactive'; $action = 'activate'; - $options['text'] = elgg_echo('activate'); + $options['text'] = elgg_echo('admin:plugins:activate'); $options['class'] = "elgg-button elgg-button-submit"; } else { $active_class = 'elgg-state-inactive'; |