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

View File

@ -100,7 +100,8 @@
"songCount": "Músicas"
},
"actions": {
"selectPlaylist": "Selecione a playlist:"
"selectPlaylist": "Selecione a playlist:",
"addNewPlaylist": "Criar \"%{name}\""
}
}
},

View File

@ -51,7 +51,9 @@ const SelectPlaylistInput = ({ onChange }) => {
if (params.inputValue !== '') {
filtered.push({
inputValue: params.inputValue,
name: `Add "${params.inputValue}"`,
name: translate('resources.playlist.actions.addNewPlaylist', {
name: params.inputValue,
}),
})
}

View File

@ -70,7 +70,7 @@
},
"actions": {
"selectPlaylist": "Select a playlist:",
"addToPlaylist": "New playlist"
"addNewPlaylist": "Create \"%{name}\""
}
},
"user": {