mirror of
https://github.com/koel/koel
synced 2024-11-24 21:23:06 +00:00
Fix plurals
This commit is contained in:
parent
1cabe4f5b2
commit
800c84fe05
7 changed files with 8 additions and 8 deletions
|
@ -16,7 +16,7 @@
|
|||
<a class="artist" v-if="isNormalArtist" @click.prevent="viewArtistDetails(album.artist)">{{ album.artist.name }}</a>
|
||||
<span class="nope" v-else>{{ album.artist.name }}</span>
|
||||
•
|
||||
{{ meta.songCount }} {{ meta.songCount | pluralize('song') }}
|
||||
{{ meta.songCount | pluralize('song') }}
|
||||
•
|
||||
{{ meta.totalLength }}
|
||||
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
@click.prevent="showingControls = false"></i>
|
||||
|
||||
<span class="meta" v-show="meta.songCount">
|
||||
{{ artist.albums.length }} {{ artist.albums.length | pluralize('album') }}
|
||||
{{ artist.albums.length | pluralize('album') }}
|
||||
•
|
||||
{{ meta.songCount }} {{ meta.songCount | pluralize('song') }}
|
||||
{{ meta.songCount | pluralize('song') }}
|
||||
•
|
||||
{{ meta.totalLength }}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
@click.prevent="showingControls = false"></i>
|
||||
|
||||
<span class="meta" v-show="meta.songCount">
|
||||
{{ meta.songCount }} {{ meta.songCount | pluralize('song') }}
|
||||
{{ meta.songCount | pluralize('song') }}
|
||||
•
|
||||
{{ meta.totalLength }}
|
||||
<template v-if="sharedState.allowDownload && state.songs.length">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
@click.prevent="showingControls = false"></i>
|
||||
|
||||
<span class="meta" v-show="meta.songCount">
|
||||
{{ meta.songCount }} {{ meta.songCount | pluralize('song') }}
|
||||
{{ meta.songCount | pluralize('song') }}
|
||||
•
|
||||
{{ meta.totalLength }}
|
||||
<template v-if="sharedState.allowDownload && playlist.songs.length">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
@click.prevent="showingControls = false"></i>
|
||||
|
||||
<span class="meta" v-show="meta.songCount">
|
||||
{{ meta.songCount }} {{ meta.songCount | pluralize('song') }}
|
||||
{{ meta.songCount | pluralize('song') }}
|
||||
•
|
||||
{{ meta.totalLength }}
|
||||
</span>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
@click.prevent="showingControls = false"></i>
|
||||
|
||||
<span class="meta" v-show="meta.songCount">
|
||||
{{ meta.songCount }} {{ meta.songCount | pluralize('song') }}
|
||||
{{ meta.songCount | pluralize('song') }}
|
||||
•
|
||||
{{ meta.totalLength }}
|
||||
</span>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="add-to-playlist" v-show="showing">
|
||||
<p>Add {{ songs.length }} {{ songs.length | pluralize('song') }} to</p>
|
||||
<p>Add {{ songs.length | pluralize('song') }} to</p>
|
||||
|
||||
<ul>
|
||||
<li v-if="mergedSettings.canQueue" @click="queueSongsAfterCurrent">After Current Song</li>
|
||||
|
|
Loading…
Reference in a new issue