Use named keys for apply tags help text

(cherry picked from commit c1f8c7b17ba5775a0f6f76cebc3173e03124d000)

Closes #3870
This commit is contained in:
Mark McDowall 2023-07-15 09:16:19 -07:00 committed by Bogdan
parent 59bc76ebe0
commit 8c9d3d09fa
4 changed files with 16 additions and 16 deletions

View file

@ -103,10 +103,10 @@ function TagsModalContent(props: TagsModalContentProps) {
value={applyTags} value={applyTags}
values={applyTagsOptions} values={applyTagsOptions}
helpTexts={[ helpTexts={[
translate('ApplyTagsHelpTexts1'), translate('ApplyTagsHelpTextHowToApply'),
translate('ApplyTagsHelpTexts2'), translate('ApplyTagsHelpTextAdd'),
translate('ApplyTagsHelpTexts3'), translate('ApplyTagsHelpTextRemove'),
translate('ApplyTagsHelpTexts4'), translate('ApplyTagsHelpTextReplace'),
]} ]}
onChange={onApplyTagsChange} onChange={onApplyTagsChange}
/> />

View file

@ -101,10 +101,10 @@ function TagsModalContent(props: TagsModalContentProps) {
value={applyTags} value={applyTags}
values={applyTagsOptions} values={applyTagsOptions}
helpTexts={[ helpTexts={[
translate('ApplyTagsHelpTexts1'), translate('ApplyTagsHelpTextHowToApply'),
translate('ApplyTagsHelpTexts2'), translate('ApplyTagsHelpTextAdd'),
translate('ApplyTagsHelpTexts3'), translate('ApplyTagsHelpTextRemove'),
translate('ApplyTagsHelpTexts4'), translate('ApplyTagsHelpTextReplace'),
]} ]}
onChange={onApplyTagsChange} onChange={onApplyTagsChange}
/> />

View file

@ -101,10 +101,10 @@ function TagsModalContent(props: TagsModalContentProps) {
value={applyTags} value={applyTags}
values={applyTagsOptions} values={applyTagsOptions}
helpTexts={[ helpTexts={[
translate('ApplyTagsHelpTexts1'), translate('ApplyTagsHelpTextHowToApply'),
translate('ApplyTagsHelpTexts2'), translate('ApplyTagsHelpTextAdd'),
translate('ApplyTagsHelpTexts3'), translate('ApplyTagsHelpTextRemove'),
translate('ApplyTagsHelpTexts4'), translate('ApplyTagsHelpTextReplace'),
]} ]}
onChange={onApplyTagsChange} onChange={onApplyTagsChange}
/> />

View file

@ -74,10 +74,10 @@
"Apply": "Apply", "Apply": "Apply",
"ApplyChanges": "Apply Changes", "ApplyChanges": "Apply Changes",
"ApplyTags": "Apply Tags", "ApplyTags": "Apply Tags",
"ApplyTagsHelpTexts1": "How to apply tags to the selected indexers", "ApplyTagsHelpTextAdd": "Add: Add the tags the existing list of tags",
"ApplyTagsHelpTexts2": "Add: Add the tags the existing list of tags", "ApplyTagsHelpTextHowToApply": "How to apply tags to the selected indexers",
"ApplyTagsHelpTexts3": "Remove: Remove the entered tags", "ApplyTagsHelpTextRemove": "Remove: Remove the entered tags",
"ApplyTagsHelpTexts4": "Replace: Replace the tags with the entered tags (enter no tags to clear all tags)", "ApplyTagsHelpTextReplace": "Replace: Replace the tags with the entered tags (enter no tags to clear all tags)",
"AreYouSure": "Are you sure?", "AreYouSure": "Are you sure?",
"Artist": "Artist", "Artist": "Artist",
"ArtistAlbumClickToChangeTrack": "Click to change track", "ArtistAlbumClickToChangeTrack": "Click to change track",