From dd6be390639f4b8ba8ecdedd5af988ac1f6a6c9a Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 16 Jul 2023 05:20:29 +0300 Subject: [PATCH] Use named keys for apply tags help text --- frontend/src/Movie/Index/Select/Tags/TagsModalContent.tsx | 8 ++++---- src/NzbDrone.Core/Localization/Core/en.json | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/Movie/Index/Select/Tags/TagsModalContent.tsx b/frontend/src/Movie/Index/Select/Tags/TagsModalContent.tsx index 319f4fc6e..6ea14250b 100644 --- a/frontend/src/Movie/Index/Select/Tags/TagsModalContent.tsx +++ b/frontend/src/Movie/Index/Select/Tags/TagsModalContent.tsx @@ -98,10 +98,10 @@ function TagsModalContent(props: TagsModalContentProps) { value={applyTags} values={applyTagsOptions} helpTexts={[ - translate('ApplyTagsHelpTexts1'), - translate('ApplyTagsHelpTexts2'), - translate('ApplyTagsHelpTexts3'), - translate('ApplyTagsHelpTexts4'), + translate('ApplyTagsHelpTextHowToApplyMovies'), + translate('ApplyTagsHelpTextAdd'), + translate('ApplyTagsHelpTextRemove'), + translate('ApplyTagsHelpTextReplace'), ]} onChange={onApplyTagsChange} /> diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 3b34b7dda..8e7990683 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -60,6 +60,7 @@ "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", + "ApplyTagsHelpTextHowToApplyMovies": "How to apply tags to the selected movies", "ApplyTagsHelpTextRemove": "Remove: Remove the entered tags", "ApplyTagsHelpTextReplace": "Replace: Replace the tags with the entered tags (enter no tags to clear all tags)", "AptUpdater": "Use apt to install the update",