mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-06 21:12:15 -07:00
Initial pass for translations
This commit is contained in:
parent
93aa50b780
commit
a75a19698d
177 changed files with 2213 additions and 885 deletions
|
@ -5,6 +5,7 @@ import Icon from 'Components/Icon';
|
|||
import ProgressBar from 'Components/ProgressBar';
|
||||
import { icons, kinds, sizes } from 'Helpers/Props';
|
||||
import isBefore from 'Utilities/Date/isBefore';
|
||||
import translate from 'Utilities/String/translate';
|
||||
import TrackQuality from './TrackQuality';
|
||||
import styles from './EpisodeStatus.css';
|
||||
|
||||
|
@ -35,7 +36,7 @@ function EpisodeStatus(props) {
|
|||
{...queueItem}
|
||||
progressBar={
|
||||
<ProgressBar
|
||||
title={`Album is downloading - ${progress.toFixed(1)}% ${queueItem.title}`}
|
||||
title={translate('AlbumIsDownloadingInterp', [progress.toFixed(1), queueItem.title])}
|
||||
progress={progress}
|
||||
kind={kinds.PURPLE}
|
||||
size={sizes.MEDIUM}
|
||||
|
@ -51,7 +52,7 @@ function EpisodeStatus(props) {
|
|||
<div className={styles.center}>
|
||||
<Icon
|
||||
name={icons.DOWNLOADING}
|
||||
title="Album is downloading"
|
||||
title={translate('AlbumIsDownloading')}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@ -67,7 +68,7 @@ function EpisodeStatus(props) {
|
|||
quality={quality}
|
||||
size={trackFile.size}
|
||||
isCutoffNotMet={isCutoffNotMet}
|
||||
title="Track Downloaded"
|
||||
title={translate('TrackDownloaded')}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@ -78,7 +79,7 @@ function EpisodeStatus(props) {
|
|||
<div className={styles.center}>
|
||||
<Icon
|
||||
name={icons.TBA}
|
||||
title="TBA"
|
||||
title={translate('TBA')}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@ -89,7 +90,7 @@ function EpisodeStatus(props) {
|
|||
<div className={styles.center}>
|
||||
<Icon
|
||||
name={icons.UNMONITORED}
|
||||
title="Album is not monitored"
|
||||
title={translate('AlbumIsNotMonitored')}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@ -100,7 +101,7 @@ function EpisodeStatus(props) {
|
|||
<div className={styles.center}>
|
||||
<Icon
|
||||
name={icons.MISSING}
|
||||
title="Track missing from disk"
|
||||
title={translate('TrackMissingFromDisk')}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
@ -110,7 +111,7 @@ function EpisodeStatus(props) {
|
|||
<div className={styles.center}>
|
||||
<Icon
|
||||
name={icons.NOT_AIRED}
|
||||
title="Album has not aired"
|
||||
title={translate('AlbumHasNotAired')}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue