diff --git a/frontend/src/System/Backup/Backups.js b/frontend/src/System/Backup/Backups.js index 4f9cd0483..fa78dd769 100644 --- a/frontend/src/System/Backup/Backups.js +++ b/frontend/src/System/Backup/Backups.js @@ -21,17 +21,23 @@ const columns = [ }, { name: 'name', - label: translate('Name'), + get label() { + return translate('Name'); + }, isVisible: true }, { name: 'size', - label: translate('Size'), + get label() { + return translate('Size'); + }, isVisible: true }, { name: 'time', - label: translate('Time'), + get label() { + return translate('Time'); + }, isVisible: true }, { diff --git a/frontend/src/System/Logs/Files/LogFiles.js b/frontend/src/System/Logs/Files/LogFiles.js index 45c61c321..23b3bb40e 100644 --- a/frontend/src/System/Logs/Files/LogFiles.js +++ b/frontend/src/System/Logs/Files/LogFiles.js @@ -1,7 +1,6 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Alert from 'Components/Alert'; -import Link from 'Components/Link/Link'; import LoadingIndicator from 'Components/Loading/LoadingIndicator'; import PageContent from 'Components/Page/PageContent'; import PageContentBody from 'Components/Page/PageContentBody'; @@ -13,18 +12,23 @@ import Table from 'Components/Table/Table'; import TableBody from 'Components/Table/TableBody'; import { icons, kinds } from 'Helpers/Props'; import translate from 'Utilities/String/translate'; +import InlineMarkdown from '../../../Components/Markdown/InlineMarkdown'; import LogsNavMenu from '../LogsNavMenu'; import LogFilesTableRow from './LogFilesTableRow'; const columns = [ { name: 'filename', - label: translate('Filename'), + get label() { + return translate('Filename'); + }, isVisible: true }, { name: 'lastWriteTime', - label: translate('LastWriteTime'), + get label() { + return translate('LastWriteTime'); + }, isVisible: true }, { @@ -85,7 +89,7 @@ class LogFiles extends Component { { currentLogView === 'Log Files' &&
- {translate('TheLogLevelDefault')} {translate('GeneralSettings')} +
} diff --git a/frontend/src/System/Status/DiskSpace/DiskSpace.js b/frontend/src/System/Status/DiskSpace/DiskSpace.js index 69ef31f5a..30aef6ce2 100644 --- a/frontend/src/System/Status/DiskSpace/DiskSpace.js +++ b/frontend/src/System/Status/DiskSpace/DiskSpace.js @@ -15,17 +15,23 @@ import styles from './DiskSpace.css'; const columns = [ { name: 'path', - label: translate('Location'), + get label() { + return translate('Location'); + }, isVisible: true }, { name: 'freeSpace', - label: translate('FreeSpace'), + get label() { + return translate('FreeSpace'); + }, isVisible: true }, { name: 'totalSpace', - label: translate('TotalSpace'), + get label() { + return translate('TotalSpace'); + }, isVisible: true }, { diff --git a/frontend/src/System/Status/Health/Health.js b/frontend/src/System/Status/Health/Health.js index 99e234d3b..8c021ed66 100644 --- a/frontend/src/System/Status/Health/Health.js +++ b/frontend/src/System/Status/Health/Health.js @@ -94,12 +94,16 @@ const columns = [ }, { name: 'message', - label: translate('Message'), + get label() { + return translate('Message'); + }, isVisible: true }, { name: 'actions', - label: translate('Actions'), + get label() { + return translate('Actions'); + }, isVisible: true } ]; diff --git a/frontend/src/System/Tasks/Queued/QueuedTasks.js b/frontend/src/System/Tasks/Queued/QueuedTasks.js index 5dc901ae4..30301702c 100644 --- a/frontend/src/System/Tasks/Queued/QueuedTasks.js +++ b/frontend/src/System/Tasks/Queued/QueuedTasks.js @@ -15,27 +15,37 @@ const columns = [ }, { name: 'commandName', - label: translate('Name'), + get label() { + return translate('Name'); + }, isVisible: true }, { name: 'queued', - label: translate('Queued'), + get label() { + return translate('Queued'); + }, isVisible: true }, { name: 'started', - label: translate('Started'), + get label() { + return translate('Started'); + }, isVisible: true }, { name: 'ended', - label: translate('Ended'), + get label() { + return translate('Ended'); + }, isVisible: true }, { name: 'duration', - label: translate('Duration'), + get label() { + return translate('Duration'); + }, isVisible: true }, { diff --git a/frontend/src/System/Tasks/Scheduled/ScheduledTasks.js b/frontend/src/System/Tasks/Scheduled/ScheduledTasks.js index 8dbe5c08b..c1b17122d 100644 --- a/frontend/src/System/Tasks/Scheduled/ScheduledTasks.js +++ b/frontend/src/System/Tasks/Scheduled/ScheduledTasks.js @@ -10,27 +10,37 @@ import ScheduledTaskRowConnector from './ScheduledTaskRowConnector'; const columns = [ { name: 'name', - label: translate('Name'), + get label() { + return translate('Name'); + }, isVisible: true }, { name: 'interval', - label: translate('Interval'), + get label() { + return translate('Interval'); + }, isVisible: true }, { name: 'lastExecution', - label: translate('LastExecution'), + get label() { + return translate('LastExecution'); + }, isVisible: true }, { name: 'lastDuration', - label: translate('LastDuration'), + get label() { + return translate('LastDuration'); + }, isVisible: true }, { name: 'nextExecution', - label: translate('NextExecution'), + get label() { + return translate('NextExecution'); + }, isVisible: true }, { diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 528c6b095..1a3eea420 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -167,6 +167,7 @@ "Missing": "Missing", "Mode": "Mode", "Monitored": "Monitored", + "MoreInfo": "More Info", "MountHealthCheckMessage": "Mount containing a series path is mounted read-only: ", "MultiSeason": "Multi-Season", "Name": "Name", @@ -282,7 +283,7 @@ "TaskUserAgentTooltip": "User-Agent provided by the app that called the API", "TestAll": "Test All", "TestParsing": "Test Parsing", - "TheLogLevelDefault": "The log level defaults to 'Info' and can be changed in", + "TheLogLevelDefault": "The log level defaults to 'Info' and can be changed in [General Settings](/settings/general)", "Time": "Time", "TotalSpace": "Total Space", "Twitter": "Twitter",