From 172a4417e94bcf2a8327c3dd6cd326cfca184acc Mon Sep 17 00:00:00 2001 From: Bogdan Date: Thu, 13 Jul 2023 20:45:39 +0300 Subject: [PATCH] Fix unmapped files translation --- frontend/src/UnmappedFiles/UnmappedFilesTable.js | 7 ++++--- src/NzbDrone.Core/Localization/Core/en.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/UnmappedFiles/UnmappedFilesTable.js b/frontend/src/UnmappedFiles/UnmappedFilesTable.js index f9213a4d3..817826cc1 100644 --- a/frontend/src/UnmappedFiles/UnmappedFilesTable.js +++ b/frontend/src/UnmappedFiles/UnmappedFilesTable.js @@ -1,5 +1,6 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import Alert from 'Components/Alert'; import LoadingIndicator from 'Components/Loading/LoadingIndicator'; import PageContent from 'Components/Page/PageContent'; import PageContentBody from 'Components/Page/PageContentBody'; @@ -9,7 +10,7 @@ import PageToolbarSection from 'Components/Page/Toolbar/PageToolbarSection'; import TableOptionsModalWrapper from 'Components/Table/TableOptions/TableOptionsModalWrapper'; import VirtualTable from 'Components/Table/VirtualTable'; import VirtualTableRow from 'Components/Table/VirtualTableRow'; -import { align, icons, sortDirections } from 'Helpers/Props'; +import { align, icons, kinds, sortDirections } from 'Helpers/Props'; import hasDifferentItemsOrOrder from 'Utilities/Object/hasDifferentItemsOrOrder'; import translate from 'Utilities/String/translate'; import getSelectedIds from 'Utilities/Table/getSelectedIds'; @@ -236,9 +237,9 @@ class UnmappedFilesTable extends Component { { isPopulated && !error && !items.length && -
+ Success! My work is done, all files on disk are matched to known tracks. -
+ } { diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index e43a99347..50616f533 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -997,7 +997,7 @@ "UnableToLoadTheCalendar": "Unable to load the calendar", "UnableToLoadUISettings": "Unable to load UI settings", "Ungroup": "Ungroup", - "UnmappedFiles": "UnmappedFiles", + "UnmappedFiles": "Unmapped Files", "UnmappedFilesOnly": "Unmapped Files Only", "Unmonitored": "Unmonitored", "UnmonitoredHelpText": "Include unmonitored albums in the iCal feed",