From c21e733d5738b2cb83a3b5e2ac99c33c46c13868 Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 10 Nov 2020 23:35:20 -0500 Subject: [PATCH] Fixed: Clarify List Clean options, Add warning on removeAndDelete selection --- .../src/Settings/ImportLists/Options/ImportListOptions.js | 7 ++++--- src/NzbDrone.Core/Localization/Core/en.json | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/Settings/ImportLists/Options/ImportListOptions.js b/frontend/src/Settings/ImportLists/Options/ImportListOptions.js index 08c480b83..254ca6f18 100644 --- a/frontend/src/Settings/ImportLists/Options/ImportListOptions.js +++ b/frontend/src/Settings/ImportLists/Options/ImportListOptions.js @@ -21,9 +21,9 @@ function ImportListOptions(props) { const cleanLibraryLevelOptions = [ { key: 'disabled', value: 'Disabled' }, { key: 'logOnly', value: 'Log Only' }, - { key: 'keepAndUnmonitor', value: 'Keep and Unmonitor' }, - { key: 'removeAndKeep', value: 'Remove and Keep' }, - { key: 'removeAndDelete', value: 'Remove and Delete' } + { key: 'keepAndUnmonitor', value: 'Keep and Unmonitor Movie' }, + { key: 'removeAndKeep', value: 'Remove Movie and Keep Files' }, + { key: 'removeAndDelete', value: 'Remove Movie and Delete Files' } ]; return ( @@ -65,6 +65,7 @@ function ImportListOptions(props) { name="listSyncLevel" values={cleanLibraryLevelOptions} helpText={translate('ListSyncLevelHelpText')} + helpTextWarning={settings.listSyncLevel.value === 'removeAndDelete' ? translate('ListSyncLevelHelpTextWarning') : undefined} onChange={onInputChange} {...settings.listSyncLevel} /> diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 85ff7b5bf..a6e289d54 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -365,6 +365,7 @@ "ListSettings": "List Settings", "ListsSettingsSummary": "Import Lists, list exclusions", "ListSyncLevelHelpText": "Movies in library will be removed or unmonitored if not in your list", + "ListSyncLevelHelpTextWarning": "Movie files will be permanently deleted, this can result in wiping your library if your lists are empty", "ListTagsHelpText": "Tags list items will be added with", "ListUpdateInterval": "List Update Interval", "LoadingMovieCreditsFailed": "Loading movie credits failed",