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>
|
</ul>
|
||||||
|
|
||||||
<button class="btn btn-primary" v-if="!activeTabEmpty" style="margin-bottom: 2rem" @click="downloadAllOfType">
|
<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>
|
</button>
|
||||||
|
|
||||||
<div class="favorites_tabcontent" :class="{ 'favorites_tabcontent--active': activeTab === 'playlist' }">
|
<div class="favorites_tabcontent" :class="{ 'favorites_tabcontent--active': activeTab === 'playlist' }">
|
||||||
|
@ -4,7 +4,7 @@ const en = {
|
|||||||
back: 'back',
|
back: 'back',
|
||||||
loading: 'loading',
|
loading: 'loading',
|
||||||
download: 'Download {thing}',
|
download: 'Download {thing}',
|
||||||
downloadAll: 'Download all {thing}',
|
downloadAll: 'Download all {things}',
|
||||||
by: 'by {artist}',
|
by: 'by {artist}',
|
||||||
in: 'in {album}',
|
in: 'in {album}',
|
||||||
download_hint: 'Download',
|
download_hint: 'Download',
|
||||||
@ -39,6 +39,12 @@ const en = {
|
|||||||
spotifyPlaylist: 'spotify playlist | spotify playlists',
|
spotifyPlaylist: 'spotify playlist | spotify playlists',
|
||||||
releaseDate: 'release date',
|
releaseDate: 'release date',
|
||||||
error: 'error'
|
error: 'error'
|
||||||
|
},
|
||||||
|
listTabsArticle:{
|
||||||
|
playlist: 'the playlist | the playlists',
|
||||||
|
album: 'the album | the albums',
|
||||||
|
artist: 'the artist | the artists',
|
||||||
|
track: 'the track | the tracks',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
|
@ -4,7 +4,7 @@ const fr = {
|
|||||||
back: 'retour',
|
back: 'retour',
|
||||||
loading: 'chargement en cours',
|
loading: 'chargement en cours',
|
||||||
download: 'Télécharger {thing}',
|
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}',
|
by: 'par {artist}',
|
||||||
in: 'dans {album}',
|
in: 'dans {album}',
|
||||||
download_hint: 'Télécharger',
|
download_hint: 'Télécharger',
|
||||||
|
@ -4,7 +4,7 @@ const it = {
|
|||||||
back: 'indietro',
|
back: 'indietro',
|
||||||
loading: 'caricamento',
|
loading: 'caricamento',
|
||||||
download: 'Scarica {thing}',
|
download: 'Scarica {thing}',
|
||||||
downloadAll: 'Scarica ogni {thing}',
|
downloadAll: 'Scarica tutti {thingsArticle}',
|
||||||
by: 'di {artist}',
|
by: 'di {artist}',
|
||||||
in: 'in {album}',
|
in: 'in {album}',
|
||||||
download_hint: 'Scarica',
|
download_hint: 'Scarica',
|
||||||
@ -39,6 +39,12 @@ const it = {
|
|||||||
releaseDate: 'data di uscita',
|
releaseDate: 'data di uscita',
|
||||||
error: 'errore',
|
error: 'errore',
|
||||||
empty: ''
|
empty: ''
|
||||||
|
},
|
||||||
|
listTabsArticle:{
|
||||||
|
playlist: 'la playlist | le playlist',
|
||||||
|
album: `l'album | gli album`,
|
||||||
|
artist: `l'artista | gli artisti`,
|
||||||
|
track: 'il brano | i brani',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
about: {
|
about: {
|
||||||
|
Loading…
Reference in New Issue
Block a user