mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
Fixed: Clarify List Clean options, Add warning on removeAndDelete selection
This commit is contained in:
parent
75866b135c
commit
c21e733d57
@ -21,9 +21,9 @@ function ImportListOptions(props) {
|
|||||||
const cleanLibraryLevelOptions = [
|
const cleanLibraryLevelOptions = [
|
||||||
{ key: 'disabled', value: 'Disabled' },
|
{ key: 'disabled', value: 'Disabled' },
|
||||||
{ key: 'logOnly', value: 'Log Only' },
|
{ key: 'logOnly', value: 'Log Only' },
|
||||||
{ key: 'keepAndUnmonitor', value: 'Keep and Unmonitor' },
|
{ key: 'keepAndUnmonitor', value: 'Keep and Unmonitor Movie' },
|
||||||
{ key: 'removeAndKeep', value: 'Remove and Keep' },
|
{ key: 'removeAndKeep', value: 'Remove Movie and Keep Files' },
|
||||||
{ key: 'removeAndDelete', value: 'Remove and Delete' }
|
{ key: 'removeAndDelete', value: 'Remove Movie and Delete Files' }
|
||||||
];
|
];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -65,6 +65,7 @@ function ImportListOptions(props) {
|
|||||||
name="listSyncLevel"
|
name="listSyncLevel"
|
||||||
values={cleanLibraryLevelOptions}
|
values={cleanLibraryLevelOptions}
|
||||||
helpText={translate('ListSyncLevelHelpText')}
|
helpText={translate('ListSyncLevelHelpText')}
|
||||||
|
helpTextWarning={settings.listSyncLevel.value === 'removeAndDelete' ? translate('ListSyncLevelHelpTextWarning') : undefined}
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...settings.listSyncLevel}
|
{...settings.listSyncLevel}
|
||||||
/>
|
/>
|
||||||
|
@ -365,6 +365,7 @@
|
|||||||
"ListSettings": "List Settings",
|
"ListSettings": "List Settings",
|
||||||
"ListsSettingsSummary": "Import Lists, list exclusions",
|
"ListsSettingsSummary": "Import Lists, list exclusions",
|
||||||
"ListSyncLevelHelpText": "Movies in library will be removed or unmonitored if not in your list",
|
"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",
|
"ListTagsHelpText": "Tags list items will be added with",
|
||||||
"ListUpdateInterval": "List Update Interval",
|
"ListUpdateInterval": "List Update Interval",
|
||||||
"LoadingMovieCreditsFailed": "Loading movie credits failed",
|
"LoadingMovieCreditsFailed": "Loading movie credits failed",
|
||||||
|
Loading…
Reference in New Issue
Block a user