mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
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:
parent
f3507273e9
commit
24bc206b75
1 changed files with 1 additions and 1 deletions
|
@ -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> ({{discussionrepliescount}}{{#isreplyplural}}{{#str}}repliesmany, forum{{/str}}{{/isreplyplural}}{{^isreplyplural}}{{#str}}repliesone, forum{{/str}}{{/isreplyplural}})
|
<a href="{{urls.discuss}}">{{#str}}discussthistopic, forum{{/str}}</a> ({{#isreplyplural}}{{#str}} repliesmany, forum, {{discussionrepliescount}} {{/str}}{{/isreplyplural}}{{^isreplyplural}}{{#str}} repliesone, forum, {{discussionrepliescount}} {{/str}}{{/isreplyplural}})
|
||||||
</div>
|
</div>
|
||||||
{{/footer}}
|
{{/footer}}
|
||||||
{{$replyoutput}}{{/replyoutput}}
|
{{$replyoutput}}{{/replyoutput}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue