Added thingsArticle option for translation in downloadAll
For example in italian: "Download all tracks" translates to "Scarica tutti i brani"
This commit is contained in:
parent
362d1a1368
commit
1182efd2dd
File diff suppressed because one or more lines are too long
@ -26,7 +26,7 @@
|
||||
</ul>
|
||||
|
||||
<button class="btn btn-primary" v-if="!activeTabEmpty" style="margin-bottom: 2rem" @click="downloadAllOfType">
|
||||
{{ $t('globals.downloadAll', { thing: $tc(`globals.listTabs.${activeTab}`, 2) }) }}
|
||||
{{ $t('globals.downloadAll', { things: $tc(`globals.listTabs.${activeTab}`, 2), thingsArticle: $tc(`globals.listTabsArticle.${activeTab}`, 2) }) }}
|
||||
</button>
|
||||
|
||||
<div class="favorites_tabcontent" :class="{ 'favorites_tabcontent--active': activeTab === 'playlist' }">
|
||||
|
@ -4,7 +4,7 @@ const en = {
|
||||
back: 'back',
|
||||
loading: 'loading',
|
||||
download: 'Download {thing}',
|
||||
downloadAll: 'Download all {thing}',
|
||||
downloadAll: 'Download all {things}',
|
||||
by: 'by {artist}',
|
||||
in: 'in {album}',
|
||||
download_hint: 'Download',
|
||||
@ -39,6 +39,12 @@ const en = {
|
||||
spotifyPlaylist: 'spotify playlist | spotify playlists',
|
||||
releaseDate: 'release date',
|
||||
error: 'error'
|
||||
},
|
||||
listTabsArticle:{
|
||||
playlist: 'the playlist | the playlists',
|
||||
album: 'the album | the albums',
|
||||
artist: 'the artist | the artists',
|
||||
track: 'the track | the tracks',
|
||||
}
|
||||
},
|
||||
about: {
|
||||
|
@ -4,7 +4,7 @@ const fr = {
|
||||
back: 'retour',
|
||||
loading: 'chargement en cours',
|
||||
download: 'Télécharger {thing}',
|
||||
downloadAll: "Télécharger l'intégralité des {thing}",
|
||||
downloadAll: "Télécharger l'intégralité des {things}",
|
||||
by: 'par {artist}',
|
||||
in: 'dans {album}',
|
||||
download_hint: 'Télécharger',
|
||||
|
@ -4,7 +4,7 @@ const it = {
|
||||
back: 'indietro',
|
||||
loading: 'caricamento',
|
||||
download: 'Scarica {thing}',
|
||||
downloadAll: 'Scarica ogni {thing}',
|
||||
downloadAll: 'Scarica tutti {thingsArticle}',
|
||||
by: 'di {artist}',
|
||||
in: 'in {album}',
|
||||
download_hint: 'Scarica',
|
||||
@ -39,6 +39,12 @@ const it = {
|
||||
releaseDate: 'data di uscita',
|
||||
error: 'errore',
|
||||
empty: ''
|
||||
},
|
||||
listTabsArticle:{
|
||||
playlist: 'la playlist | le playlist',
|
||||
album: `l'album | gli album`,
|
||||
artist: `l'artista | gli artisti`,
|
||||
track: 'il brano | i brani',
|
||||
}
|
||||
},
|
||||
about: {
|
||||
|
Loading…
Reference in New Issue
Block a user