mirror of https://github.com/Radarr/Radarr
tidied up unnecesarry lines and added translation line
This commit is contained in:
parent
b6e46ad8fd
commit
11b4967629
|
@ -297,7 +297,6 @@ class MovieIndexPoster extends Component {
|
|||
inCinemas={inCinemas}
|
||||
physicalRelease={physicalRelease}
|
||||
digitalRelease={digitalRelease}
|
||||
releaseDate={releaseDate}
|
||||
{...otherProps}
|
||||
/>
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@ function MovieIndexPosterInfo(props) {
|
|||
inCinemas,
|
||||
digitalRelease,
|
||||
physicalRelease,
|
||||
releaseDate,
|
||||
certification,
|
||||
path,
|
||||
sizeOnDisk,
|
||||
|
@ -59,24 +58,6 @@ function MovieIndexPosterInfo(props) {
|
|||
);
|
||||
}
|
||||
|
||||
if (sortKey === 'releaseDate' && !showReleaseDate) {
|
||||
const relativeReleaseDate = getRelativeDate(
|
||||
releaseDate,
|
||||
shortDateFormat,
|
||||
showRelativeDates,
|
||||
{
|
||||
timeFormat,
|
||||
timeForToday: false
|
||||
}
|
||||
);
|
||||
|
||||
return (
|
||||
<div className={styles.info}>
|
||||
{translate('releaseDate')}: {relativeReleaseDate}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
if (sortKey === 'inCinemas' && inCinemas && !showReleaseDate) {
|
||||
const inCinemasDate = getRelativeDate(
|
||||
inCinemas,
|
||||
|
@ -167,7 +148,6 @@ MovieIndexPosterInfo.propTypes = {
|
|||
certification: PropTypes.string,
|
||||
digitalRelease: PropTypes.string,
|
||||
physicalRelease: PropTypes.string,
|
||||
releaseDate: PropTypes.string.isRequired,
|
||||
path: PropTypes.string.isRequired,
|
||||
sizeOnDisk: PropTypes.number,
|
||||
sortKey: PropTypes.string.isRequired,
|
||||
|
|
|
@ -736,6 +736,7 @@
|
|||
"RelativePath": "Relative Path",
|
||||
"ReleaseBranchCheckOfficialBranchMessage": "Branch {0} is not a valid Radarr release branch, you will not receive updates",
|
||||
"Released": "Released",
|
||||
"ReleaseDate": "Release Date",
|
||||
"ReleaseDates": "Release Dates",
|
||||
"ReleasedMsg": "Movie is released",
|
||||
"ReleaseGroup": "Release Group",
|
||||
|
|
Loading…
Reference in New Issue