New: Display database migration version in Status

This commit is contained in:
Bogdan 2024-01-21 05:25:21 +02:00 committed by Mark McDowall
parent 9f50166fa6
commit 7d0d503a5e
2 changed files with 11 additions and 3 deletions

View File

@ -24,6 +24,7 @@ class About extends Component {
runtimeVersion, runtimeVersion,
databaseVersion, databaseVersion,
databaseType, databaseType,
migrationVersion,
appData, appData,
startupPath, startupPath,
mode, mode,
@ -76,6 +77,11 @@ class About extends Component {
data={`${titleCase(databaseType)} ${databaseVersion}`} data={`${titleCase(databaseType)} ${databaseVersion}`}
/> />
<DescriptionListItem
title={translate('DatabaseMigration')}
data={migrationVersion}
/>
<DescriptionListItem <DescriptionListItem
title={translate('AppDataDirectory')} title={translate('AppDataDirectory')}
data={appData} data={appData}
@ -117,6 +123,7 @@ About.propTypes = {
isDocker: PropTypes.bool.isRequired, isDocker: PropTypes.bool.isRequired,
databaseType: PropTypes.string.isRequired, databaseType: PropTypes.string.isRequired,
databaseVersion: PropTypes.string.isRequired, databaseVersion: PropTypes.string.isRequired,
migrationVersion: PropTypes.number.isRequired,
appData: PropTypes.string.isRequired, appData: PropTypes.string.isRequired,
startupPath: PropTypes.string.isRequired, startupPath: PropTypes.string.isRequired,
mode: PropTypes.string.isRequired, mode: PropTypes.string.isRequired,

View File

@ -87,7 +87,7 @@
"Any": "Any", "Any": "Any",
"ApiKey": "API Key", "ApiKey": "API Key",
"ApiKeyValidationHealthCheckMessage": "Please update your API key to be at least {length} characters long. You can do this via settings or the config file", "ApiKeyValidationHealthCheckMessage": "Please update your API key to be at least {length} characters long. You can do this via settings or the config file",
"AppDataDirectory": "AppData directory", "AppDataDirectory": "AppData Directory",
"AppDataLocationHealthCheckMessage": "Updating will not be possible to prevent deleting AppData on Update", "AppDataLocationHealthCheckMessage": "Updating will not be possible to prevent deleting AppData on Update",
"AppUpdated": "{appName} Updated", "AppUpdated": "{appName} Updated",
"AppUpdatedVersion": "{appName} has been updated to version `{version}`, in order to get the latest changes you'll need to reload {appName} ", "AppUpdatedVersion": "{appName} has been updated to version `{version}`, in order to get the latest changes you'll need to reload {appName} ",
@ -285,6 +285,7 @@
"DailyEpisodeTypeFormat": "Date ({format})", "DailyEpisodeTypeFormat": "Date ({format})",
"Dash": "Dash", "Dash": "Dash",
"Database": "Database", "Database": "Database",
"DatabaseMigration": "Database Migration",
"Date": "Date", "Date": "Date",
"Dates": "Dates", "Dates": "Dates",
"Day": "Day", "Day": "Day",
@ -389,7 +390,6 @@
"DownloadClientAriaSettingsDirectoryHelpText": "Optional location to put downloads in, leave blank to use the default Aria2 location", "DownloadClientAriaSettingsDirectoryHelpText": "Optional location to put downloads in, leave blank to use the default Aria2 location",
"DownloadClientCheckNoneAvailableHealthCheckMessage": "No download client is available", "DownloadClientCheckNoneAvailableHealthCheckMessage": "No download client is available",
"DownloadClientCheckUnableToCommunicateWithHealthCheckMessage": "Unable to communicate with {downloadClientName}. {errorMessage}", "DownloadClientCheckUnableToCommunicateWithHealthCheckMessage": "Unable to communicate with {downloadClientName}. {errorMessage}",
"DownloadClientPriorityHelpText": "Download Client Priority from 1 (Highest) to 50 (Lowest). Default: 1. Round-Robin is used for clients with the same priority.",
"DownloadClientDelugeSettingsUrlBaseHelpText": "Adds a prefix to the deluge json url, see {url}", "DownloadClientDelugeSettingsUrlBaseHelpText": "Adds a prefix to the deluge json url, see {url}",
"DownloadClientDelugeTorrentStateError": "Deluge is reporting an error", "DownloadClientDelugeTorrentStateError": "Deluge is reporting an error",
"DownloadClientDelugeValidationLabelPluginFailure": "Configuration of label failed", "DownloadClientDelugeValidationLabelPluginFailure": "Configuration of label failed",
@ -437,6 +437,7 @@
"DownloadClientPneumaticSettingsNzbFolderHelpText": "This folder will need to be reachable from XBMC", "DownloadClientPneumaticSettingsNzbFolderHelpText": "This folder will need to be reachable from XBMC",
"DownloadClientPneumaticSettingsStrmFolder": "Strm Folder", "DownloadClientPneumaticSettingsStrmFolder": "Strm Folder",
"DownloadClientPneumaticSettingsStrmFolderHelpText": ".strm files in this folder will be import by drone", "DownloadClientPneumaticSettingsStrmFolderHelpText": ".strm files in this folder will be import by drone",
"DownloadClientPriorityHelpText": "Download Client Priority from 1 (Highest) to 50 (Lowest). Default: 1. Round-Robin is used for clients with the same priority.",
"DownloadClientQbittorrentSettingsContentLayout": "Content Layout", "DownloadClientQbittorrentSettingsContentLayout": "Content Layout",
"DownloadClientQbittorrentSettingsContentLayoutHelpText": "Whether to use qBittorrent's configured content layout, the original layout from the torrent or always create a subfolder (qBittorrent 4.3.2+)", "DownloadClientQbittorrentSettingsContentLayoutHelpText": "Whether to use qBittorrent's configured content layout, the original layout from the torrent or always create a subfolder (qBittorrent 4.3.2+)",
"DownloadClientQbittorrentSettingsFirstAndLastFirst": "First and Last First", "DownloadClientQbittorrentSettingsFirstAndLastFirst": "First and Last First",
@ -1833,7 +1834,7 @@
"StartImport": "Start Import", "StartImport": "Start Import",
"StartProcessing": "Start Processing", "StartProcessing": "Start Processing",
"Started": "Started", "Started": "Started",
"StartupDirectory": "Startup directory", "StartupDirectory": "Startup Directory",
"Status": "Status", "Status": "Status",
"StopSelecting": "Stop Selecting", "StopSelecting": "Stop Selecting",
"Style": "Style", "Style": "Style",