mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-07 17:25:00 +00:00
New: Add book, series and files counts to author details page
This commit is contained in:
@@ -164,7 +164,8 @@ class AuthorDetails extends Component {
|
||||
previousAuthor,
|
||||
nextAuthor,
|
||||
onRefreshPress,
|
||||
onSearchPress
|
||||
onSearchPress,
|
||||
statistics
|
||||
} = this.props;
|
||||
|
||||
const {
|
||||
@@ -331,35 +332,35 @@ class AuthorDetails extends Component {
|
||||
className={styles.tab}
|
||||
selectedClassName={styles.selectedTab}
|
||||
>
|
||||
Books
|
||||
{translate('BooksTotal', [statistics.totalBookCount])}
|
||||
</Tab>
|
||||
|
||||
<Tab
|
||||
className={styles.tab}
|
||||
selectedClassName={styles.selectedTab}
|
||||
>
|
||||
Series
|
||||
{translate('SeriesTotal', [series.length])}
|
||||
</Tab>
|
||||
|
||||
<Tab
|
||||
className={styles.tab}
|
||||
selectedClassName={styles.selectedTab}
|
||||
>
|
||||
History
|
||||
{translate('History')}
|
||||
</Tab>
|
||||
|
||||
<Tab
|
||||
className={styles.tab}
|
||||
selectedClassName={styles.selectedTab}
|
||||
>
|
||||
Search
|
||||
{translate('Search')}
|
||||
</Tab>
|
||||
|
||||
<Tab
|
||||
className={styles.tab}
|
||||
selectedClassName={styles.selectedTab}
|
||||
>
|
||||
Files
|
||||
{translate('FilesTotal', [statistics.bookFileCount])}
|
||||
</Tab>
|
||||
|
||||
{
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
"BookMonitoring": "Book Monitoring",
|
||||
"BookNaming": "Book Naming",
|
||||
"Books": "Books",
|
||||
"BooksTotal": "Books ({0})",
|
||||
"BookStudio": "Book Studio",
|
||||
"BookTitle": "Book Title",
|
||||
"Branch": "Branch",
|
||||
@@ -229,6 +230,7 @@
|
||||
"Filename": "Filename",
|
||||
"FileNames": "File Names",
|
||||
"Files": "Files",
|
||||
"FilesTotal": "Files ({0})",
|
||||
"FilterAnalyticsEvents": "Filter Analytics Events",
|
||||
"FilterAuthor": "Filter Author",
|
||||
"FilterPlaceHolder": "Filter Book",
|
||||
@@ -553,6 +555,7 @@
|
||||
"SendMetadataToCalibre": "Send Metadata to Calibre",
|
||||
"Series": "Series",
|
||||
"SeriesNumber": "Series Number",
|
||||
"SeriesTotal": "Series ({0})",
|
||||
"SetPermissions": "Set Permissions",
|
||||
"SetPermissionsLinuxHelpText": "Should chmod be run when files are imported/renamed?",
|
||||
"SetPermissionsLinuxHelpTextWarning": "If you're unsure what these settings do, do not alter them.",
|
||||
@@ -574,9 +577,9 @@
|
||||
"ShowPath": "Show Path",
|
||||
"ShowQualityProfile": "Show Quality Profile",
|
||||
"ShowQualityProfileHelpText": "Show quality profile under poster",
|
||||
"ShowReleaseDate": "Show Release Date",
|
||||
"ShowRelativeDates": "Show Relative Dates",
|
||||
"ShowRelativeDatesHelpText": "Show relative (Today/Yesterday/etc) or absolute dates",
|
||||
"ShowReleaseDate": "Show Release Date",
|
||||
"ShowSearch": "Show Search",
|
||||
"ShowSearchActionHelpText": "Show search button on hover",
|
||||
"ShowSizeOnDisk": "Show Size on Disk",
|
||||
|
||||
Reference in New Issue
Block a user