kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Merge branch '1117-track-episodes' into 'master'
Resolve "X episodes instead of X tracks on Artist channel page" See merge request funkwhale/funkwhale!1130plugins-v3
commit
23db50ed1a
|
@ -0,0 +1 @@
|
||||||
|
Fixed a wording issue on artist channel page (#1117)
|
|
@ -18,11 +18,14 @@
|
||||||
<template v-if="totalTracks > 0">
|
<template v-if="totalTracks > 0">
|
||||||
<div class="ui hidden very small divider"></div>
|
<div class="ui hidden very small divider"></div>
|
||||||
<translate translate-context="Content/Channel/Paragraph"
|
<translate translate-context="Content/Channel/Paragraph"
|
||||||
|
key="1"
|
||||||
|
v-if="object.artist.content_category === 'podcast'"
|
||||||
translate-plural="%{ count } episodes"
|
translate-plural="%{ count } episodes"
|
||||||
:translate-n="totalTracks"
|
:translate-n="totalTracks"
|
||||||
:translate-params="{count: totalTracks}">
|
:translate-params="{count: totalTracks}">
|
||||||
%{ count } episode
|
%{ count } episode
|
||||||
</translate>
|
</translate>
|
||||||
|
<translate key="2" v-else translate-context="*/*/*" :translate-params="{count: totalTracks}" :translate-n="totalTracks" translate-plural="%{ count } tracks">%{ count } track</translate>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="object.attributed_to.full_username === $store.state.auth.fullUsername || $store.getters['channels/isSubscribed'](object.uuid)">
|
<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>
|
· <translate translate-context="Content/Channel/Paragraph" translate-plural="%{ count } subscribers" :translate-n="object.subscriptions_count" :translate-params="{count: object.subscriptions_count}">%{ count } subscriber</translate>
|
||||||
|
|
Ładowanie…
Reference in New Issue