Use named keys for apply tags help text

pull/3885/head v1.3.1.3371
Bogdan 11 months ago
parent 43c892b89d
commit 3d615d0031

@ -98,10 +98,10 @@ class TagsModalContent extends Component {
value={applyTags} value={applyTags}
values={applyTagsOptions} values={applyTagsOptions}
helpTexts={[ helpTexts={[
translate('ApplyTagsHelpTexts1'), translate('ApplyTagsHelpTextHowToApplyArtists'),
translate('ApplyTagsHelpTexts2'), translate('ApplyTagsHelpTextAdd'),
translate('ApplyTagsHelpTexts3'), translate('ApplyTagsHelpTextRemove'),
translate('ApplyTagsHelpTexts4') translate('ApplyTagsHelpTextReplace')
]} ]}
onChange={this.onInputChange} onChange={this.onInputChange}
/> />

@ -103,7 +103,7 @@ function TagsModalContent(props: TagsModalContentProps) {
value={applyTags} value={applyTags}
values={applyTagsOptions} values={applyTagsOptions}
helpTexts={[ helpTexts={[
translate('ApplyTagsHelpTextHowToApply'), translate('ApplyTagsHelpTextHowToApplyDownloadClients'),
translate('ApplyTagsHelpTextAdd'), translate('ApplyTagsHelpTextAdd'),
translate('ApplyTagsHelpTextRemove'), translate('ApplyTagsHelpTextRemove'),
translate('ApplyTagsHelpTextReplace'), translate('ApplyTagsHelpTextReplace'),

@ -101,7 +101,7 @@ function TagsModalContent(props: TagsModalContentProps) {
value={applyTags} value={applyTags}
values={applyTagsOptions} values={applyTagsOptions}
helpTexts={[ helpTexts={[
translate('ApplyTagsHelpTextHowToApply'), translate('ApplyTagsHelpTextHowToApplyImportLists'),
translate('ApplyTagsHelpTextAdd'), translate('ApplyTagsHelpTextAdd'),
translate('ApplyTagsHelpTextRemove'), translate('ApplyTagsHelpTextRemove'),
translate('ApplyTagsHelpTextReplace'), translate('ApplyTagsHelpTextReplace'),

@ -101,7 +101,7 @@ function TagsModalContent(props: TagsModalContentProps) {
value={applyTags} value={applyTags}
values={applyTagsOptions} values={applyTagsOptions}
helpTexts={[ helpTexts={[
translate('ApplyTagsHelpTextHowToApply'), translate('ApplyTagsHelpTextHowToApplyIndexers'),
translate('ApplyTagsHelpTextAdd'), translate('ApplyTagsHelpTextAdd'),
translate('ApplyTagsHelpTextRemove'), translate('ApplyTagsHelpTextRemove'),
translate('ApplyTagsHelpTextReplace'), translate('ApplyTagsHelpTextReplace'),

@ -75,7 +75,10 @@
"ApplyChanges": "Apply Changes", "ApplyChanges": "Apply Changes",
"ApplyTags": "Apply Tags", "ApplyTags": "Apply Tags",
"ApplyTagsHelpTextAdd": "Add: Add the tags the existing list of tags", "ApplyTagsHelpTextAdd": "Add: Add the tags the existing list of tags",
"ApplyTagsHelpTextHowToApply": "How to apply tags to the selected indexers", "ApplyTagsHelpTextHowToApplyArtists": "How to apply tags to the selected artists",
"ApplyTagsHelpTextHowToApplyDownloadClients": "How to apply tags to the selected download clients",
"ApplyTagsHelpTextHowToApplyImportLists": "How to apply tags to the selected import lists",
"ApplyTagsHelpTextHowToApplyIndexers": "How to apply tags to the selected indexers",
"ApplyTagsHelpTextRemove": "Remove: Remove the entered tags", "ApplyTagsHelpTextRemove": "Remove: Remove the entered tags",
"ApplyTagsHelpTextReplace": "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?",

Loading…
Cancel
Save