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:
RemixDev 2020-10-30 11:11:57 +01:00
parent 362d1a1368
commit 1182efd2dd
5 changed files with 18 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -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' }">

View File

@ -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: {

View File

@ -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',

View File

@ -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: {