mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Show warning when using the docker update mechanism
(cherry picked from commit cc538c4b2d33a1734c45c0667776d946596107e9)
This commit is contained in:
parent
caf4a18e59
commit
d9ce6d43e4
3 changed files with 3 additions and 1 deletions
|
@ -91,6 +91,7 @@ function UpdateSettings(props) {
|
||||||
type={inputTypes.CHECK}
|
type={inputTypes.CHECK}
|
||||||
name="updateAutomatically"
|
name="updateAutomatically"
|
||||||
helpText={translate('UpdateAutomaticallyHelpText')}
|
helpText={translate('UpdateAutomaticallyHelpText')}
|
||||||
|
helpTextWarning={updateMechanism.value === 'docker' ? translate('AutomaticUpdatesDisabledDocker', { appName: 'Lidarr' }) : undefined}
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...updateAutomatically}
|
{...updateAutomatically}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -139,7 +139,7 @@ namespace NzbDrone.Common.Extensions
|
||||||
|
|
||||||
public static bool IsPathValid(this string path, PathValidationType validationType)
|
public static bool IsPathValid(this string path, PathValidationType validationType)
|
||||||
{
|
{
|
||||||
if (path.ContainsInvalidPathChars() || string.IsNullOrWhiteSpace(path))
|
if (string.IsNullOrWhiteSpace(path) || path.ContainsInvalidPathChars())
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,6 +101,7 @@
|
||||||
"AutoRedownloadFailedHelpText": "Automatically search for and attempt to download a different release",
|
"AutoRedownloadFailedHelpText": "Automatically search for and attempt to download a different release",
|
||||||
"Automatic": "Automatic",
|
"Automatic": "Automatic",
|
||||||
"AutomaticAdd": "Automatic Add",
|
"AutomaticAdd": "Automatic Add",
|
||||||
|
"AutomaticUpdatesDisabledDocker": "Automatic updates are not directly supported when using the Docker update mechanism. You will need to update the container image outside of {appName} or use a script",
|
||||||
"AutomaticallySwitchRelease": "Automatically Switch Release",
|
"AutomaticallySwitchRelease": "Automatically Switch Release",
|
||||||
"Backup": "Backup",
|
"Backup": "Backup",
|
||||||
"BackupFolderHelpText": "Relative paths will be under Lidarr's AppData directory",
|
"BackupFolderHelpText": "Relative paths will be under Lidarr's AppData directory",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue