mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
Renames in Frontend
This commit is contained in:
+6
-6
@@ -31,7 +31,7 @@ function EditImportListExclusionModalContent(props) {
|
||||
} = props;
|
||||
|
||||
const {
|
||||
artistName,
|
||||
authorName,
|
||||
foreignId
|
||||
} = item;
|
||||
|
||||
@@ -62,9 +62,9 @@ function EditImportListExclusionModalContent(props) {
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.TEXT}
|
||||
name="artistName"
|
||||
helpText="The name of the artist/album to exclude (can be anything meaningful)"
|
||||
{...artistName}
|
||||
name="authorName"
|
||||
helpText="The name of the author/book to exclude (can be anything meaningful)"
|
||||
{...authorName}
|
||||
onChange={onInputChange}
|
||||
/>
|
||||
</FormGroup>
|
||||
@@ -75,7 +75,7 @@ function EditImportListExclusionModalContent(props) {
|
||||
<FormInputGroup
|
||||
type={inputTypes.TEXT}
|
||||
name="foreignId"
|
||||
helpText="The Musicbrainz Id of the artist/album to exclude"
|
||||
helpText="The Musicbrainz Id of the author/book to exclude"
|
||||
{...foreignId}
|
||||
onChange={onInputChange}
|
||||
/>
|
||||
@@ -115,7 +115,7 @@ function EditImportListExclusionModalContent(props) {
|
||||
}
|
||||
|
||||
const ImportListExclusionShape = {
|
||||
artistName: PropTypes.shape(stringSettingShape).isRequired,
|
||||
authorName: PropTypes.shape(stringSettingShape).isRequired,
|
||||
foreignId: PropTypes.shape(stringSettingShape).isRequired
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import { setImportListExclusionValue, saveImportListExclusion } from 'Store/Acti
|
||||
import EditImportListExclusionModalContent from './EditImportListExclusionModalContent';
|
||||
|
||||
const newImportListExclusion = {
|
||||
artistName: '',
|
||||
authorName: '',
|
||||
foreignId: ''
|
||||
};
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.artistName {
|
||||
.authorName {
|
||||
flex: 0 0 300px;
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ class ImportListExclusion extends Component {
|
||||
render() {
|
||||
const {
|
||||
id,
|
||||
artistName,
|
||||
authorName,
|
||||
foreignId
|
||||
} = this.props;
|
||||
|
||||
@@ -64,7 +64,7 @@ class ImportListExclusion extends Component {
|
||||
styles.importListExclusion
|
||||
)}
|
||||
>
|
||||
<div className={styles.artistName}>{artistName}</div>
|
||||
<div className={styles.authorName}>{authorName}</div>
|
||||
<div className={styles.foreignId}>{foreignId}</div>
|
||||
|
||||
<div className={styles.actions}>
|
||||
@@ -98,7 +98,7 @@ class ImportListExclusion extends Component {
|
||||
|
||||
ImportListExclusion.propTypes = {
|
||||
id: PropTypes.number.isRequired,
|
||||
artistName: PropTypes.string.isRequired,
|
||||
authorName: PropTypes.string.isRequired,
|
||||
foreignId: PropTypes.string.isRequired,
|
||||
onConfirmDeleteImportListExclusion: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
@@ -50,7 +50,7 @@ class AddImportListModalContent extends Component {
|
||||
<div>
|
||||
|
||||
<Alert kind={kinds.INFO}>
|
||||
<div>Readarr supports multiple lists for importing Albums and Artists into the database.</div>
|
||||
<div>Readarr supports multiple lists for importing Books and Authors into the database.</div>
|
||||
<div>For more information on the individual lists, click on the info buttons.</div>
|
||||
</Alert>
|
||||
{
|
||||
|
||||
@@ -44,8 +44,8 @@ function EditImportListModalContent(props) {
|
||||
|
||||
const monitorOptions = [
|
||||
{ key: 'none', value: 'None' },
|
||||
{ key: 'specificAlbum', value: 'Specific Book' },
|
||||
{ key: 'entireArtist', value: 'All Author Books' }
|
||||
{ key: 'specificBook', value: 'Specific Book' },
|
||||
{ key: 'entireAuthor', value: 'All Author Books' }
|
||||
];
|
||||
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user