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
+2 -1
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