From ffde07e4d620389d2528b8df93e1a876911086d5 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 25 Jul 2023 07:59:41 +0300 Subject: [PATCH] Fix custom format translations --- .../Interactive/InteractiveImportModalContent.tsx | 4 +--- frontend/src/InteractiveSearch/InteractiveSearchContent.js | 4 +--- src/NzbDrone.Core/Localization/Core/en.json | 1 + 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/frontend/src/InteractiveImport/Interactive/InteractiveImportModalContent.tsx b/frontend/src/InteractiveImport/Interactive/InteractiveImportModalContent.tsx index ca6d63e77..162e59104 100644 --- a/frontend/src/InteractiveImport/Interactive/InteractiveImportModalContent.tsx +++ b/frontend/src/InteractiveImport/Interactive/InteractiveImportModalContent.tsx @@ -120,9 +120,7 @@ const COLUMNS = [ name: 'customFormats', label: React.createElement(Icon, { name: icons.INTERACTIVE, - get title() { - return translate('CustomFormat'); - }, + title: () => translate('CustomFormat'), }), isSortable: true, isVisible: true, diff --git a/frontend/src/InteractiveSearch/InteractiveSearchContent.js b/frontend/src/InteractiveSearch/InteractiveSearchContent.js index fa6019f0c..65836dfc3 100644 --- a/frontend/src/InteractiveSearch/InteractiveSearchContent.js +++ b/frontend/src/InteractiveSearch/InteractiveSearchContent.js @@ -110,9 +110,7 @@ const columns = [ name: 'customFormatScore', label: React.createElement(Icon, { name: icons.SCORE, - get title() { - return translate('CustomFormatScore'); - } + title: () => translate('CustomFormatScore') }), isSortable: true, isVisible: true diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 5c012ee29..89e5a6a8a 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -598,6 +598,7 @@ "MoreDetails": "More details", "MoreInfo": "More Info", "MountCheckMessage": "Mount containing a movie path is mounted read-only: ", + "MoveAutomatically": "Move Automatically", "MoveFiles": "Move Files", "MoveFolders1": "Would you like to move the movie folders to '{0}' ?", "MoveFolders2": "Would you like to move the movie files from '{0}' to '{1}' ?",