diff --git a/changes/changelog.d/1117.bugfix b/changes/changelog.d/1117.bugfix new file mode 100644 index 0000000000000000000000000000000000000000..b2236ee70ae1d1186322e5f57d1d50a9d74d70d4 --- /dev/null +++ b/changes/changelog.d/1117.bugfix @@ -0,0 +1 @@ +Fixed a wording issue on artist channel page (#1117) diff --git a/front/src/views/channels/DetailBase.vue b/front/src/views/channels/DetailBase.vue index 19ce17cab230bed07937f1a47116e2c1b78bcf78..06491313fe7c99632ed32893727ed6c0e26d6f13 100644 --- a/front/src/views/channels/DetailBase.vue +++ b/front/src/views/channels/DetailBase.vue @@ -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>