1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-16 23:39:44 +02:00

Use named keys for apply tags help text

(cherry picked from commit c1f8c7b17ba5775a0f6f76cebc3173e03124d000)

Closes #8816
This commit is contained in:
Mark McDowall 2023-07-15 09:16:19 -07:00 committed by Bogdan
parent d936591b66
commit e4eb8f63bb
4 changed files with 18 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('ApplyTagsHelpTextHowToApplyDownloadClients'),
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('ApplyTagsHelpTextHowToApplyImportLists'),
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('ApplyTagsHelpTextHowToApplyIndexers'),
translate('ApplyTagsHelpTexts2'), translate('ApplyTagsHelpTextAdd'),
translate('ApplyTagsHelpTexts3'), translate('ApplyTagsHelpTextRemove'),
translate('ApplyTagsHelpTexts4'), translate('ApplyTagsHelpTextReplace'),
]} ]}
onChange={onApplyTagsChange} onChange={onApplyTagsChange}
/> />

View File

@ -56,10 +56,12 @@
"Apply": "Apply", "Apply": "Apply",
"ApplyChanges": "Apply Changes", "ApplyChanges": "Apply Changes",
"ApplyTags": "Apply Tags", "ApplyTags": "Apply Tags",
"ApplyTagsHelpTexts1": "How to apply tags to the selected movies", "ApplyTagsHelpTextAdd": "Add: Add the tags the existing list of tags",
"ApplyTagsHelpTexts2": "Add: Add the tags to the existing list of tags", "ApplyTagsHelpTextHowToApplyDownloadClients": "How to apply tags to the selected download clients",
"ApplyTagsHelpTexts3": "Remove: Remove the entered tags", "ApplyTagsHelpTextHowToApplyImportLists": "How to apply tags to the selected import lists",
"ApplyTagsHelpTexts4": "Replace: Replace the tags with the entered tags (enter no tags to clear all tags)", "ApplyTagsHelpTextHowToApplyIndexers": "How to apply tags to the selected indexers",
"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", "AptUpdater": "Use apt to install the update",
"AsAllDayHelpText": "Events will appear as all-day events in your calendar", "AsAllDayHelpText": "Events will appear as all-day events in your calendar",
"AudioInfo": "Audio Info", "AudioInfo": "Audio Info",