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-12 17:10:49 +10:00
parent f3507273e9
commit 24bc206b75

View file

@ -38,7 +38,7 @@
{{< mod_forum/forum_discussion_post }} {{< mod_forum/forum_discussion_post }}
{{$footer}} {{$footer}}
<div class="link text-right"> <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> </div>
{{/footer}} {{/footer}}
{{$replyoutput}}{{/replyoutput}} {{$replyoutput}}{{/replyoutput}}