i18n: Simplify formatting in subscribe_to_more_streams template.

There's no need to use the multi-line `tr` block format here.
This commit is contained in:
Lauryn Menard 2023-09-05 21:18:38 +02:00 committed by Tim Abbott
parent bcff5580d1
commit 64929d7bd1
1 changed files with 3 additions and 3 deletions

View File

@ -1,16 +1,16 @@
{{#if exactly_one_unsubscribed_stream}}
<a href="#streams/all">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
{{~#tr}}Browse 1 more stream{{/tr~}}
{{~t "Browse 1 more stream" ~}}
</a>
{{else if can_subscribe_stream_count}}
<a href="#streams/all">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
{{~#tr}}Browse {can_subscribe_stream_count} more streams{{/tr~}}
{{~t "Browse {can_subscribe_stream_count} more streams" ~}}
</a>
{{else if can_create_streams}}
<a href="#streams/new">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
{{~t "Create a stream"~}}
{{~t "Create a stream" ~}}
</a>
{{/if}}