Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

i18n: Simplify formatting in subscribe_to_more_streams template.

Lauryn Menard64929d7bd1a4
diff --git a/web/templates/subscribe_to_more_streams.hbs b/web/templates/subscribe_to_more_streams.hbs
index 2a9738cdae5..4d5026bf775 100644
--- a/web/templates/subscribe_to_more_streams.hbs
+++ b/web/templates/subscribe_to_more_streams.hbs
@@ -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}}