mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
templates: Replace unnecessary {{#tr}} blocks with {{t}} helper.
`{{#tr}}` supports HTML and allows translators to accidentally
introduce HTML, so it’s safer to use the `{{t}}` helper unless HTML is
needed.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
8cd78d356f
commit
83b6866018
@@ -1,6 +1,6 @@
|
||||
<p>
|
||||
<em>
|
||||
{{#tr}}This message was hidden because you have muted the sender. {{/tr}}
|
||||
<a class="reveal_hidden_message">{{#tr}}Click here to reveal.{{/tr}}</a>
|
||||
{{t "This message was hidden because you have muted the sender." }}
|
||||
<a class="reveal_hidden_message">{{t "Click here to reveal." }}</a>
|
||||
</em>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user