From 85185e3b98b40ba861aab88c9e9fd8de8fcf29a3 Mon Sep 17 00:00:00 2001 From: Steve Richter Date: Tue, 26 Oct 2021 08:57:20 -0400 Subject: [PATCH] Misc small changes (#1433) * Fix React key warning in HelpDialog * Change "lyric" to "lyrics" in en.json --- ui/src/dialogs/HelpDialog.js | 3 ++- ui/src/i18n/en.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/src/dialogs/HelpDialog.js b/ui/src/dialogs/HelpDialog.js index 462a8c1ba..e61fd1f97 100644 --- a/ui/src/dialogs/HelpDialog.js +++ b/ui/src/dialogs/HelpDialog.js @@ -39,9 +39,10 @@ const HelpTable = (props) => { {sequences.map(({ sequence }) => ( {sequence}} + label={{sequence}} size="small" variant={'outlined'} + key={sequence} /> ))} diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json index e1220df36..3d6157449 100644 --- a/ui/src/i18n/en.json +++ b/ui/src/i18n/en.json @@ -344,13 +344,13 @@ "previousTrackText": "Previous track", "reloadText": "Reload", "volumeText": "Volume", - "toggleLyricText": "Toggle lyric", + "toggleLyricText": "Toggle lyrics", "toggleMiniModeText": "Minimize", "destroyText": "Destroy", "downloadText": "Download", "removeAudioListsText": "Delete audio lists", "clickToDeleteText": "Click to delete %{name}", - "emptyLyricText": "No lyric", + "emptyLyricText": "No lyrics", "playModeText": { "order": "In order", "orderLoop": "Repeat",