From 4acf12f0566907daba5d367fbd73bd7030832c20 Mon Sep 17 00:00:00 2001 From: PearsonFlyer Date: Sun, 16 Jan 2022 07:57:59 -0500 Subject: [PATCH] Fixed: Translation warning for search all --- frontend/src/Wanted/CutoffUnmet/CutoffUnmet.js | 4 ++-- frontend/src/Wanted/Missing/Missing.js | 4 ++-- src/NzbDrone.Core/Localization/Core/en.json | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/src/Wanted/CutoffUnmet/CutoffUnmet.js b/frontend/src/Wanted/CutoffUnmet/CutoffUnmet.js index f6d9399b8..53a8cf35d 100644 --- a/frontend/src/Wanted/CutoffUnmet/CutoffUnmet.js +++ b/frontend/src/Wanted/CutoffUnmet/CutoffUnmet.js @@ -243,10 +243,10 @@ class CutoffUnmet extends Component { message={
- Are you sure you want to search for all {totalRecords} Cutoff Unmet albums? + {translate('MassAlbumsCutoffUnmetWarning', [totalRecords])}
- This cannot be cancelled once started without restarting Lidarr. + {translate('ThisCannotBeCancelled')}
} diff --git a/frontend/src/Wanted/Missing/Missing.js b/frontend/src/Wanted/Missing/Missing.js index 6e60e2562..d2530bb1e 100644 --- a/frontend/src/Wanted/Missing/Missing.js +++ b/frontend/src/Wanted/Missing/Missing.js @@ -260,10 +260,10 @@ class Missing extends Component { message={
- Are you sure you want to search for all {totalRecords} missing albums? + {translate('MassAlbumsSearchWarning', [totalRecords])}
- This cannot be cancelled once started without restarting Lidarr. + {translate('ThisCannotBeCancelled')}
} diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 75f12bb08..dd08332fb 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -317,6 +317,8 @@ "ManualImport": "Manual Import", "MarkAsFailed": "Mark as Failed", "MarkAsFailedMessageText": "Are you sure you want to mark '{0}' as failed?", + "MassAlbumsSearchWarning": "Are you sure you want to search for all '{0}' missing albums?", + "MassAlbumsCutoffUnmetWarning": "Are you sure you want to search for all '{0}' Cutoff Unmet albums?", "MaximumLimits": "Maximum Limits", "MaximumSize": "Maximum Size", "MaximumSizeHelpText": "Maximum size for a release to be grabbed in MB. Set to zero to set to unlimited.", @@ -603,6 +605,7 @@ "TestAllLists": "Test All Lists", "TheAlbumsFilesWillBeDeleted": "The album's files will be deleted.", "TheArtistFolderStrongpathstrongAndAllOfItsContentWillBeDeleted": "The artist folder {path} and all of its content will be deleted.", + "ThisCannotBeCancelled": "This cannot be cancelled once started without disabling all of your indexers.", "ThisWillApplyToAllIndexersPleaseFollowTheRulesSetForthByThem": "This will apply to all indexers, please follow the rules set forth by them", "Time": "Time", "TimeFormat": "Time Format",