1
0
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:
Stevie Robinson
2023-09-01 02:47:17 +02:00
committed by GitHub
parent 33c52a7037
commit c123596c68
43 changed files with 543 additions and 279 deletions
@@ -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}
/>
);