aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-30 06:33:50 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-30 06:33:50 -0400
commit3b6e176b58655a6a5f46f3a93e4c70512eb6010e (patch)
treec55c2b3ad38136637e70b79ccbff9937a6c57034
parentbdc0777d9de30d7e541b3bf3c4d86012e018afcf (diff)
downloadelgg-3b6e176b58655a6a5f46f3a93e4c70512eb6010e.tar.gz
elgg-3b6e176b58655a6a5f46f3a93e4c70512eb6010e.tar.bz2
Fixes #3635 added strings for activate and deactivate
-rw-r--r--languages/en.php2
-rw-r--r--views/default/object/plugin/advanced.php4
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';