Fix broken translations on index

pull/5158/head
nitsua 4 years ago committed by Qstick
parent 708a2e31d5
commit 6c9e4994d8

@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
import React from 'react'; import React from 'react';
import getRelativeDate from 'Utilities/Date/getRelativeDate'; import getRelativeDate from 'Utilities/Date/getRelativeDate';
import formatBytes from 'Utilities/Number/formatBytes'; import formatBytes from 'Utilities/Number/formatBytes';
import translate from 'Utilities/String/translate';
import styles from './MovieIndexPosterInfo.css'; import styles from './MovieIndexPosterInfo.css';
function MovieIndexPosterInfo(props) { function MovieIndexPosterInfo(props) {
@ -51,7 +52,7 @@ function MovieIndexPosterInfo(props) {
return ( return (
<div className={styles.info}> <div className={styles.info}>
{`translate('Added') ${addedDate}`} {translate('Added')}: {addedDate}
</div> </div>
); );
} }
@ -69,7 +70,7 @@ function MovieIndexPosterInfo(props) {
return ( return (
<div className={styles.info}> <div className={styles.info}>
{`translate('InCinemas') ${inCinemasDate}`} {translate('InCinemas')}: {inCinemasDate}
</div> </div>
); );
} }
@ -87,7 +88,7 @@ function MovieIndexPosterInfo(props) {
return ( return (
<div className={styles.info}> <div className={styles.info}>
{`translate('Digital') ${digitalReleaseDate}`} {translate('Digital')}: {digitalReleaseDate}
</div> </div>
); );
} }
@ -105,7 +106,7 @@ function MovieIndexPosterInfo(props) {
return ( return (
<div className={styles.info}> <div className={styles.info}>
{`translate('Released') ${physicalReleaseDate}`} {translate('Released')}: {physicalReleaseDate}
</div> </div>
); );
} }

Loading…
Cancel
Save