mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
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:
committed by
Tim Abbott
parent
bcff5580d1
commit
64929d7bd1
@@ -1,16 +1,16 @@
|
|||||||
{{#if exactly_one_unsubscribed_stream}}
|
{{#if exactly_one_unsubscribed_stream}}
|
||||||
<a href="#streams/all">
|
<a href="#streams/all">
|
||||||
<i class="fa fa-plus-circle" aria-hidden="true"></i>
|
<i class="fa fa-plus-circle" aria-hidden="true"></i>
|
||||||
{{~#tr}}Browse 1 more stream{{/tr~}}
|
{{~t "Browse 1 more stream" ~}}
|
||||||
</a>
|
</a>
|
||||||
{{else if can_subscribe_stream_count}}
|
{{else if can_subscribe_stream_count}}
|
||||||
<a href="#streams/all">
|
<a href="#streams/all">
|
||||||
<i class="fa fa-plus-circle" aria-hidden="true"></i>
|
<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>
|
</a>
|
||||||
{{else if can_create_streams}}
|
{{else if can_create_streams}}
|
||||||
<a href="#streams/new">
|
<a href="#streams/new">
|
||||||
<i class="fa fa-plus-circle" aria-hidden="true"></i>
|
<i class="fa fa-plus-circle" aria-hidden="true"></i>
|
||||||
{{~t "Create a stream"~}}
|
{{~t "Create a stream" ~}}
|
||||||
</a>
|
</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|||||||
Reference in New Issue
Block a user