mirror of https://github.com/Chocobozzz/PeerTube
Display "No subscribers" in my-library instead of "0 subscribers"
Was suggested in https://github.com/Chocobozzz/PeerTube/pull/4484pull/5020/head
parent
9c931cf0bb
commit
f823637d18
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue