diff --git a/front/src/components/audio/album/Card.vue b/front/src/components/audio/album/Card.vue index 0c5a7c8032aea8e2c501b7005ce78950874c81ab..a439a16b681284aa8aabab2285a227e8c3218733 100644 --- a/front/src/components/audio/album/Card.vue +++ b/front/src/components/audio/album/Card.vue @@ -38,7 +38,7 @@ </table> <div class="center aligned segment" v-if="album.tracks.length > initialTracks"> <em v-if="!showAllTracks" @click="showAllTracks = true" class="expand"> - <translate :translate-params="{count: album.tracks.length - initialTracks}" :translate-n="album.tracks.length - initialTracks" translate-plural="Show %{ count } more tracks">Show 1 more track</translate> + <translate :translate-params="{count: album.tracks.length - initialTracks}" :translate-n="album.tracks.length - initialTracks" translate-plural="Show %{ count } more tracks">Show %{ count } more track</translate> </em> <em v-else @click="showAllTracks = false" class="expand"> <translate>Collapse</translate> @@ -52,7 +52,7 @@ </play-button> <span> <i class="music icon"></i> - <translate :translate-params="{count: album.tracks.length}" :translate-n="album.tracks.length" translate-plural="%{ count } tracks">1 track</translate> + <translate :translate-params="{count: album.tracks.length}" :translate-n="album.tracks.length" translate-plural="%{ count } tracks">%{ count } track</translate> </span> </div> </div> diff --git a/front/src/views/content/libraries/Card.vue b/front/src/views/content/libraries/Card.vue index 12d6d7d5ff81946a46626acc94e2a28a1df8a13c..6b327f370cf9f10587a30402905305ecea4d27a3 100644 --- a/front/src/views/content/libraries/Card.vue +++ b/front/src/views/content/libraries/Card.vue @@ -36,8 +36,8 @@ <i class="database icon"></i> {{ library.size | humanSize }} </span> - <i class="music icon"></i> {{ library.uploads_count }} - <translate :translate-params="{count: library.uploads_count}" :translate-n="library.uploads_count" translate-plural="%{ count } tracks">1 track</translate> + <i class="music icon"></i> + <translate :translate-params="{count: library.uploads_count}" :translate-n="library.uploads_count" translate-plural="%{ count } tracks">%{ count } track</translate> </div> </div> <div class="ui bottom basic attached buttons"> diff --git a/front/src/views/content/remote/Card.vue b/front/src/views/content/remote/Card.vue index 48f5896ad25dbd6caa2812558f0ac69fc99670a4..862a9a69a4ae8c105f0c7cbb6c8bab1d147b8de1 100644 --- a/front/src/views/content/remote/Card.vue +++ b/front/src/views/content/remote/Card.vue @@ -24,7 +24,7 @@ </div> <div class="meta"> <i class="music icon"></i> - <translate :translate-params="{count: library.uploads_count}" :translate-n="library.uploads_count" translate-plural="%{ count } tracks">1 tracks</translate> + <translate :translate-params="{count: library.uploads_count}" :translate-n="library.uploads_count" translate-plural="%{ count } tracks">%{ count } tracks</translate> </div> <div v-if="latestScan" class="meta"> <template v-if="latestScan.status === 'pending'">