MDL-65786 mod_forum: pass parameter to str helper when loading strings

We should not concatenate strings. We should make use of the {$a}placeholder instead.
This commit is contained in:
Shamim Rezaie
2019-06-13 23:34:03 +10:00
parent 89457b26d1
commit 07f8abfb30
@@ -38,7 +38,7 @@
{{< mod_forum/forum_discussion_post }}
{{$footer}}
<div class="link text-right">
<a href="{{urls.discuss}}">{{#str}}discussthistopic, forum{{/str}}</a>&nbsp;({{discussionrepliescount}}{{#isreplyplural}}{{#str}}repliesmany, forum{{/str}}{{/isreplyplural}}{{^isreplyplural}}{{#str}}repliesone, forum{{/str}}{{/isreplyplural}})
<a href="{{urls.discuss}}">{{#str}}discussthistopic, forum{{/str}}</a>&nbsp;({{#isreplyplural}}{{#str}} repliesmany, forum, {{discussionrepliescount}} {{/str}}{{/isreplyplural}}{{^isreplyplural}}{{#str}} repliesone, forum, {{discussionrepliescount}} {{/str}}{{/isreplyplural}})
</div>
{{/footer}}
{{$replyoutput}}{{/replyoutput}}