diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-06 16:42:57 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-09-06 16:42:57 +0000 |
commit | c05818ad1089d772f3b9e735fca4b98e8e40fc30 (patch) | |
tree | 83ea9a3ea6a407f58343739b482f322334dd61c6 | |
parent | 94746f4fe4828613ba671d88281caea23d149306 (diff) | |
download | elgg-c05818ad1089d772f3b9e735fca4b98e8e40fc30.tar.gz elgg-c05818ad1089d772f3b9e735fca4b98e8e40fc30.tar.bz2 |
Closes 331: Removed fixed string in translation. Thanks for the spot!
git-svn-id: https://code.elgg.org/elgg/trunk@2053 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | mod/reportedcontent/languages/en.php | 3 | ||||
-rw-r--r-- | views/default/page_elements/owner_block.php | 2 |
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>";
}
|