mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +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
@@ -36,7 +36,7 @@
|
||||
<span class="message_edit_countdown_timer"></span>
|
||||
<span>
|
||||
<i id="message_edit_tooltip" class="tippy-zulip-tooltip message_edit_tooltip fa fa-question-circle" aria-hidden="true"
|
||||
data-tippy-content="{{#tr}}This organization is configured to restrict editing of message content to {minutes_to_edit} minutes after it is sent.{{/tr}}">
|
||||
data-tippy-content="{{t 'This organization is configured to restrict editing of message content to {minutes_to_edit} minutes after it is sent.' }}">
|
||||
</i>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user