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:
SameepAher 2023-01-26 23:52:35 +05:30 committed by GitHub
parent 99b3c1c9d4
commit 3fe6d0def1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -3,10 +3,12 @@
<br /> <br />
{{/if}} {{/if}}
{{#if subscribed_users}} {{#if subscribed_users}}
{{#if subscribed_users.[1]}}
{{t "Successfully subscribed users:" }}
{{else}}
{{t "Successfully subscribed user:" }}
{{/if}}
{{#each subscribed_users}} {{#each subscribed_users}}
{{#if @first}}
{{t "Successfully subscribed users:" }}
{{/if}}
<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 />