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:
Anders Kaseorg
2023-03-15 15:51:27 -07:00
committed by Tim Abbott
parent 8cd78d356f
commit 83b6866018
41 changed files with 109 additions and 145 deletions

View File

@@ -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>