Commit b18f75e4 authored by Son Nguyen's avatar Son Nguyen

Fix 'newforumpostnotificationsubjectline' and

'replyforumpostnotificationsubjectline' strings

(Bug #1044822)

Change-Id: I5eb39dcc7d84414e77af704623cacb218ce71b01
Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
parent 1b2fd4f2
......@@ -131,6 +131,7 @@ $string['re'] ='Re: %s';
$string['regulartopics'] = 'Regular topics';
$string['Reply'] = 'Reply';
$string['replyforumpostnotificationsubjectline'] = 'Re: %s';
$string['Re:'] = 'Re: ';
$string['replyto'] = 'Reply to: ';
$string['Sticky'] = 'Sticky';
$string['stickydescription'] = 'Sticky topics are at the top of every page';
......
......@@ -865,9 +865,9 @@ class ActivityTypeInteractionForumNewPost extends ActivityTypePlugin {
));
$this->strings->subject = (object) array(
'key' => $post->parent ? 'replyforumpostnotificationsubjectline' : 'newforumpostnotificationsubjectline',
'key' => 'newforumpostnotificationsubjectline',
'section' => 'interaction.forum',
'args' => array($post->parent ? $post->topicsubject : $post->subject),
'args' => array($post->parent ? get_string('Re:', 'interaction.forum') . $post->topicsubject : $post->subject),
);
foreach ($this->users as &$user) {
......
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