mirror of https://github.com/zulip/zulip.git
streams: Use singular in feedback for a single added subscriber.
The message displayed after successfully adding users to a stream previously used a plural even if only a single user was added.
This commit is contained in:
parent
99b3c1c9d4
commit
3fe6d0def1
|
@ -3,10 +3,12 @@
|
|||
<br />
|
||||
{{/if}}
|
||||
{{#if subscribed_users}}
|
||||
{{#each subscribed_users}}
|
||||
{{#if @first}}
|
||||
{{#if subscribed_users.[1]}}
|
||||
{{t "Successfully subscribed users:" }}
|
||||
{{else}}
|
||||
{{t "Successfully subscribed user:" }}
|
||||
{{/if}}
|
||||
{{#each subscribed_users}}
|
||||
<a data-user-id="{{user_id}}" class="view_user_profile">{{full_name}}</a>{{#unless @last}},{{else}}.{{/unless}}
|
||||
{{/each}}
|
||||
<br />
|
||||
|
|
Loading…
Reference in New Issue