Add detailed help text for sync levels (#155)

Adjust donation buttons to fit on mobile
Other translation updates
pull/169/head^2
nitsua 3 years ago committed by GitHub
parent 6612202384
commit 75cbabf716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,7 +25,7 @@ function FormInputHelpText(props) {
isCheckInput && styles.isCheckInput isCheckInput && styles.isCheckInput
)} )}
> >
{text} <div dangerouslySetInnerHTML={{ __html: text }} />
{ {
link ? link ?

@ -18,9 +18,9 @@ import translate from 'Utilities/String/translate';
import styles from './EditApplicationModalContent.css'; import styles from './EditApplicationModalContent.css';
const syncLevelOptions = [ const syncLevelOptions = [
{ key: 'disabled', value: 'Disabled' }, { key: 'disabled', value: translate('Disabled') },
{ key: 'addOnly', value: 'Add and Remove Only' }, { key: 'addOnly', value: translate('AddRemoveOnly') },
{ key: 'fullSync', value: 'Full Sync' } { key: 'fullSync', value: translate('FullSync') }
]; ];
function EditApplicationModalContent(props) { function EditApplicationModalContent(props) {
@ -53,7 +53,7 @@ function EditApplicationModalContent(props) {
return ( return (
<ModalContent onModalClose={onModalClose}> <ModalContent onModalClose={onModalClose}>
<ModalHeader> <ModalHeader>
{`${id ? 'Edit' : 'Add'} Application`} {`${id ? translate('Edit') : translate('Add')} ${translate('Application')}`}
</ModalHeader> </ModalHeader>
<ModalBody> <ModalBody>
@ -94,13 +94,13 @@ function EditApplicationModalContent(props) {
</FormGroup> </FormGroup>
<FormGroup> <FormGroup>
<FormLabel>{'Sync Level'}</FormLabel> <FormLabel>{translate('SyncLevel')}</FormLabel>
<FormInputGroup <FormInputGroup
type={inputTypes.SELECT} type={inputTypes.SELECT}
values={syncLevelOptions} values={syncLevelOptions}
name="syncLevel" name="syncLevel"
helpText={'Sync Level'} helpText={`${translate('SyncLevelAddRemove')}<br>${translate('SyncLevelFull')}`}
{...syncLevel} {...syncLevel}
onChange={onInputChange} onChange={onInputChange}
/> />

@ -5,7 +5,7 @@
.logoContainer { .logoContainer {
display: inline-block; display: inline-block;
margin: 1em; margin: 0.5em;
width: 50px; width: 50px;
height: 50px; height: 50px;
outline: none; outline: none;

@ -2,6 +2,7 @@
"About": "About", "About": "About",
"AcceptConfirmationModal": "Accept Confirmation Modal", "AcceptConfirmationModal": "Accept Confirmation Modal",
"Actions": "Actions", "Actions": "Actions",
"Add": "Add",
"AddAppProfile": "Add App Sync Profile", "AddAppProfile": "Add App Sync Profile",
"AddDownloadClient": "Add Download Client", "AddDownloadClient": "Add Download Client",
"Added": "Added", "Added": "Added",
@ -9,6 +10,7 @@
"AddIndexer": "Add Indexer", "AddIndexer": "Add Indexer",
"AddingTag": "Adding tag", "AddingTag": "Adding tag",
"AddNewIndexer": "Add New Indexer", "AddNewIndexer": "Add New Indexer",
"AddRemoveOnly": "Add and Remove Only",
"AddToDownloadClient": "Add release to download client", "AddToDownloadClient": "Add release to download client",
"Age": "Age", "Age": "Age",
"All": "All", "All": "All",
@ -113,6 +115,7 @@
"DownloadClientStatusCheckSingleClientMessage": "Download clients unavailable due to failures: {0}", "DownloadClientStatusCheckSingleClientMessage": "Download clients unavailable due to failures: {0}",
"DownloadClientUnavailable": "Download client is unavailable", "DownloadClientUnavailable": "Download client is unavailable",
"Downloading": "Downloading", "Downloading": "Downloading",
"Edit": "Edit",
"EditAppProfile": "Edit App Profile", "EditAppProfile": "Edit App Profile",
"EditIndexer": "Edit Indexer", "EditIndexer": "Edit Indexer",
"Enable": "Enable", "Enable": "Enable",
@ -154,6 +157,7 @@
"FocusSearchBox": "Focus Search Box", "FocusSearchBox": "Focus Search Box",
"Folder": "Folder", "Folder": "Folder",
"ForMoreInformationOnTheIndividualDownloadClients": "For more information on the individual download clients, click on the info buttons.", "ForMoreInformationOnTheIndividualDownloadClients": "For more information on the individual download clients, click on the info buttons.",
"FullSync": "Full Sync",
"General": "General", "General": "General",
"GeneralSettings": "General Settings", "GeneralSettings": "General Settings",
"GeneralSettingsSummary": "Port, SSL, username/password, proxy, analytics and updates", "GeneralSettingsSummary": "Port, SSL, username/password, proxy, analytics and updates",
@ -352,6 +356,9 @@
"Style": "Style", "Style": "Style",
"SuggestTranslationChange": "Suggest translation change", "SuggestTranslationChange": "Suggest translation change",
"SyncAppIndexers": "Sync App Indexers", "SyncAppIndexers": "Sync App Indexers",
"SyncLevel": "Sync Level",
"SyncLevelAddRemove": "Add and Remove Only: When it is added or removed from Prowlarr, it will update this remote app.",
"SyncLevelFull": "Full Sync: Will keep this app fully in sync. Changes made in Prowlarr are then synced to this app. Any change made remotely will be overridden by Prowlarr on the next sync.",
"System": "System", "System": "System",
"SystemTimeCheckMessage": "System time is off by more than 1 day. Scheduled tasks may not run correctly until the time is corrected", "SystemTimeCheckMessage": "System time is off by more than 1 day. Scheduled tasks may not run correctly until the time is corrected",
"TableOptions": "Table Options", "TableOptions": "Table Options",

Loading…
Cancel
Save