Translate messages

This commit is contained in:
Deluan
2020-05-25 15:24:26 -04:00
committed by Deluan Quintão
parent 6db63e4dfc
commit a42a16696e
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -100,7 +100,8 @@
"songCount": "Músicas" "songCount": "Músicas"
}, },
"actions": { "actions": {
"selectPlaylist": "Selecione a playlist:" "selectPlaylist": "Selecione a playlist:",
"addNewPlaylist": "Criar \"%{name}\""
} }
} }
}, },
+3 -1
View File
@@ -51,7 +51,9 @@ const SelectPlaylistInput = ({ onChange }) => {
if (params.inputValue !== '') { if (params.inputValue !== '') {
filtered.push({ filtered.push({
inputValue: params.inputValue, inputValue: params.inputValue,
name: `Add "${params.inputValue}"`, name: translate('resources.playlist.actions.addNewPlaylist', {
name: params.inputValue,
}),
}) })
} }
+1 -1
View File
@@ -70,7 +70,7 @@
}, },
"actions": { "actions": {
"selectPlaylist": "Select a playlist:", "selectPlaylist": "Select a playlist:",
"addToPlaylist": "New playlist" "addNewPlaylist": "Create \"%{name}\""
} }
}, },
"user": { "user": {