Commit 80aefc41 authored by Penny Leach's avatar Penny Leach
Browse files

more i18nising

parent 529e52fa
......@@ -249,7 +249,7 @@ function handle_activity($activitytype, $data, $cron=false) {
if (!empty($cron)) { // probably deleted already
return;
}
throw new InvalidArgumentException("Couldn't find artefact with id " . $data->artefact);
throw new InvalidArgumentException(get_string('artefactnotfound', 'error', $data->artefact));
}
$data->message = get_string('onartefact', 'activity')
. ' ' . $ainfo->title . ' ' . get_string('ownedby', 'activity');
......
Supports Markdown
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