New: Indexer Description in Add Indexer Modal

pull/921/head
bakerboy448 3 years ago committed by Qstick
parent 788a5a3e24
commit cb8c0d4aa7

@ -37,6 +37,12 @@ const columns = [
isSortable: true,
isVisible: true
},
{
name: 'description',
label: translate('Description'),
isSortable: false,
isVisible: true
},
{
name: 'privacy',
label: translate('Privacy'),
@ -136,12 +142,12 @@ class AddIndexerModalContent extends Component {
return true;
});
const errorMessage = getErrorMessage(error, 'Unable to load indexers');
const errorMessage = getErrorMessage(error, translate('UnableToLoadIndexers'));
return (
<ModalContent onModalClose={onModalClose}>
<ModalHeader>
Add Indexer
{translate('AddIndexer')}
</ModalHeader>
<ModalBody

@ -32,6 +32,7 @@ class SelectIndexerRow extends Component {
privacy,
name,
language,
description,
isExistingIndexer
} = this.props;
@ -61,6 +62,10 @@ class SelectIndexerRow extends Component {
{language}
</TableRowCell>
<TableRowCell>
{description}
</TableRowCell>
<TableRowCell>
{translate(firstCharToUpper(privacy))}
</TableRowCell>
@ -74,6 +79,7 @@ SelectIndexerRow.propTypes = {
protocol: PropTypes.string.isRequired,
privacy: PropTypes.string.isRequired,
language: PropTypes.string.isRequired,
description: PropTypes.string.isRequired,
implementation: PropTypes.string.isRequired,
onIndexerSelect: PropTypes.func.isRequired,
isExistingIndexer: PropTypes.bool.isRequired

@ -416,6 +416,7 @@
"UnableToLoadGeneralSettings": "Unable to load General settings",
"UnableToLoadHistory": "Unable to load history",
"UnableToLoadIndexerProxies": "Unable To Load Indexer Proxies",
"UnableToLoadIndexers": "Unable to load Indexers",
"UnableToLoadNotifications": "Unable to load Notifications",
"UnableToLoadTags": "Unable to load Tags",
"UnableToLoadUISettings": "Unable to load UI settings",

Loading…
Cancel
Save