aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/reportedcontent/languages/en.php3
-rw-r--r--views/default/page_elements/owner_block.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/mod/reportedcontent/languages/en.php b/mod/reportedcontent/languages/en.php
index e00c02c6b..f1e140463 100644
--- a/mod/reportedcontent/languages/en.php
+++ b/mod/reportedcontent/languages/en.php
@@ -35,7 +35,8 @@
'reportedcontent:description' => 'Why are you reporting this?',
'reportedcontent:address' => 'Location of the item',
'reportedcontent:success' => 'Your report has been sent to the site admin',
- 'reportedcontent:failing' => 'Your report could not be sent',
+ 'reportedcontent:failing' => 'Your report could not be sent',
+ 'reportedcontent:report' => 'Report this',
);
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php
index 48aaa106d..1c6ee61ab 100644
--- a/views/default/page_elements/owner_block.php
+++ b/views/default/page_elements/owner_block.php
@@ -73,7 +73,7 @@ END;
//report this button
if (is_plugin_enabled('reportedcontent'))
{
- $label4 = elgg_echo('Report this');
+ $label4 = elgg_echo('reportedcontent:report');
$contents .= "<div id=\"owner_block_report_this\"><a href=\"javascript:location.href='". $CONFIG->wwwroot . "mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)\">{$label4}</a></div>";
}