Display "No subscribers" in my-library instead of "0 subscribers"

Was suggested in https://github.com/Chocobozzz/PeerTube/pull/4484
pull/5020/head
Poslovitch 2022-05-27 12:06:58 +00:00 committed by Chocobozzz
parent 9c931cf0bb
commit f823637d18
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
i18n class="video-channel-followers" i18n class="video-channel-followers"
[routerLink]="[ '/my-library', 'followers' ]" [queryParams]="{ search: 'channel:' + videoChannel.name }" [routerLink]="[ '/my-library', 'followers' ]" [queryParams]="{ search: 'channel:' + videoChannel.name }"
> >
{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}} {videoChannel.followersCount, plural, =0 {No subscribers} =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}
</a> </a>
<div i18n class="video-channel-videos">{videoChannel.videosCount, plural, =0 {No videos} =1 {1 video} other {{{ videoChannel.videosCount }} videos}}</div> <div i18n class="video-channel-videos">{videoChannel.videosCount, plural, =0 {No videos} =1 {1 video} other {{{ videoChannel.videosCount }} videos}}</div>