mirror of
https://github.com/Radarr/Radarr
synced 2025-02-23 14:51:17 +00:00
Fix broken translations on index
This commit is contained in:
parent
708a2e31d5
commit
6c9e4994d8
1 changed files with 5 additions and 4 deletions
|
@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
|
|||
import React from 'react';
|
||||
import getRelativeDate from 'Utilities/Date/getRelativeDate';
|
||||
import formatBytes from 'Utilities/Number/formatBytes';
|
||||
import translate from 'Utilities/String/translate';
|
||||
import styles from './MovieIndexPosterInfo.css';
|
||||
|
||||
function MovieIndexPosterInfo(props) {
|
||||
|
@ -51,7 +52,7 @@ function MovieIndexPosterInfo(props) {
|
|||
|
||||
return (
|
||||
<div className={styles.info}>
|
||||
{`translate('Added') ${addedDate}`}
|
||||
{translate('Added')}: {addedDate}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -69,7 +70,7 @@ function MovieIndexPosterInfo(props) {
|
|||
|
||||
return (
|
||||
<div className={styles.info}>
|
||||
{`translate('InCinemas') ${inCinemasDate}`}
|
||||
{translate('InCinemas')}: {inCinemasDate}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -87,7 +88,7 @@ function MovieIndexPosterInfo(props) {
|
|||
|
||||
return (
|
||||
<div className={styles.info}>
|
||||
{`translate('Digital') ${digitalReleaseDate}`}
|
||||
{translate('Digital')}: {digitalReleaseDate}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -105,7 +106,7 @@ function MovieIndexPosterInfo(props) {
|
|||
|
||||
return (
|
||||
<div className={styles.info}>
|
||||
{`translate('Released') ${physicalReleaseDate}`}
|
||||
{translate('Released')}: {physicalReleaseDate}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue