Commit e0b0626a authored by Penny Leach's avatar Penny Leach
Browse files

fixing more strings

parent 3672e518
...@@ -82,4 +82,7 @@ $string['onartefact'] = 'on artefact'; ...@@ -82,4 +82,7 @@ $string['onartefact'] = 'on artefact';
$string['oncommunity'] = 'on community'; $string['oncommunity'] = 'on community';
$string['ownedby'] = 'owned by'; $string['ownedby'] = 'owned by';
$string['objectionablecontentview'] = 'Objectionable content';
$string['objectionablecontentartefact'] = 'Objectionable content';
?> ?>
...@@ -120,7 +120,7 @@ function handle_activity($activitytype, $data) { ...@@ -120,7 +120,7 @@ function handle_activity($activitytype, $data) {
if (empty($data->artefact)) { if (empty($data->artefact)) {
$data->url = get_config('wwwroot') . 'view/view.php?view=' . $data->view; $data->url = get_config('wwwroot') . 'view/view.php?view=' . $data->view;
$data->subject = get_string('objectionablecontentview', 'activity') $data->subject = get_string('objectionablecontentview', 'activity')
. ' ' . get_string('onview') . $viewtitle; . ' ' . get_string('onview', 'activity') . $viewtitle;
} }
else { else {
$data->url = get_config('wwwroot') . 'view/view.php?artefact=' . $data->artefact . '&view=' . $data->view; $data->url = get_config('wwwroot') . 'view/view.php?artefact=' . $data->artefact . '&view=' . $data->view;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment