mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
Translate frontend series pages
This commit is contained in:
@@ -6,6 +6,7 @@ import createSeriesQueueItemsDetailsSelector, {
|
||||
SeriesQueueDetails,
|
||||
} from 'Series/Index/createSeriesQueueDetailsSelector';
|
||||
import getProgressBarKind from 'Utilities/Series/getProgressBarKind';
|
||||
import translate from 'Utilities/String/translate';
|
||||
import styles from './SeriesIndexProgressBar.css';
|
||||
|
||||
interface SeriesIndexProgressBarProps {
|
||||
@@ -59,7 +60,12 @@ function SeriesIndexProgressBar(props: SeriesIndexProgressBarProps) {
|
||||
size={detailedProgressBar ? sizes.MEDIUM : sizes.SMALL}
|
||||
showText={detailedProgressBar}
|
||||
text={text}
|
||||
title={`${episodeFileCount} / ${episodeCount} (Total: ${totalEpisodeCount}, Downloading: ${queueDetails.count})`}
|
||||
title={translate('SeriesProgressBarText', {
|
||||
episodeFileCount,
|
||||
episodeCount,
|
||||
totalEpisodeCount,
|
||||
downloadingCount: queueDetails.count,
|
||||
})}
|
||||
width={width}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user