mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 14:37:07 -04:00
Include available version in update health check
(cherry picked from commit 15e3c3efb18242caf28b9bfc77a72a78296018bf) Closes #10227
This commit is contained in:
parent
5cac5b6068
commit
2575e3647f
18 changed files with 30 additions and 19 deletions
|
@ -86,9 +86,20 @@ namespace NzbDrone.Core.HealthCheck.Checks
|
|||
}
|
||||
}
|
||||
|
||||
if (BuildInfo.BuildDateTime < DateTime.UtcNow.AddDays(-14) && _checkUpdateService.AvailableUpdate() != null)
|
||||
if (BuildInfo.BuildDateTime < DateTime.UtcNow.AddDays(-14))
|
||||
{
|
||||
return new HealthCheck(GetType(), HealthCheckResult.Warning, _localizationService.GetLocalizedString("UpdateAvailable"), "#new-update-is-available");
|
||||
var latestAvailable = _checkUpdateService.AvailableUpdate();
|
||||
|
||||
if (latestAvailable != null)
|
||||
{
|
||||
return new HealthCheck(GetType(),
|
||||
HealthCheckResult.Warning,
|
||||
_localizationService.GetLocalizedString("UpdateAvailableHealthCheckMessage", new Dictionary<string, object>
|
||||
{
|
||||
{ "version", $"v{latestAvailable.Version}" }
|
||||
}),
|
||||
"#new-update-is-available");
|
||||
}
|
||||
}
|
||||
|
||||
return new HealthCheck(GetType());
|
||||
|
|
|
@ -311,7 +311,7 @@
|
|||
"ICalIncludeUnmonitoredMoviesHelpText": "Inclou pel·lícules no monitorades al canal iCal",
|
||||
"UpdateAll": "Actualitzar-ho tot",
|
||||
"UpdateAutomaticallyHelpText": "Baixeu i instal·leu les actualitzacions automàticament. Encara podreu instal·lar des de Sistema: Actualitzacions",
|
||||
"UpdateAvailable": "Nova actualització disponible",
|
||||
"UpdateAvailableHealthCheckMessage": "Nova actualització disponible",
|
||||
"Week": "Setmana",
|
||||
"WeekColumnHeader": "Capçalera de la columna de la setmana",
|
||||
"Weeks": "Setmanes",
|
||||
|
|
|
@ -949,7 +949,7 @@
|
|||
"More": "Mehr",
|
||||
"Download": "Herunterladen",
|
||||
"DownloadClientCheckDownloadingToRoot": "Download-Client {downloadClientName} legt Downloads im Stammordner {path} ab. Sie sollten nicht in einen Stammordner herunterladen.",
|
||||
"UpdateAvailable": "Neue Version verfügbar",
|
||||
"UpdateAvailableHealthCheckMessage": "Neue Version verfügbar",
|
||||
"RemotePathMappingCheckFilesLocalWrongOSPath": "Downloader {downloadClientName} meldet Dateien in {path}, aber dies ist kein valider {osName} Pfad. Überprüfe die Downloader Einstellungen.",
|
||||
"RemotePathMappingCheckFilesBadDockerPath": "Docker erkannt; Downloader {downloadClientName} meldet Dateien in {path}, aber dies ist kein valider {osName} Pfad. Überprüfe deine Remote-Pfadzuordnungen und die Downloader Einstellungen.",
|
||||
"RemotePathMappingCheckFilesWrongOSPath": "Downloader {downloadClientName} meldet Dateien in {path}, aber dies ist kein valider {osName} Pfad. Überprüfe deine Remote-Pfadzuordnungen und die Downloader Einstellungen.",
|
||||
|
|
|
@ -1059,7 +1059,7 @@
|
|||
"TaskUserAgentTooltip": "User-Agent που παρέχεται από την εφαρμογή που κάλεσε το API",
|
||||
"TotalMovies": "Σύνολο ταινιών",
|
||||
"Waiting": "Αναμονή",
|
||||
"UpdateAvailable": "Νέα ενημέρωση είναι διαθέσιμη",
|
||||
"UpdateAvailableHealthCheckMessage": "Νέα ενημέρωση είναι διαθέσιμη",
|
||||
"SizeLimit": "Όριο μεγέθους",
|
||||
"File": "Αρχεία",
|
||||
"EditMovies": "Επεξεργασία ταινίας",
|
||||
|
|
|
@ -1735,7 +1735,7 @@
|
|||
"UnselectAll": "Unselect All",
|
||||
"UpdateAll": "Update All",
|
||||
"UpdateAutomaticallyHelpText": "Automatically download and install updates. You will still be able to install from System: Updates",
|
||||
"UpdateAvailable": "New update is available",
|
||||
"UpdateAvailableHealthCheckMessage": "New update is available: {version}",
|
||||
"UpdateCheckStartupNotWritableMessage": "Cannot install update because startup folder '{startupFolder}' is not writable by the user '{userName}'.",
|
||||
"UpdateCheckStartupTranslocationMessage": "Cannot install update because startup folder '{startupFolder}' is in an App Translocation folder.",
|
||||
"UpdateCheckUINotWritableMessage": "Cannot install update because UI folder '{uiFolder}' is not writable by the user '{userName}'.",
|
||||
|
|
|
@ -988,7 +988,7 @@
|
|||
"BypassDelayIfHighestQualityHelpText": "Evitar el retardo cuando el lanzamiento tiene habilitada la máxima calidad en el perfil de calidad con el protocolo preferido",
|
||||
"DiscordUrlInSlackNotification": "Tienes una notificación de Discord configurada como una notificación de Slack. Configure esto como una notificación de Discord para una mejor funcionalidad. Las notificaciones afectadas son: {0}",
|
||||
"IndexerJackettAll": "Indexadores que utilizan el endpoint no soportado de Jackett 'all': {indexerNames}",
|
||||
"UpdateAvailable": "La nueva actualización está disponible",
|
||||
"UpdateAvailableHealthCheckMessage": "La nueva actualización está disponible",
|
||||
"RemotePathMappingCheckImportFailed": "{appName} no pudo importar una película. Comprueba los detalles en tus registros.",
|
||||
"RemotePathMappingCheckLocalFolderMissing": "El cliente de descarga remota {downloadClientName} coloca las descargas en {path} pero este directorio no parece existir. Probablemente falta o el mapeo de la ruta remota es incorrecto.",
|
||||
"RemotePathMappingCheckWrongOSPath": "El cliente de descarga remota {downloadClientName} coloca las descargas en {path} pero esta no es una ruta válida {osName}. Revise los mapeos de las rutas remotas y la configuración del cliente de descarga.",
|
||||
|
|
|
@ -988,7 +988,7 @@
|
|||
"RemoveSelectedItems": "Poista valitut kohteet",
|
||||
"RemotePathMappingCheckLocalWrongOSPath": "Paikallinen lataustyökalu \"{downloadClientName}\" tallentaa lataukset kohteeseen \"{path}\", mutta se ei ole kelvollinen {osName}-sijainti. Tarkista lataustyökalun asetukset.",
|
||||
"TaskUserAgentTooltip": "User-Agent-tiedon ilmoitti rajapinnan kanssa viestinyt sovellus.",
|
||||
"UpdateAvailable": "Uusi päivitys on saatavilla",
|
||||
"UpdateAvailableHealthCheckMessage": "Uusi päivitys on saatavilla",
|
||||
"BypassDelayIfHighestQuality": "Ohita, jos korkein laatu",
|
||||
"RemoveFailed": "Poisto epäonnistui",
|
||||
"RemoveCompleted": "Poisto on suoritettu",
|
||||
|
|
|
@ -962,7 +962,7 @@
|
|||
"DownloadClientCheckDownloadingToRoot": "Le client de téléchargement {downloadClientName} place les téléchargements dans le dossier racine {path}. Vous ne devez pas télécharger dans un dossier racine.",
|
||||
"NotificationTriggersHelpText": "Sélectionnez les événements qui doivent déclencher cette notification",
|
||||
"From": "de",
|
||||
"UpdateAvailable": "Une nouvelle mise à jour est disponible",
|
||||
"UpdateAvailableHealthCheckMessage": "Une nouvelle mise à jour est disponible",
|
||||
"RemotePathMappingCheckImportFailed": "{appName} a échoué en important un Film. Vérifier vos logs pour plus de détails.",
|
||||
"RemotePathMappingCheckDownloadPermissions": "{appName} peut voir mais ne peut accéder au film téléchargé {path}. Il s'agit probablement d'une erreur de permissions.",
|
||||
"ImportListMultipleMissingRoots": "Plusieurs dossiers racines sont manquants pour importer les listes : {rootFoldersInfo}",
|
||||
|
|
|
@ -959,7 +959,7 @@
|
|||
"More": "Több",
|
||||
"Download": "Letöltés",
|
||||
"DownloadClientCheckDownloadingToRoot": "A Letöltőkliens {downloadClientName} a letöltéseket a gyökérmappába helyezi {path}. Nem szabad letölteni egy gyökérmappába.",
|
||||
"UpdateAvailable": "Új frissítés elérhető",
|
||||
"UpdateAvailableHealthCheckMessage": "Új frissítés elérhető",
|
||||
"RemotePathMappingCheckFilesGenericPermissions": "A letöltőkliens {downloadClientName} jelentett fájljait a(z) {path} fájlba, de a {appName} nem látja ezt a könyvtárat. Lehet, hogy módosítania kell a mappa engedélyeit.",
|
||||
"RemotePathMappingCheckRemoteDownloadClient": "A távoli letöltőkliens {downloadClientName} fájlokat jelentett a(z) {path} fájlban, de úgy tűnik, hogy ez a könyvtár nem létezik. Valószínűleg hiányzik a távoli útvonal-hozzárendelés.",
|
||||
"RemotePathMappingCheckFolderPermissions": "A {appName} láthatja, de nem fér hozzá a (z) {path} letöltési könyvtárhoz. Valószínűleg engedélyezési hiba.",
|
||||
|
|
|
@ -982,7 +982,7 @@
|
|||
"RemoveSelectedItem": "Rimuovi elemento selezionato",
|
||||
"RemoveSelectedItems": "Rimuovi elementi selezionati",
|
||||
"TaskUserAgentTooltip": "User-Agent esposto dalla app che ha chiamato la API",
|
||||
"UpdateAvailable": "É disponibile un nuovo aggiornamento",
|
||||
"UpdateAvailableHealthCheckMessage": "É disponibile un nuovo aggiornamento",
|
||||
"BypassDelayIfHighestQualityHelpText": "Evita il ritardo quando la release ha la qualità massima abilitata nel profilo qualità con il protocollo preferito",
|
||||
"NotificationTriggersHelpText": "Seleziona quali eventi attiveranno questa notifica",
|
||||
"Filters": "Filtri",
|
||||
|
|
|
@ -960,7 +960,7 @@
|
|||
"More": "Meer",
|
||||
"Download": "Downloaden",
|
||||
"DownloadClientCheckDownloadingToRoot": "Downloadclient {downloadClientName} plaatst downloads in de hoofdmap {path}. U mag niet naar een hoofdmap downloaden.",
|
||||
"UpdateAvailable": "Nieuwe update is beschikbaar",
|
||||
"UpdateAvailableHealthCheckMessage": "Nieuwe update is beschikbaar",
|
||||
"From": "van",
|
||||
"RemotePathMappingCheckDownloadPermissions": "{appName} kan gedownloade film {path} zien, maar niet openen. Waarschijnlijk fout met machtigingen.",
|
||||
"RemotePathMappingCheckFileRemoved": "Bestand {path} is halverwege de verwerking verwijderd.",
|
||||
|
|
|
@ -1037,7 +1037,7 @@
|
|||
"RemotePathMappingCheckImportFailed": "{appName} nie mógł zaimportować filmu. Szczegóły znajdziesz w dzienniku.",
|
||||
"RemotePathMappingCheckLocalFolderMissing": "Zdalny klient pobierania {downloadClientName} umieszcza pobrane pliki w {path}, lecz ten folder nie istnieje. Prawdopodobnie wynika to z brakującego lub nieprawidłowego zdalnego mapowania ścieżki.",
|
||||
"RemotePathMappingCheckWrongOSPath": "Zdalny klient pobierania {downloadClientName} umieszcza pobrane pliki w {path}, lecz nie jest to poprawna ścieżka {osName}. Zmień ustawienia zdalnego mapowania ścieżek i klienta pobierania.",
|
||||
"UpdateAvailable": "Dostępna jest aktualizacja",
|
||||
"UpdateAvailableHealthCheckMessage": "Dostępna jest aktualizacja",
|
||||
"TaskUserAgentTooltip": "User-Agent podawany przez aplikację wywołującą API",
|
||||
"SetReleaseGroup": "Ustaw grupę wydającą",
|
||||
"SearchOnAddCollectionHelpText": "Po dodaniu do biblioteki wyszukaj filmy z tej kolekcji",
|
||||
|
|
|
@ -960,7 +960,7 @@
|
|||
"More": "Mais",
|
||||
"Download": "Transferência",
|
||||
"DownloadClientCheckDownloadingToRoot": "O cliente {downloadClientName} coloca as transferências na pasta raiz {path}. Não transfira para a pasta raiz.",
|
||||
"UpdateAvailable": "Nova atualização disponível",
|
||||
"UpdateAvailableHealthCheckMessage": "Nova atualização disponível",
|
||||
"TaskUserAgentTooltip": "Par Utilizador-Agente fornecido pela aplicação que chamou a API",
|
||||
"RemotePathMappingCheckWrongOSPath": "O cliente remoto {downloadClientName} coloca as transferências em {path}, mas esse não é um caminho {osName} válido. Revise os mapeamentos de caminho remoto e as definições do cliente de transferências.",
|
||||
"RemotePathMappingCheckRemoteDownloadClient": "O cliente de transferências remoto {downloadClientName} relatou ficheiros em {path}, mas esse diretório parece não existir. O mapeamento de caminho remoto provavelmente está ausente.",
|
||||
|
|
|
@ -960,7 +960,7 @@
|
|||
"More": "Mais",
|
||||
"Download": "Download",
|
||||
"DownloadClientCheckDownloadingToRoot": "O cliente de download {downloadClientName} coloca os downloads na pasta raiz {path}. Você não deve baixar para uma pasta raiz.",
|
||||
"UpdateAvailable": "Nova atualização está disponível",
|
||||
"UpdateAvailableHealthCheckMessage": "Nova atualização está disponível",
|
||||
"RemotePathMappingCheckFilesGenericPermissions": "O cliente de download {downloadClientName} relatou arquivos em {path}, mas o {appName} não pode ver esse diretório. Pode ser necessário ajustar as permissões da pasta.",
|
||||
"RemotePathMappingCheckRemoteDownloadClient": "O cliente de download remoto {downloadClientName} relatou arquivos em {path}, mas este diretório parece não existir. Provavelmente faltando mapeamento de caminho remoto.",
|
||||
"RemotePathMappingCheckFolderPermissions": "O {appName} pode ver, mas não pode acessar o diretório de download {path}. Provável erro de permissões.",
|
||||
|
|
|
@ -970,7 +970,7 @@
|
|||
"RemotePathMappingCheckFilesWrongOSPath": "Удалённый клиент загрузки {downloadClientName} сообщил о файлах в {path}, но это не правильный путь {osName}. Проверьте правильность указанных удалённых путей и настройки клиента загрузки.",
|
||||
"RemotePathMappingCheckFilesLocalWrongOSPath": "Локальный клиент загрузки {downloadClientName} сообщил о файлах в {path}, но это не правильный путь {osName}. Проверьте настройки клиента загрузки.",
|
||||
"RemotePathMappingCheckFilesGenericPermissions": "Клиент загрузки {downloadClientName} сообщил о файлах в {path}, но {appName} не может найти эту директорию. Возможно, вам нужно настроить права доступа к этой директории.",
|
||||
"UpdateAvailable": "Доступно новое обновление",
|
||||
"UpdateAvailableHealthCheckMessage": "Доступно новое обновление",
|
||||
"RemotePathMappingCheckDownloadPermissions": "{appName} видит загруженный фильм {path}, но не может получить доступ к нему. Возможно, ошибка в правах доступа.",
|
||||
"Letterboxd": "Letterboxd",
|
||||
"RemotePathMappingCheckBadDockerPath": "Вы используете docker; клиент загрузки {downloadClientName} сообщил о файлах в {path}, но это не корректный путь {osName}. Проверьте правильность указанного пути и настройки клиента загрузки.",
|
||||
|
|
|
@ -1682,7 +1682,7 @@
|
|||
"TaskUserAgentTooltip": "API'yi çağıran uygulama tarafından sağlanan Kullanıcı Aracısı",
|
||||
"TmdbVotes": "TMDb Oyları",
|
||||
"SizeLimit": "Boyut Limiti",
|
||||
"UpdateAvailable": "Yeni güncelleme mevcut",
|
||||
"UpdateAvailableHealthCheckMessage": "Yeni güncelleme mevcut",
|
||||
"RemoveCompletedDownloads": "Tamamlanan İndirmeleri Kaldır",
|
||||
"RemoveSelectedItemQueueMessageText": "1 öğeyi kuyruktan kaldırmak istediğinizden emin misiniz?",
|
||||
"ResetQualityDefinitions": "Kalite Tanımlarını Sıfırla",
|
||||
|
|
|
@ -1009,7 +1009,7 @@
|
|||
"RemoveSelectedItem": "Видалити вибраний елемент",
|
||||
"RemotePathMappingHostHelpText": "Той самий хост, який ви вказали для віддаленого клієнта завантаження",
|
||||
"ShowGenres": "Показати жанри",
|
||||
"UpdateAvailable": "Доступне нове оновлення",
|
||||
"UpdateAvailableHealthCheckMessage": "Доступне нове оновлення",
|
||||
"Updates": "Оновлення",
|
||||
"Monitor": "Контрольований",
|
||||
"MonitorCollection": "Контрольовані Колекції",
|
||||
|
|
|
@ -984,7 +984,7 @@
|
|||
"RemotePathMappingCheckFileRemoved": "文件{path} 在处理的过程中被部分删除。",
|
||||
"RemotePathMappingCheckFilesGenericPermissions": "下载{1}中客户端{0}报告的文件,但{appName}无法看到此目录。您可能需要调整文件夹的权限。",
|
||||
"RemotePathMappingCheckGenericPermissions": "下载客户端{downloadClientName}将下载放置在{path}中,但 {appName} 无法看到此目录。您可能需要调整文件夹的权限。",
|
||||
"UpdateAvailable": "有新的更新可用",
|
||||
"UpdateAvailableHealthCheckMessage": "有新的更新可用",
|
||||
"Letterboxd": "Letterboxd",
|
||||
"RemoveSelectedItem": "删除所选项目",
|
||||
"RemoveSelectedItems": "删除所选项目",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue