Commit 038a7656 authored by Kristina Hoeppner's avatar Kristina Hoeppner Committed by Robert Lyon
Browse files

Bug 1795347: Correct tense in peer assessment notification

Also adding the peer assessment help file for the
Account -> Settings -> Notifications page

behatnotneeded

Change-Id: I287e64623bf4bc276219aa35236e2f6d4c91f927
(cherry picked from commit 08794b2b)
parent a0a5ca15
......@@ -36,7 +36,7 @@ $string['feedbacknotificationhtml'] = "<div style=\"padding: 0.5em 0; border-bot
<div style=\"font-size: smaller; border-top: 1px solid #999;\">
<p><a href=\"%s\">View this peer assessment online</a></p>
</div>";
$string['feedbacknotificationtext'] = "%s add a peer assessment on %s
$string['feedbacknotificationtext1'] = "%s added a peer assessment on %s
%s
------------------------------------------------------------------------
......
<!-- @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later -->
<!-- @copyright For copyright information on Mahara, please see the README file distributed with this software. -->
<h3>Peer assessment message</h3>
<p>Notification of a new assessment in a peer assessment block.</p>
\ No newline at end of file
......@@ -984,7 +984,7 @@ class ActivityTypeArtefactPeerassessmentAssessmentfeedback extends ActivityTypeP
hsc($authorname), hsc($title), $posttime, clean_html($body), get_config('wwwroot') . $this->url
);
$this->users[$key]->emailmessage = get_string_from_language(
$lang, 'feedbacknotificationtext', 'artefact.peerassessment',
$lang, 'feedbacknotificationtext1', 'artefact.peerassessment',
$authorname, $title, $posttime, trim(html2text(htmlspecialchars($body))), get_config('wwwroot') . $this->url
);
}
......
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