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 />
|
<br />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if subscribed_users}}
|
{{#if subscribed_users}}
|
||||||
{{#each subscribed_users}}
|
{{#if subscribed_users.[1]}}
|
||||||
{{#if @first}}
|
|
||||||
{{t "Successfully subscribed users:" }}
|
{{t "Successfully subscribed users:" }}
|
||||||
|
{{else}}
|
||||||
|
{{t "Successfully subscribed user:" }}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{#each subscribed_users}}
|
||||||
<a data-user-id="{{user_id}}" class="view_user_profile">{{full_name}}</a>{{#unless @last}},{{else}}.{{/unless}}
|
<a data-user-id="{{user_id}}" class="view_user_profile">{{full_name}}</a>{{#unless @last}},{{else}}.{{/unless}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Reference in New Issue