mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 23:39:44 +02:00
Fix translation usage for IMDbId and TMDBId
This commit is contained in:
parent
99441dfa67
commit
07b69e665d
@ -39,12 +39,12 @@ const columns = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'imdbId',
|
name: 'imdbId',
|
||||||
label: () => translate('ImdbId'),
|
label: () => translate('IMDbId'),
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'tmdbId',
|
name: 'tmdbId',
|
||||||
label: () => translate('TmdbId'),
|
label: () => translate('TMDBId'),
|
||||||
isVisible: true,
|
isVisible: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
@ -28,7 +28,11 @@ class SelectMovieRow extends Component {
|
|||||||
</VirtualTableRowCell>
|
</VirtualTableRowCell>
|
||||||
|
|
||||||
<VirtualTableRowCell className={styles.imdbId}>
|
<VirtualTableRowCell className={styles.imdbId}>
|
||||||
<Label>{this.props.imdbId}</Label>
|
{
|
||||||
|
this.props.imdbId ?
|
||||||
|
<Label>{this.props.imdbId}</Label> :
|
||||||
|
null
|
||||||
|
}
|
||||||
</VirtualTableRowCell>
|
</VirtualTableRowCell>
|
||||||
|
|
||||||
<VirtualTableRowCell className={styles.tmdbId}>
|
<VirtualTableRowCell className={styles.tmdbId}>
|
||||||
@ -43,7 +47,7 @@ SelectMovieRow.propTypes = {
|
|||||||
id: PropTypes.number.isRequired,
|
id: PropTypes.number.isRequired,
|
||||||
title: PropTypes.string.isRequired,
|
title: PropTypes.string.isRequired,
|
||||||
tmdbId: PropTypes.number.isRequired,
|
tmdbId: PropTypes.number.isRequired,
|
||||||
imdbId: PropTypes.string.isRequired,
|
imdbId: PropTypes.string,
|
||||||
year: PropTypes.number.isRequired,
|
year: PropTypes.number.isRequired,
|
||||||
onMovieSelect: PropTypes.func.isRequired
|
onMovieSelect: PropTypes.func.isRequired
|
||||||
};
|
};
|
||||||
|
@ -72,11 +72,11 @@ function ParseResult(props: ParseResultProps) {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
{tmdbId ? (
|
{tmdbId ? (
|
||||||
<ParseResultItem title={translate('TmdbId')} data={tmdbId} />
|
<ParseResultItem title={translate('TMDBId')} data={tmdbId} />
|
||||||
) : null}
|
) : null}
|
||||||
|
|
||||||
{imdbId ? (
|
{imdbId ? (
|
||||||
<ParseResultItem title={translate('ImdbId')} data={imdbId} />
|
<ParseResultItem title={translate('IMDbId')} data={imdbId} />
|
||||||
) : null}
|
) : null}
|
||||||
</FieldSet>
|
</FieldSet>
|
||||||
|
|
||||||
|
@ -441,6 +441,7 @@
|
|||||||
"ICalFeed": "iCal Feed",
|
"ICalFeed": "iCal Feed",
|
||||||
"ICalHttpUrlHelpText": "Copy this URL to your client(s) or click to subscribe if your browser supports webcal",
|
"ICalHttpUrlHelpText": "Copy this URL to your client(s) or click to subscribe if your browser supports webcal",
|
||||||
"IMDb": "IMDb",
|
"IMDb": "IMDb",
|
||||||
|
"IMDbId": "IMDb Id",
|
||||||
"IconForCutoffUnmet": "Icon for Cutoff Unmet",
|
"IconForCutoffUnmet": "Icon for Cutoff Unmet",
|
||||||
"IgnoreDeletedMovies": "Unmonitor Deleted Movies",
|
"IgnoreDeletedMovies": "Unmonitor Deleted Movies",
|
||||||
"Ignored": "Ignored",
|
"Ignored": "Ignored",
|
||||||
|
Loading…
Reference in New Issue
Block a user