Update translations

pull/5746/head
Bogdan 2 years ago committed by Mark McDowall
parent a6a61a016b
commit 2603138975

@ -10,6 +10,7 @@ import ModalContent from 'Components/Modal/ModalContent';
import ModalFooter from 'Components/Modal/ModalFooter'; import ModalFooter from 'Components/Modal/ModalFooter';
import ModalHeader from 'Components/Modal/ModalHeader'; import ModalHeader from 'Components/Modal/ModalHeader';
import { inputTypes, kinds, sizes } from 'Helpers/Props'; import { inputTypes, kinds, sizes } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
import styles from './RemoveQueueItemsModal.css'; import styles from './RemoveQueueItemsModal.css';
class RemoveQueueItemsModal extends Component { class RemoveQueueItemsModal extends Component {
@ -82,25 +83,25 @@ class RemoveQueueItemsModal extends Component {
onModalClose={this.onModalClose} onModalClose={this.onModalClose}
> >
<ModalHeader> <ModalHeader>
Remove Selected Item{selectedCount > 1 ? 's' : ''} {selectedCount > 1 ? translate('RemoveSelectedItems') : translate('RemoveSelectedItem')}
</ModalHeader> </ModalHeader>
<ModalBody> <ModalBody>
<div className={styles.message}> <div className={styles.message}>
Are you sure you want to remove {selectedCount} item{selectedCount > 1 ? 's' : ''} from the queue? {selectedCount > 1 ? translate('RemoveSelectedItemsQueueMessageText', selectedCount) : translate('RemoveSelectedItemQueueMessageText')}
</div> </div>
{ {
allPending ? allPending ?
null : null :
<FormGroup> <FormGroup>
<FormLabel>Remove From Download Client</FormLabel> <FormLabel>{translate('RemoveFromDownloadClient')}</FormLabel>
<FormInputGroup <FormInputGroup
type={inputTypes.CHECK} type={inputTypes.CHECK}
name="remove" name="remove"
value={remove} value={remove}
helpTextWarning="Removing will remove the download and the file(s) from the download client." helpTextWarning={translate('RemoveFromDownloadClientHelpTextWarning')}
isDisabled={!canIgnore} isDisabled={!canIgnore}
onChange={this.onRemoveChange} onChange={this.onRemoveChange}
/> />
@ -109,14 +110,14 @@ class RemoveQueueItemsModal extends Component {
<FormGroup> <FormGroup>
<FormLabel> <FormLabel>
Add Release{selectedCount > 1 ? 's' : ''} To Blocklist {selectedCount > 1 ? translate('BlocklistReleases') : translate('BlocklistRelease')}
</FormLabel> </FormLabel>
<FormInputGroup <FormInputGroup
type={inputTypes.CHECK} type={inputTypes.CHECK}
name="blocklist" name="blocklist"
value={blocklist} value={blocklist}
helpText="Prevents Sonarr from automatically grabbing this release again" helpText={translate('BlocklistReleaseHelpText')}
onChange={this.onBlocklistChange} onChange={this.onBlocklistChange}
/> />
</FormGroup> </FormGroup>
@ -125,14 +126,14 @@ class RemoveQueueItemsModal extends Component {
<ModalFooter> <ModalFooter>
<Button onPress={this.onModalClose}> <Button onPress={this.onModalClose}>
Close {translate('Close')}
</Button> </Button>
<Button <Button
kind={kinds.DANGER} kind={kinds.DANGER}
onPress={this.onRemoveConfirmed} onPress={this.onRemoveConfirmed}
> >
Remove {translate('Remove')}
</Button> </Button>
</ModalFooter> </ModalFooter>
</ModalContent> </ModalContent>

@ -5,6 +5,7 @@ import Label from 'Components/Label';
import IconButton from 'Components/Link/IconButton'; import IconButton from 'Components/Link/IconButton';
import ConfirmModal from 'Components/Modal/ConfirmModal'; import ConfirmModal from 'Components/Modal/ConfirmModal';
import { icons, kinds } from 'Helpers/Props'; import { icons, kinds } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
import EditCustomFormatModalConnector from './EditCustomFormatModalConnector'; import EditCustomFormatModalConnector from './EditCustomFormatModalConnector';
import ExportCustomFormatModal from './ExportCustomFormatModal'; import ExportCustomFormatModal from './ExportCustomFormatModal';
import styles from './CustomFormat.css'; import styles from './CustomFormat.css';
@ -92,14 +93,14 @@ class CustomFormat extends Component {
<div className={styles.buttons}> <div className={styles.buttons}>
<IconButton <IconButton
className={styles.cloneButton} className={styles.cloneButton}
title="Clone Custom Format" title={translate('CloneCustomFormat')}
name={icons.CLONE} name={icons.CLONE}
onPress={this.onCloneCustomFormatPress} onPress={this.onCloneCustomFormatPress}
/> />
<IconButton <IconButton
className={styles.cloneButton} className={styles.cloneButton}
title="Export Custom Format" title={translate('ExportCustomFormat')}
name={icons.EXPORT} name={icons.EXPORT}
onPress={this.onExportCustomFormatPress} onPress={this.onExportCustomFormatPress}
/> />
@ -150,9 +151,9 @@ class CustomFormat extends Component {
<ConfirmModal <ConfirmModal
isOpen={this.state.isDeleteCustomFormatModalOpen} isOpen={this.state.isDeleteCustomFormatModalOpen}
kind={kinds.DANGER} kind={kinds.DANGER}
title="Delete Custom Format" title={translate('DeleteCustomFormat')}
message={`Are you sure you want to delete the custom format '${name}'?`} message={translate('DeleteCustomFormatMessageText', [name])}
confirmLabel="Delete" confirmLabel={translate('Delete')}
isSpinning={isDeleting} isSpinning={isDeleting}
onConfirm={this.onConfirmDeleteCustomFormat} onConfirm={this.onConfirmDeleteCustomFormat}
onCancel={this.onDeleteCustomFormatModalClose} onCancel={this.onDeleteCustomFormatModalClose}

@ -5,6 +5,7 @@ import Label from 'Components/Label';
import IconButton from 'Components/Link/IconButton'; import IconButton from 'Components/Link/IconButton';
import ConfirmModal from 'Components/Modal/ConfirmModal'; import ConfirmModal from 'Components/Modal/ConfirmModal';
import { icons, kinds } from 'Helpers/Props'; import { icons, kinds } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
import EditSpecificationModalConnector from './EditSpecificationModal'; import EditSpecificationModalConnector from './EditSpecificationModal';
import styles from './Specification.css'; import styles from './Specification.css';
@ -77,7 +78,7 @@ class Specification extends Component {
<IconButton <IconButton
className={styles.cloneButton} className={styles.cloneButton}
title="Clone" title={translate('CloneCondition')}
name={icons.CLONE} name={icons.CLONE}
onPress={this.onCloneSpecificationPress} onPress={this.onCloneSpecificationPress}
/> />
@ -91,14 +92,14 @@ class Specification extends Component {
{ {
negate && negate &&
<Label kind={kinds.DANGER}> <Label kind={kinds.DANGER}>
Negated {translate('Negated')}
</Label> </Label>
} }
{ {
required && required &&
<Label kind={kinds.SUCCESS}> <Label kind={kinds.SUCCESS}>
Required {translate('Required')}
</Label> </Label>
} }
</div> </div>
@ -113,9 +114,9 @@ class Specification extends Component {
<ConfirmModal <ConfirmModal
isOpen={this.state.isDeleteSpecificationModalOpen} isOpen={this.state.isDeleteSpecificationModalOpen}
kind={kinds.DANGER} kind={kinds.DANGER}
title="Delete Format" title={translate('DeleteCondition')}
message={`Are you sure you want to delete format tag ${name} ?`} message={translate('DeleteConditionMessageText', [name])}
confirmLabel="Delete" confirmLabel={translate('Delete')}
onConfirm={this.onConfirmDeleteSpecification} onConfirm={this.onConfirmDeleteSpecification}
onCancel={this.onDeleteSpecificationModalClose} onCancel={this.onDeleteSpecificationModalClose}
/> />

@ -9,6 +9,7 @@ import ModalContent from 'Components/Modal/ModalContent';
import ModalFooter from 'Components/Modal/ModalFooter'; import ModalFooter from 'Components/Modal/ModalFooter';
import ModalHeader from 'Components/Modal/ModalHeader'; import ModalHeader from 'Components/Modal/ModalHeader';
import { inputTypes, kinds } from 'Helpers/Props'; import { inputTypes, kinds } from 'Helpers/Props';
import translate from 'Utilities/String/translate';
import styles from './ResetQualityDefinitionsModalContent.css'; import styles from './ResetQualityDefinitionsModalContent.css';
class ResetQualityDefinitionsModalContent extends Component { class ResetQualityDefinitionsModalContent extends Component {
@ -54,22 +55,24 @@ class ResetQualityDefinitionsModalContent extends Component {
onModalClose={onModalClose} onModalClose={onModalClose}
> >
<ModalHeader> <ModalHeader>
Reset Quality Definitions {translate('ResetQualityDefinitions')}
</ModalHeader> </ModalHeader>
<ModalBody> <ModalBody>
<div className={styles.messageContainer}> <div className={styles.messageContainer}>
Are you sure you want to reset quality definitions? {translate('ResetQualityDefinitionsMessageText')}
</div> </div>
<FormGroup> <FormGroup>
<FormLabel>Reset Titles</FormLabel> <FormLabel>
{translate('ResetTitles')}
</FormLabel>
<FormInputGroup <FormInputGroup
type={inputTypes.CHECK} type={inputTypes.CHECK}
name="resetDefinitionTitles" name="resetDefinitionTitles"
value={resetDefinitionTitles} value={resetDefinitionTitles}
helpText="Reset definition titles as well as values" helpText={translate('ResetDefinitionTitlesHelpText')}
onChange={this.onResetDefinitionTitlesChange} onChange={this.onResetDefinitionTitlesChange}
/> />
</FormGroup> </FormGroup>
@ -78,7 +81,7 @@ class ResetQualityDefinitionsModalContent extends Component {
<ModalFooter> <ModalFooter>
<Button onPress={onModalClose}> <Button onPress={onModalClose}>
Cancel {translate('Cancel')}
</Button> </Button>
<Button <Button
@ -86,7 +89,7 @@ class ResetQualityDefinitionsModalContent extends Component {
onPress={this.onResetQualityDefinitionsConfirmed} onPress={this.onResetQualityDefinitionsConfirmed}
isDisabled={isResettingQualityDefinitions} isDisabled={isResettingQualityDefinitions}
> >
Reset {translate('Reset')}
</Button> </Button>
</ModalFooter> </ModalFooter>
</ModalContent> </ModalContent>

@ -4,8 +4,19 @@
"AppDataLocationHealthCheckMessage": "Updating will not be possible to prevent deleting AppData on Update", "AppDataLocationHealthCheckMessage": "Updating will not be possible to prevent deleting AppData on Update",
"ApplyChanges": "Apply Changes", "ApplyChanges": "Apply Changes",
"AutomaticAdd": "Automatic Add", "AutomaticAdd": "Automatic Add",
"BlocklistRelease": "Blocklist Release",
"BlocklistReleaseHelpText": "Prevents Sonarr from automatically grabbing this release again",
"BlocklistReleases": "Blocklist Releases",
"Browser Reload Required": "Browser Reload Required", "Browser Reload Required": "Browser Reload Required",
"CloneCondition": "Clone Condition",
"CloneCustomFormat": "Clone Custom Format",
"Close": "Close",
"CountSeasons": "{count} seasons", "CountSeasons": "{count} seasons",
"Delete": "Delete",
"DeleteCondition": "Delete Condition",
"DeleteConditionMessageText": "Are you sure you want to delete the condition '{0}'?",
"DeleteCustomFormat": "Delete Custom Format",
"DeleteCustomFormatMessageText": "Are you sure you want to delete the custom format '{0}'?",
"DownloadClientCheckNoneAvailableHealthCheckMessage": "No download client is available", "DownloadClientCheckNoneAvailableHealthCheckMessage": "No download client is available",
"DownloadClientCheckUnableToCommunicateWithHealthCheckMessage": "Unable to communicate with {0}.", "DownloadClientCheckUnableToCommunicateWithHealthCheckMessage": "Unable to communicate with {0}.",
"DownloadClientRootFolderHealthCheckMessage": "Download client {0} places downloads in the root folder {1}. You should not download to a root folder.", "DownloadClientRootFolderHealthCheckMessage": "Download client {0} places downloads in the root folder {1}. You should not download to a root folder.",
@ -21,6 +32,7 @@
"EnableRss": "Enable Rss", "EnableRss": "Enable Rss",
"Enabled": "Enabled", "Enabled": "Enabled",
"Ended": "Ended", "Ended": "Ended",
"ExportCustomFormat": "Export Custom Format",
"HiddenClickToShow": "Hidden, click to show", "HiddenClickToShow": "Hidden, click to show",
"HideAdvanced": "Hide Advanced", "HideAdvanced": "Hide Advanced",
"ImportListRootFolderMissingRootHealthCheckMessage": "Missing root folder for import list(s): {0}", "ImportListRootFolderMissingRootHealthCheckMessage": "Missing root folder for import list(s): {0}",
@ -44,6 +56,7 @@
"Language that Sonarr will use for UI": "Language that Sonarr will use for UI", "Language that Sonarr will use for UI": "Language that Sonarr will use for UI",
"Monitored": "Monitored", "Monitored": "Monitored",
"MountHealthCheckMessage": "Mount containing a series path is mounted read-only: ", "MountHealthCheckMessage": "Mount containing a series path is mounted read-only: ",
"Negated": "Negated",
"Network": "Network", "Network": "Network",
"NextAiring": "Next Airing", "NextAiring": "Next Airing",
"NoSeasons": "No seasons", "NoSeasons": "No seasons",
@ -73,10 +86,18 @@
"RemotePathMappingLocalWrongOSPathHealthCheckMessage": "Local download client {0} places downloads in {1} but this is not a valid {2} path. Review your download client settings.", "RemotePathMappingLocalWrongOSPathHealthCheckMessage": "Local download client {0} places downloads in {1} but this is not a valid {2} path. Review your download client settings.",
"RemotePathMappingRemoteDownloadClientHealthCheckMessage": "Remote download client {0} reported files in {1} but this directory does not appear to exist. Likely missing remote path mapping.", "RemotePathMappingRemoteDownloadClientHealthCheckMessage": "Remote download client {0} reported files in {1} but this directory does not appear to exist. Likely missing remote path mapping.",
"RemotePathMappingWrongOSPathHealthCheckMessage": "Remote download client {0} places downloads in {1} but this is not a valid {2} path. Review your remote path mappings and download client settings.", "RemotePathMappingWrongOSPathHealthCheckMessage": "Remote download client {0} places downloads in {1} but this is not a valid {2} path. Review your remote path mappings and download client settings.",
"Remove": "Remove",
"RemoveCompletedDownloads": "Remove Completed Downloads", "RemoveCompletedDownloads": "Remove Completed Downloads",
"RemoveFailedDownloads": "Remove Failed Downloads", "RemoveFailedDownloads": "Remove Failed Downloads",
"RemoveFromDownloadClient": "Remove From Download Client",
"RemoveFromDownloadClientHelpTextWarning": "Removing will remove the download and the file(s) from the download client.",
"RemoveSelectedItem": "Remove Selected Item",
"RemoveSelectedItemQueueMessageText": "Are you sure you want to remove 1 item from the queue?",
"RemoveSelectedItems": "Remove Selected Items",
"RemoveSelectedItemsQueueMessageText": "Are you sure you want to remove {0} items from the queue?",
"RemovedSeriesMultipleRemovedHealthCheckMessage": "Series {0} were removed from TheTVDB", "RemovedSeriesMultipleRemovedHealthCheckMessage": "Series {0} were removed from TheTVDB",
"RemovedSeriesSingleRemovedHealthCheckMessage": "Series {0} was removed from TheTVDB", "RemovedSeriesSingleRemovedHealthCheckMessage": "Series {0} was removed from TheTVDB",
"Required": "Required",
"RootFolder": "Root Folder", "RootFolder": "Root Folder",
"RootFolderMissingHealthCheckMessage": "Missing root folder: {0}", "RootFolderMissingHealthCheckMessage": "Missing root folder: {0}",
"RootFolderMultipleMissingHealthCheckMessage": "Multiple root folders are missing: {0}", "RootFolderMultipleMissingHealthCheckMessage": "Multiple root folders are missing: {0}",

Loading…
Cancel
Save