From 921f1702342c8ed914ddcf4f33487b09a65a541a Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 17 Jul 2023 04:35:49 +0300 Subject: [PATCH] Use named keys for apply tags help text Closes #2673 --- frontend/src/Author/Editor/Tags/TagsModalContent.js | 8 ++++---- src/NzbDrone.Core/Localization/Core/en.json | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/Author/Editor/Tags/TagsModalContent.js b/frontend/src/Author/Editor/Tags/TagsModalContent.js index 7eaa8ba4e..a2b569c19 100644 --- a/frontend/src/Author/Editor/Tags/TagsModalContent.js +++ b/frontend/src/Author/Editor/Tags/TagsModalContent.js @@ -98,10 +98,10 @@ class TagsModalContent extends Component { value={applyTags} values={applyTagsOptions} helpTexts={[ - translate('ApplyTagsHelpTexts1'), - translate('ApplyTagsHelpTexts2'), - translate('ApplyTagsHelpTexts3'), - translate('ApplyTagsHelpTexts4') + translate('ApplyTagsHelpTextHowToApplyAuthors'), + translate('ApplyTagsHelpTextAdd'), + translate('ApplyTagsHelpTextRemove'), + translate('ApplyTagsHelpTextReplace') ]} onChange={this.onInputChange} /> diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 8268ed108..94fc3d8e8 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -39,6 +39,7 @@ "ApplyChanges": "Apply Changes", "ApplyTags": "Apply Tags", "ApplyTagsHelpTextAdd": "Add: Add the tags the existing list of tags", + "ApplyTagsHelpTextHowToApplyAuthors": "How to apply tags to the selected authors", "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",