aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/plugins.php2
-rw-r--r--languages/en.php2
-rw-r--r--views/default/admin/components/plugin.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php
index e61874ebc..01cbf631a 100644
--- a/engine/lib/plugins.php
+++ b/engine/lib/plugins.php
@@ -707,7 +707,7 @@ function elgg_get_plugin_dependency_strings($dep) {
case 'plugin':
$strings['name'] = elgg_echo('ElggPlugin:Dependencies:Plugin', array($info['name']));
$strings['expected_value'] = "$comparison {$info['version']}";
- $strings['local_value'] = $dep['version'];
+ $strings['local_value'] = $dep['value'];
$strings['comment'] = '';
break;
diff --git a/languages/en.php b/languages/en.php
index 3d4484e2e..406679d58 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -602,7 +602,7 @@ $english = array(
'admin:plugins:dependencies:type' => 'Type',
'admin:plugins:dependencies:name' => 'Name',
- 'admin:plugins:dependencies:expected_value' => 'Expected Value',
+ 'admin:plugins:dependencies:expected_value' => 'Tested Value',
'admin:plugins:dependencies:local_value' => 'Actual value',
'admin:plugins:dependencies:comment' => 'Comment',
diff --git a/views/default/admin/components/plugin.php b/views/default/admin/components/plugin.php
index ff1abee1e..4c6a8b756 100644
--- a/views/default/admin/components/plugin.php
+++ b/views/default/admin/components/plugin.php
@@ -185,7 +185,7 @@ if (elgg_view_exists($settings_view)) {
if (!$can_activate) {
$message = elgg_echo('admin:plugins:warning:unmet_dependencies');
- echo "<p class=\"plugin-cannot-activate\">$message</p>";
+ echo "<p class=\"elgg-unsatisfied-dependency\">$message</p>";
}
?>