From 1374fb1a3279b63b80f998830ae4fb46a182c82c Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sat, 15 Apr 2023 23:36:14 +0300 Subject: [PATCH] Fixed: (UI) Show the correct path in delete artist modal --- frontend/src/Artist/Delete/DeleteArtistModalContent.js | 2 +- src/NzbDrone.Core/Localization/Core/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Artist/Delete/DeleteArtistModalContent.js b/frontend/src/Artist/Delete/DeleteArtistModalContent.js index 8a8cd4852..a65ce5dd9 100644 --- a/frontend/src/Artist/Delete/DeleteArtistModalContent.js +++ b/frontend/src/Artist/Delete/DeleteArtistModalContent.js @@ -125,7 +125,7 @@ class DeleteArtistModalContent extends Component { deleteFiles &&
- {translate('TheArtistFolderStrongpathstrongAndAllOfItsContentWillBeDeleted')} + {translate('TheArtistFolderStrongpathstrongAndAllOfItsContentWillBeDeleted', [path])}
{ diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 46b90f732..8ed412dcd 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -787,7 +787,7 @@ "TestAllIndexers": "Test All Indexers", "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.", + "TheArtistFolderStrongpathstrongAndAllOfItsContentWillBeDeleted": "The artist folder '{0}' and all of its content will be deleted.", "Theme": "Theme", "ThemeHelpText": "Change Application UI Theme, 'Auto' Theme will use your OS Theme to set Light or Dark mode. Inspired by Theme.Park", "ThisCannotBeCancelled": "This cannot be cancelled once started without disabling all of your indexers.",