Commit fac9f25f authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1813519: Translation issues for forum unsubscribe links"

parents 989a0252 ab554b34
......@@ -134,6 +134,7 @@ $string['moderatorsdescription'] = 'Moderators can edit and delete topics and po
$string['name'] = 'Forum';
$string['nameplural'] = 'Forums';
$string['newforum'] = 'New forum';
$string['forumlower'] = 'forum';
$string['newforumpostnotificationsubjectline'] = '%s';
$string['newpost'] = 'New post: ';
$string['newtopic'] = 'New topic';
......
......@@ -1155,7 +1155,7 @@ class ActivityTypeInteractionForumNewPost extends ActivityTypePlugin {
$post->textbody,
$attachments,
get_config('wwwroot') . $this->url,
$user->subscribetype,
get_string_from_language($user->lang, $user->subscribetype . 'lower', 'interaction.forum'),
$unsubscribelink
);
}
......@@ -1165,7 +1165,7 @@ class ActivityTypeInteractionForumNewPost extends ActivityTypePlugin {
$post->groupname,
$post->textbody,
get_config('wwwroot') . $this->url,
$user->subscribetype,
get_string_from_language($user->lang, $user->subscribetype . 'lower', 'interaction.forum'),
$unsubscribelink
);
}
......@@ -1188,7 +1188,7 @@ class ActivityTypeInteractionForumNewPost extends ActivityTypePlugin {
$attachments,
get_config('wwwroot') . $this->url,
$unsubscribelink,
$user->subscribetype
get_string_from_language($user->lang, $user->subscribetype . 'lower', 'interaction.forum')
);
}
else {
......@@ -1198,7 +1198,7 @@ class ActivityTypeInteractionForumNewPost extends ActivityTypePlugin {
$post->htmlbody,
get_config('wwwroot') . $this->url,
$unsubscribelink,
$user->subscribetype
get_string_from_language($user->lang, $user->subscribetype . 'lower', 'interaction.forum')
);
}
return $message;
......
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