Fix #1117: wording issue on artist channel page

This commit is contained in:
Agate 2020-06-05 05:30:29 +02:00
parent c19e85955d
commit ae69cd9d5e
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
Fixed a wording issue on artist channel page (#1117)

View File

@ -18,11 +18,14 @@
<template v-if="totalTracks > 0">
<div class="ui hidden very small divider"></div>
<translate translate-context="Content/Channel/Paragraph"
key="1"
v-if="object.artist.content_category === 'podcast'"
translate-plural="%{ count } episodes"
:translate-n="totalTracks"
:translate-params="{count: totalTracks}">
%{ count } episode
</translate>
<translate key="2" v-else translate-context="*/*/*" :translate-params="{count: totalTracks}" :translate-n="totalTracks" translate-plural="%{ count } tracks">%{ count } track</translate>
</template>
<template v-if="object.attributed_to.full_username === $store.state.auth.fullUsername || $store.getters['channels/isSubscribed'](object.uuid)">
· <translate translate-context="Content/Channel/Paragraph" translate-plural="%{ count } subscribers" :translate-n="object.subscriptions_count" :translate-params="{count: object.subscriptions_count}">%{ count } subscriber</translate>