Skip to content

🎧 Your Personal Streaming Service

Update translations for playlists

Deluan1aef21a4a933
diff --git a/resources/i18n/pt.json b/resources/i18n/pt.json
index bd3709e60..5348e007c 100644
--- a/resources/i18n/pt.json
+++ b/resources/i18n/pt.json
@@ -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": {
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index d9a3c8972..c10cd895c 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -60,6 +60,7 @@
"fields": {
"name": "Name",
"duration": "Duration",
+ "songCount": "Songs",
"owner": "Owner",
"public": "Public",
"updatedAt":"Updated at",
diff --git a/ui/src/i18n/provider.js b/ui/src/i18n/provider.js
index 69e125daf..24520e7d5 100644
--- a/ui/src/i18n/provider.js
+++ b/ui/src/i18n/provider.js
@@ -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