Update translations

This commit is contained in:
Bogdan 2023-06-13 01:23:43 +03:00
parent 447aa837b1
commit c70ab07ee0
5 changed files with 28 additions and 17 deletions

View File

@ -169,7 +169,7 @@ class Blocklist extends Component {
{
isAllPopulated && !error && !items.length &&
<div>
No history blocklist
{translate('NoHistoryBlocklist')}
</div>
}
@ -214,7 +214,7 @@ class Blocklist extends Component {
isOpen={isConfirmRemoveModalOpen}
kind={kinds.DANGER}
title={translate('RemoveSelected')}
message={translate('RemoveSelectedMessageText')}
message={translate('RemoveSelectedItemBlocklistMessageText')}
confirmLabel={translate('RemoveSelected')}
onConfirm={this.onRemoveSelectedConfirmed}
onCancel={this.onConfirmRemoveModalClose}

View File

@ -88,12 +88,12 @@ class RemoveQueueItemsModal extends Component {
onModalClose={this.onModalClose}
>
<ModalHeader>
Remove Selected Item{selectedCount > 1 ? 's' : ''}
{selectedCount > 1 ? translate('RemoveSelectedItems') : translate('RemoveSelectedItem')}
</ModalHeader>
<ModalBody>
<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>
<FormGroup>
@ -113,7 +113,7 @@ class RemoveQueueItemsModal extends Component {
<FormGroup>
<FormLabel>
Blocklist Release{selectedCount > 1 ? 's' : ''}
{selectedCount > 1 ? translate('BlocklistReleases') : translate('BlocklistRelease')}
</FormLabel>
<FormInputGroup
@ -145,14 +145,14 @@ class RemoveQueueItemsModal extends Component {
<ModalFooter>
<Button onPress={this.onModalClose}>
Close
{translate('Close')}
</Button>
<Button
kind={kinds.DANGER}
onPress={this.onRemoveConfirmed}
>
Remove
{translate('Remove')}
</Button>
</ModalFooter>
</ModalContent>

View File

@ -78,7 +78,7 @@ class Specification extends Component {
<IconButton
className={styles.cloneButton}
title={translate('Clone')}
title={translate('CloneCondition')}
name={icons.CLONE}
onPress={this.onCloneSpecificationPress}
/>
@ -92,14 +92,14 @@ class Specification extends Component {
{
negate &&
<Label kind={kinds.DANGER}>
Negated
{translate('Negated')}
</Label>
}
{
required &&
<Label kind={kinds.SUCCESS}>
Required
{translate('Required')}
</Label>
}
</div>
@ -114,8 +114,8 @@ class Specification extends Component {
<ConfirmModal
isOpen={this.state.isDeleteSpecificationModalOpen}
kind={kinds.DANGER}
title={translate('DeleteFormat')}
message={translate('DeleteFormatMessageText', [name])}
title={translate('DeleteCondition')}
message={translate('DeleteConditionMessageText', [name])}
confirmLabel={translate('Delete')}
onConfirm={this.onConfirmDeleteSpecification}
onCancel={this.onDeleteSpecificationModalClose}

View File

@ -55,12 +55,12 @@ class ResetQualityDefinitionsModalContent extends Component {
onModalClose={onModalClose}
>
<ModalHeader>
Reset Quality Definitions
{translate('ResetQualityDefinitions')}
</ModalHeader>
<ModalBody>
<div className={styles.messageContainer}>
Are you sure you want to reset quality definitions?
{translate('ResetQualityDefinitionsMessageText')}
</div>
<FormGroup>
@ -81,7 +81,7 @@ class ResetQualityDefinitionsModalContent extends Component {
<ModalFooter>
<Button onPress={onModalClose}>
Cancel
{translate('Cancel')}
</Button>
<Button
@ -89,7 +89,7 @@ class ResetQualityDefinitionsModalContent extends Component {
onPress={this.onResetQualityDefinitionsConfirmed}
isDisabled={isResettingQualityDefinitions}
>
Reset
{translate('Reset')}
</Button>
</ModalFooter>
</ModalContent>

View File

@ -106,6 +106,7 @@
"Blocklist": "Blocklist",
"BlocklistHelpText": "Prevents Lidarr from automatically grabbing these files again",
"BlocklistRelease": "Blocklist Release",
"BlocklistReleases": "Blocklist Releases",
"Branch": "Branch",
"BypassIfAboveCustomFormatScore": "Bypass if Above Custom Format Score",
"BypassIfAboveCustomFormatScoreHelpText": "Enable bypass when release has a score higher than the configured minimum custom format score",
@ -192,6 +193,8 @@
"DeleteArtist": "Delete Selected Artist",
"DeleteBackup": "Delete Backup",
"DeleteBackupMessageText": "Are you sure you want to delete the backup '{0}'?",
"DeleteCondition": "Delete Condition",
"DeleteConditionMessageText": "Are you sure you want to delete condition '{0}'?",
"DeleteCustomFormat": "Delete Custom Format",
"DeleteCustomFormatMessageText": "Are you sure you want to delete the custom format '{0}'?",
"DeleteDelayProfile": "Delete Delay Profile",
@ -543,6 +546,7 @@
"Name": "Name",
"NamingSettings": "Naming Settings",
"NegateHelpText": "If checked, the custom format will not apply if this {0} condition matches.",
"Negated": "Negated",
"Never": "Never",
"New": "New",
"NewAlbums": "New Albums",
@ -551,6 +555,7 @@
"NoAlbums": "No albums",
"NoBackupsAreAvailable": "No backups are available",
"NoHistory": "No history.",
"NoHistoryBlocklist": "No history blocklist",
"NoLeaveIt": "No, Leave It",
"NoLimitForAnyRuntime": "No limit for any runtime",
"NoLogFiles": "No log files",
@ -707,7 +712,9 @@
"RemoveFromQueue": "Remove from queue",
"RemoveHelpTextWarning": "Removing will remove the download and the file(s) from the download client.",
"RemoveSelected": "Remove Selected",
"RemoveSelectedMessageText": "Are you sure you want to remove the selected items from the blocklist?",
"RemoveSelectedItem": "Remove Selected Item",
"RemoveSelectedItemBlocklistMessageText": "Are you sure you want to remove the selected items from the blocklist?",
"RemoveSelectedItems": "Remove Selected Items",
"RemoveTagExistingTag": "Existing tag",
"RemoveTagRemovingTag": "Removing tag",
"RemovedFromTaskQueue": "Removed from task queue",
@ -722,6 +729,7 @@
"ReplaceWithDash": "Replace with Dash",
"ReplaceWithSpaceDash": "Replace with Space Dash",
"ReplaceWithSpaceDashSpace": "Replace with Space Dash Space",
"Required": "Required",
"RequiredHelpText": "The release must contain at least one of these terms (case insensitive)",
"RequiredPlaceHolder": "Add new restriction",
"RequiresRestartToTakeEffect": "Requires restart to take effect",
@ -733,7 +741,10 @@
"ResetAPIKeyMessageText": "Are you sure you want to reset your API Key?",
"ResetDefinitionTitlesHelpText": "Reset definition titles as well as values",
"ResetDefinitions": "Reset Definitions",
"ResetQualityDefinitions": "Reset Quality Definitions",
"ResetQualityDefinitionsMessageText": "Are you sure you want to reset quality definitions?",
"ResetTitles": "Reset Titles",
"ResetTitlesHelpText": "Reset definition titles as well as values",
"Restart": "Restart",
"RestartLidarr": "Restart Lidarr",
"RestartNow": "Restart Now",