From fcf68d92595b497050b22de9b28bbf2c856703c9 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 20 Oct 2024 04:52:01 +0300 Subject: [PATCH] Fix settings fetching failure for updates --- frontend/src/System/Updates/Updates.tsx | 12 +++++++++--- src/NzbDrone.Core/Localization/Core/de.json | 2 +- src/NzbDrone.Core/Localization/Core/en.json | 10 +++++----- src/NzbDrone.Core/Localization/Core/es.json | 2 +- src/NzbDrone.Core/Localization/Core/fi.json | 2 +- src/NzbDrone.Core/Localization/Core/fr.json | 2 +- src/NzbDrone.Core/Localization/Core/it.json | 2 +- src/NzbDrone.Core/Localization/Core/pt_BR.json | 2 +- src/NzbDrone.Core/Localization/Core/ru.json | 2 +- src/NzbDrone.Core/Localization/Core/zh_CN.json | 2 +- 10 files changed, 22 insertions(+), 16 deletions(-) diff --git a/frontend/src/System/Updates/Updates.tsx b/frontend/src/System/Updates/Updates.tsx index af4235cec..452d6ba56 100644 --- a/frontend/src/System/Updates/Updates.tsx +++ b/frontend/src/System/Updates/Updates.tsx @@ -77,7 +77,7 @@ function Updates() { const hasUpdates = isPopulated && !hasError && items.length > 0; const noUpdates = isPopulated && !hasError && !items.length; - const externalUpdaterPrefix = translate('UpdateSonarrDirectlyLoadError'); + const externalUpdaterPrefix = translate('UpdateAppDirectlyLoadError'); const externalUpdaterMessages: Partial> = { external: translate('ExternalUpdater'), apt: translate('AptUpdater'), @@ -262,10 +262,16 @@ function Updates() { )} - {updatesError ?
{translate('FailedToFetchUpdates')}
: null} + {updatesError ? ( + + {translate('FailedToFetchUpdates')} + + ) : null} {generalSettingsError ? ( -
{translate('FailedToUpdateSettings')}
+ + {translate('FailedToFetchSettings')} + ) : null}