Misc small changes (#1433)

* Fix React key warning in HelpDialog

* Change "lyric" to "lyrics" in en.json
This commit is contained in:
Steve Richter
2021-10-26 08:57:20 -04:00
committed by GitHub
parent 83eaafcbfb
commit 85185e3b98
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -39,9 +39,10 @@ const HelpTable = (props) => {
<TableCell align="left"> <TableCell align="left">
{sequences.map(({ sequence }) => ( {sequences.map(({ sequence }) => (
<Chip <Chip
label={<kbd key={sequence}>{sequence}</kbd>} label={<kbd>{sequence}</kbd>}
size="small" size="small"
variant={'outlined'} variant={'outlined'}
key={sequence}
/> />
))} ))}
</TableCell> </TableCell>
+2 -2
View File
@@ -344,13 +344,13 @@
"previousTrackText": "Previous track", "previousTrackText": "Previous track",
"reloadText": "Reload", "reloadText": "Reload",
"volumeText": "Volume", "volumeText": "Volume",
"toggleLyricText": "Toggle lyric", "toggleLyricText": "Toggle lyrics",
"toggleMiniModeText": "Minimize", "toggleMiniModeText": "Minimize",
"destroyText": "Destroy", "destroyText": "Destroy",
"downloadText": "Download", "downloadText": "Download",
"removeAudioListsText": "Delete audio lists", "removeAudioListsText": "Delete audio lists",
"clickToDeleteText": "Click to delete %{name}", "clickToDeleteText": "Click to delete %{name}",
"emptyLyricText": "No lyric", "emptyLyricText": "No lyrics",
"playModeText": { "playModeText": {
"order": "In order", "order": "In order",
"orderLoop": "Repeat", "orderLoop": "Repeat",