diff options
author | Poslovitch <poslovitch@bentobox.world> | 2022-05-27 12:06:58 +0000 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-05-30 10:06:03 +0200 |
commit | f823637d1810351f87835db38145ef99df63e403 (patch) | |
tree | 22728ea8e33d46f3f8a32a01b3bd672c32beaf49 | |
parent | 9c931cf0bb162aa4733584be96107cdcd922d308 (diff) | |
download | PeerTube-f823637d1810351f87835db38145ef99df63e403.tar.gz PeerTube-f823637d1810351f87835db38145ef99df63e403.tar.zst PeerTube-f823637d1810351f87835db38145ef99df63e403.zip |
Display "No subscribers" in my-library instead of "0 subscribers"
Was suggested in https://github.com/Chocobozzz/PeerTube/pull/4484
-rw-r--r-- | client/src/app/+my-library/+my-video-channels/my-video-channels.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
31 | i18n class="video-channel-followers" | 31 | i18n class="video-channel-followers" |
32 | [routerLink]="[ '/my-library', 'followers' ]" [queryParams]="{ search: 'channel:' + videoChannel.name }" | 32 | [routerLink]="[ '/my-library', 'followers' ]" [queryParams]="{ search: 'channel:' + videoChannel.name }" |
33 | > | 33 | > |
34 | {videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}} | 34 | {videoChannel.followersCount, plural, =0 {No subscribers} =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}} |
35 | </a> | 35 | </a> |
36 | 36 | ||
37 | <div i18n class="video-channel-videos">{videoChannel.videosCount, plural, =0 {No videos} =1 {1 video} other {{{ videoChannel.videosCount }} videos}}</div> | 37 | <div i18n class="video-channel-videos">{videoChannel.videosCount, plural, =0 {No videos} =1 {1 video} other {{{ videoChannel.videosCount }} videos}}</div> |