mirror of
https://github.com/Sonarr/Sonarr
synced 2025-03-10 06:03:32 +00:00
Convert MetadataSource to TypeScript
This commit is contained in:
parent
9f1b0d3a3b
commit
15e4599d31
2 changed files with 9 additions and 10 deletions
|
@ -7,10 +7,8 @@ import TheTvdb from './TheTvdb';
|
||||||
|
|
||||||
function MetadataSourceSettings() {
|
function MetadataSourceSettings() {
|
||||||
return (
|
return (
|
||||||
<PageContent title={translate('MetadataSourceSettings')} >
|
<PageContent title={translate('MetadataSourceSettings')}>
|
||||||
<SettingsToolbar
|
<SettingsToolbar showSave={false} />
|
||||||
showSave={false}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<PageContentBody>
|
<PageContentBody>
|
||||||
<TheTvdb />
|
<TheTvdb />
|
|
@ -3,7 +3,7 @@ import InlineMarkdown from 'Components/Markdown/InlineMarkdown';
|
||||||
import translate from 'Utilities/String/translate';
|
import translate from 'Utilities/String/translate';
|
||||||
import styles from './TheTvdb.css';
|
import styles from './TheTvdb.css';
|
||||||
|
|
||||||
function TheTvdb(props) {
|
function TheTvdb() {
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
<img
|
<img
|
||||||
|
@ -12,12 +12,13 @@ function TheTvdb(props) {
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div className={styles.info}>
|
<div className={styles.info}>
|
||||||
<div className={styles.title}>
|
<div className={styles.title}>{translate('TheTvdb')}</div>
|
||||||
{translate('TheTvdb')}
|
<InlineMarkdown
|
||||||
|
data={translate('SeriesAndEpisodeInformationIsProvidedByTheTVDB', {
|
||||||
|
url: 'https://www.thetvdb.com/subscribe',
|
||||||
|
})}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<InlineMarkdown data={translate('SeriesAndEpisodeInformationIsProvidedByTheTVDB', { url: 'https://www.thetvdb.com/subscribe' })} />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue