fix(radarr): remove PreDB minimum availability option (#2386)

pull/2387/head
TheCatLady 3 years ago committed by GitHub
parent b9bedac7d7
commit 3e5eb4e148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -67,6 +67,9 @@ const messages = defineMessages({
validationBaseUrlTrailingSlash: 'Base URL must not end in a trailing slash', validationBaseUrlTrailingSlash: 'Base URL must not end in a trailing slash',
notagoptions: 'No tags.', notagoptions: 'No tags.',
selecttags: 'Select tags', selecttags: 'Select tags',
announced: 'Announced',
inCinemas: 'In Cinemas',
released: 'Released',
}); });
interface TestResponse { interface TestResponse {
@ -584,10 +587,15 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
id="minimumAvailability" id="minimumAvailability"
name="minimumAvailability" name="minimumAvailability"
> >
<option value="announced">Announced</option> <option value="announced">
<option value="inCinemas">In Cinemas</option> {intl.formatMessage(messages.announced)}
<option value="released">Released</option> </option>
<option value="preDB">PreDB</option> <option value="inCinemas">
{intl.formatMessage(messages.inCinemas)}
</option>
<option value="released">
{intl.formatMessage(messages.released)}
</option>
</Field> </Field>
</div> </div>
{errors.minimumAvailability && {errors.minimumAvailability &&

@ -486,6 +486,7 @@
"components.Settings.Notifications.webhookUrl": "Webhook URL", "components.Settings.Notifications.webhookUrl": "Webhook URL",
"components.Settings.Notifications.webhookUrlTip": "Create a <DiscordWebhookLink>webhook integration</DiscordWebhookLink> in your server", "components.Settings.Notifications.webhookUrlTip": "Create a <DiscordWebhookLink>webhook integration</DiscordWebhookLink> in your server",
"components.Settings.RadarrModal.add": "Add Server", "components.Settings.RadarrModal.add": "Add Server",
"components.Settings.RadarrModal.announced": "Announced",
"components.Settings.RadarrModal.apiKey": "API Key", "components.Settings.RadarrModal.apiKey": "API Key",
"components.Settings.RadarrModal.baseUrl": "URL Base", "components.Settings.RadarrModal.baseUrl": "URL Base",
"components.Settings.RadarrModal.create4kradarr": "Add New 4K Radarr Server", "components.Settings.RadarrModal.create4kradarr": "Add New 4K Radarr Server",
@ -497,6 +498,7 @@
"components.Settings.RadarrModal.enableSearch": "Enable Automatic Search", "components.Settings.RadarrModal.enableSearch": "Enable Automatic Search",
"components.Settings.RadarrModal.externalUrl": "External URL", "components.Settings.RadarrModal.externalUrl": "External URL",
"components.Settings.RadarrModal.hostname": "Hostname or IP Address", "components.Settings.RadarrModal.hostname": "Hostname or IP Address",
"components.Settings.RadarrModal.inCinemas": "In Cinemas",
"components.Settings.RadarrModal.loadingTags": "Loading tags…", "components.Settings.RadarrModal.loadingTags": "Loading tags…",
"components.Settings.RadarrModal.loadingprofiles": "Loading quality profiles…", "components.Settings.RadarrModal.loadingprofiles": "Loading quality profiles…",
"components.Settings.RadarrModal.loadingrootfolders": "Loading root folders…", "components.Settings.RadarrModal.loadingrootfolders": "Loading root folders…",
@ -504,6 +506,7 @@
"components.Settings.RadarrModal.notagoptions": "No tags.", "components.Settings.RadarrModal.notagoptions": "No tags.",
"components.Settings.RadarrModal.port": "Port", "components.Settings.RadarrModal.port": "Port",
"components.Settings.RadarrModal.qualityprofile": "Quality Profile", "components.Settings.RadarrModal.qualityprofile": "Quality Profile",
"components.Settings.RadarrModal.released": "Released",
"components.Settings.RadarrModal.rootfolder": "Root Folder", "components.Settings.RadarrModal.rootfolder": "Root Folder",
"components.Settings.RadarrModal.selectMinimumAvailability": "Select minimum availability", "components.Settings.RadarrModal.selectMinimumAvailability": "Select minimum availability",
"components.Settings.RadarrModal.selectQualityProfile": "Select quality profile", "components.Settings.RadarrModal.selectQualityProfile": "Select quality profile",

Loading…
Cancel
Save