Fixed: Rearranged order of Root Folder setup page to move all Calibre Content Server options to the bottom, and moved the hover-over text to translate.

This commit is contained in:
PearsonFlyer 2021-07-13 16:05:10 -04:00
parent 72ae466892
commit eb4f55de85
2 changed files with 86 additions and 85 deletions

View file

@ -111,7 +111,88 @@ function EditRootFolderModalContent(props) {
<FormGroup>
<FormLabel>
Use Calibre
Monitor
<Popover
anchor={
<Icon
className={styles.labelIcon}
name={icons.INFO}
/>
}
title={translate('MonitoringOptions')}
body={<AuthorMonitoringOptionsPopoverContent />}
position={tooltipPositions.RIGHT}
/>
</FormLabel>
<FormInputGroup
type={inputTypes.MONITOR_BOOKS_SELECT}
name="defaultMonitorOption"
onChange={onInputChange}
{...defaultMonitorOption}
helpText={translate('DefaultMonitorOptionHelpText')}
/>
</FormGroup>
<FormGroup>
<FormLabel>
{translate('QualityProfile')}
</FormLabel>
<FormInputGroup
type={inputTypes.QUALITY_PROFILE_SELECT}
name="defaultQualityProfileId"
helpText={translate('DefaultQualityProfileIdHelpText')}
{...defaultQualityProfileId}
onChange={onInputChange}
/>
</FormGroup>
<FormGroup className={showMetadataProfile ? undefined : styles.hideMetadataProfile}>
<FormLabel>
Metadata Profile
<Popover
anchor={
<Icon
className={styles.labelIcon}
name={icons.INFO}
/>
}
title={translate('MetadataProfile')}
body={<AuthorMetadataProfilePopoverContent />}
position={tooltipPositions.RIGHT}
/>
</FormLabel>
<FormInputGroup
type={inputTypes.METADATA_PROFILE_SELECT}
name="defaultMetadataProfileId"
helpText={translate('DefaultMetadataProfileIdHelpText')}
{...defaultMetadataProfileId}
includeNone={true}
onChange={onInputChange}
/>
</FormGroup>
<FormGroup>
<FormLabel>
{translate('DefaultReadarrTags')}
</FormLabel>
<FormInputGroup
type={inputTypes.TAG}
name="defaultTags"
helpText={translate('DefaultTagsHelpText')}
{...defaultTags}
onChange={onInputChange}
/>
</FormGroup>
<FormGroup>
<FormLabel>
Use Calibre Content Server
<Popover
anchor={
<Icon
@ -120,7 +201,7 @@ function EditRootFolderModalContent(props) {
/>
}
title={translate('CalibreContentServer')}
body={'Using a Calibre content server allows Readarr to add books to your Calibre library and trigger conversions between formats'}
body={translate('CalibreContentServerText')}
position={tooltipPositions.RIGHT}
/>
</FormLabel>
@ -293,87 +374,6 @@ function EditRootFolderModalContent(props) {
</div>
}
<FormGroup>
<FormLabel>
Monitor
<Popover
anchor={
<Icon
className={styles.labelIcon}
name={icons.INFO}
/>
}
title={translate('MonitoringOptions')}
body={<AuthorMonitoringOptionsPopoverContent />}
position={tooltipPositions.RIGHT}
/>
</FormLabel>
<FormInputGroup
type={inputTypes.MONITOR_BOOKS_SELECT}
name="defaultMonitorOption"
onChange={onInputChange}
{...defaultMonitorOption}
helpText={translate('DefaultMonitorOptionHelpText')}
/>
</FormGroup>
<FormGroup>
<FormLabel>
{translate('QualityProfile')}
</FormLabel>
<FormInputGroup
type={inputTypes.QUALITY_PROFILE_SELECT}
name="defaultQualityProfileId"
helpText={translate('DefaultQualityProfileIdHelpText')}
{...defaultQualityProfileId}
onChange={onInputChange}
/>
</FormGroup>
<FormGroup className={showMetadataProfile ? undefined : styles.hideMetadataProfile}>
<FormLabel>
Metadata Profile
<Popover
anchor={
<Icon
className={styles.labelIcon}
name={icons.INFO}
/>
}
title={translate('MetadataProfile')}
body={<AuthorMetadataProfilePopoverContent />}
position={tooltipPositions.RIGHT}
/>
</FormLabel>
<FormInputGroup
type={inputTypes.METADATA_PROFILE_SELECT}
name="defaultMetadataProfileId"
helpText={translate('DefaultMetadataProfileIdHelpText')}
{...defaultMetadataProfileId}
includeNone={true}
onChange={onInputChange}
/>
</FormGroup>
<FormGroup>
<FormLabel>
{translate('DefaultReadarrTags')}
</FormLabel>
<FormInputGroup
type={inputTypes.TAG}
name="defaultTags"
helpText={translate('DefaultTagsHelpText')}
{...defaultTags}
onChange={onInputChange}
/>
</FormGroup>
</Form>
}
</ModalBody>

View file

@ -84,7 +84,8 @@
"BypassProxyForLocalAddresses": "Bypass Proxy for Local Addresses",
"Calendar": "Calendar",
"CalendarWeekColumnHeaderHelpText": "Shown above each column when week is the active view",
"CalibreContentServer": "Calibre content server",
"CalibreContentServer": "Calibre Content Server",
"CalibreContentServerText": "Using a Calibre Content Server (not Calibre Web) allows Readarr to add books to your Calibre library and trigger conversions between formats",
"CalibreHost": "Calibre Host",
"CalibreLibrary": "Calibre Library",
"CalibreMetadata": "Calibre Metadata",
@ -300,7 +301,7 @@
"IndexerSettings": "Indexer Settings",
"Interval": "Interval",
"ISBN": "ISBN",
"IsCalibreLibraryHelpText": "Use Calibre content server to manipulate library",
"IsCalibreLibraryHelpText": "Use Calibre Content Server to manipulate library",
"IsCutoffCutoff": "Cutoff",
"IsCutoffUpgradeUntilThisQualityIsMetOrExceeded": "Upgrade until this quality is met or exceeded",
"IsExpandedHideBooks": "Hide books",