Update translations for playlists

This commit is contained in:
Deluan 2020-05-17 10:23:46 -04:00
parent d1a0ffaaee
commit 1aef21a4a9
3 changed files with 22 additions and 4 deletions

View File

@ -21,8 +21,9 @@
"discSubtitle": "Sub-título do disco"
},
"actions": {
"addToQueue": "Tocar por último",
"playNow": "Tocar agora"
"addToQueue": "Adicionar à fila",
"playNow": "Tocar agora",
"addToPlaylist": "Adicionar à playlist"
}
},
"album": {
@ -42,7 +43,7 @@
"actions": {
"playAll": "Tocar",
"playNext": "Tocar em seguida",
"addToQueue": "Tocar no fim",
"addToQueue": "Adicionar à fila",
"shuffle": "Aleatório"
}
},
@ -85,6 +86,21 @@
"defaultBitRate": "Bitrate padrão",
"command": "Comando"
}
},
"playlist": {
"name": "Playlist |||| Playlists",
"fields": {
"name": "Nome",
"duration": "Duração",
"owner": "Dono",
"public": "Pública",
"updatedAt": "Últ. Atualização",
"createdAt": "Data de Criação ",
"songCount": "Músicas"
},
"actions": {
"selectPlaylist": "Selecione a playlist:"
}
}
},
"ra": {

View File

@ -60,6 +60,7 @@
"fields": {
"name": "Name",
"duration": "Duration",
"songCount": "Songs",
"owner": "Owner",
"public": "Public",
"updatedAt":"Updated at",

View File

@ -27,8 +27,9 @@ const removeEmpty = (obj) => {
const prepareLanguage = (lang) => {
removeEmpty(lang)
// Make "albumSongs" resource use the same translations as "song"
// Make "albumSong" and "playlistTrack" resource use the same translations as "song"
lang.resources.albumSong = lang.resources.song
lang.resources.playlistTrack = lang.resources.song
// ra.boolean.null should always be empty
lang.ra.boolean.null = ''
// Fallback to english translations