From f823637d1810351f87835db38145ef99df63e403 Mon Sep 17 00:00:00 2001 From: Poslovitch Date: Fri, 27 May 2022 12:06:58 +0000 Subject: Display "No subscribers" in my-library instead of "0 subscribers" Was suggested in https://github.com/Chocobozzz/PeerTube/pull/4484 --- .../app/+my-library/+my-video-channels/my-video-channels.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html index 89327b065..e7003f1e4 100644 --- a/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html +++ b/client/src/app/+my-library/+my-video-channels/my-video-channels.component.html @@ -31,7 +31,7 @@ i18n class="video-channel-followers" [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}}
{videoChannel.videosCount, plural, =0 {No videos} =1 {1 video} other {{{ videoChannel.videosCount }} videos}}
-- cgit v1.2.3