From 0c7e8c56437fcea9f83a4ec6963f6ed186db7299 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 1 Aug 2023 18:59:02 +0300 Subject: [PATCH] Fix Add Import List Exclusion message per type --- frontend/src/Album/Delete/DeleteAlbumModalContent.js | 2 +- frontend/src/Artist/Delete/DeleteArtistModalContent.js | 2 +- src/NzbDrone.Core/Localization/Core/en.json | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/Album/Delete/DeleteAlbumModalContent.js b/frontend/src/Album/Delete/DeleteAlbumModalContent.js index e459923b3..c637c3dd4 100644 --- a/frontend/src/Album/Delete/DeleteAlbumModalContent.js +++ b/frontend/src/Album/Delete/DeleteAlbumModalContent.js @@ -100,7 +100,7 @@ class DeleteAlbumModalContent extends Component { type={inputTypes.CHECK} name="addImportListExclusion" value={addImportListExclusion} - helpText={translate('AddImportListExclusionHelpText')} + helpText={translate('AddImportListExclusionAlbumHelpText')} kind={kinds.DANGER} onChange={this.onAddImportListExclusionChange} /> diff --git a/frontend/src/Artist/Delete/DeleteArtistModalContent.js b/frontend/src/Artist/Delete/DeleteArtistModalContent.js index a65ce5dd9..368c08107 100644 --- a/frontend/src/Artist/Delete/DeleteArtistModalContent.js +++ b/frontend/src/Artist/Delete/DeleteArtistModalContent.js @@ -115,7 +115,7 @@ class DeleteArtistModalContent extends Component { type={inputTypes.CHECK} name="addImportListExclusion" value={addImportListExclusion} - helpText={translate('AddImportListExclusionHelpText')} + helpText={translate('AddImportListExclusionArtistHelpText')} kind={kinds.DANGER} onChange={this.onAddImportListExclusionChange} /> diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 35d8d0af8..e2c7a9766 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -11,7 +11,8 @@ "AddConnection": "Add Connection", "AddDelayProfile": "Add Delay Profile", "AddImportListExclusion": "Add Import List Exclusion", - "AddImportListExclusionHelpText": "Prevent artist from being added to Lidarr by Import lists", + "AddImportListExclusionAlbumHelpText": "Prevent album from being added to Lidarr by Import lists", + "AddImportListExclusionArtistHelpText": "Prevent artist from being added to Lidarr by Import lists", "AddIndexer": "Add Indexer", "AddList": "Add List", "AddListExclusion": "Add List Exclusion",