Use specific How To Apply Tags per setting section

This commit is contained in:
Bogdan 2023-07-16 02:04:49 +03:00
parent 972e140899
commit 1bba3957a7
5 changed files with 12 additions and 7 deletions

View File

@ -16,6 +16,7 @@ import { inputTypes, kinds, sizes } from 'Helpers/Props';
import Series from 'Series/Series'; import Series from 'Series/Series';
import createAllSeriesSelector from 'Store/Selectors/createAllSeriesSelector'; import createAllSeriesSelector from 'Store/Selectors/createAllSeriesSelector';
import createTagsSelector from 'Store/Selectors/createTagsSelector'; import createTagsSelector from 'Store/Selectors/createTagsSelector';
import translate from 'Utilities/String/translate';
import styles from './TagsModalContent.css'; import styles from './TagsModalContent.css';
interface TagsModalContentProps { interface TagsModalContentProps {
@ -97,10 +98,10 @@ function TagsModalContent(props: TagsModalContentProps) {
value={applyTags} value={applyTags}
values={applyTagsOptions} values={applyTagsOptions}
helpTexts={[ helpTexts={[
'How to apply tags to the selected series', translate('ApplyTagsHelpTextHowToApplySeries'),
'Add: Add the tags the existing list of tags', translate('ApplyTagsHelpTextAdd'),
'Remove: Remove the entered tags', translate('ApplyTagsHelpTextRemove'),
'Replace: Replace the tags with the entered tags (enter no tags to clear all tags)', translate('ApplyTagsHelpTextReplace'),
]} ]}
onChange={onApplyTagsChange} onChange={onApplyTagsChange}
/> />

View File

@ -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'),

View File

@ -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'),

View File

@ -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'),

View File

@ -14,6 +14,10 @@
"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", "ApplyTagsHelpTextHowToApply": "How to apply tags to the selected indexers",
"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",
"ApplyTagsHelpTextHowToApplySeries": "How to apply tags to the selected series",
"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)",
"AutoAdd": "Auto Add", "AutoAdd": "Auto Add",