Fixed: Clarify List Clean options, Add warning on removeAndDelete selection

This commit is contained in:
Qstick 2020-11-10 23:35:20 -05:00
parent 75866b135c
commit c21e733d57
2 changed files with 5 additions and 3 deletions

View File

@ -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}
/>

View File

@ -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",