From b0f56e2840d6f8eb69637e260c32342758bf3c7c Mon Sep 17 00:00:00 2001 From: Bogdan Date: Tue, 13 Jun 2023 00:58:14 +0300 Subject: [PATCH] Update translations --- frontend/src/Activity/Blocklist/Blocklist.js | 4 ++-- .../Activity/Queue/RemoveQueueItemsModal.js | 4 ++-- .../CustomFormats/CustomFormat.js | 2 +- .../Specifications/Specification.js | 12 +++------- .../src/Settings/General/SecuritySettings.js | 2 +- .../ImportListExclusion.js | 2 +- .../Settings/Profiles/Delay/DelayProfile.js | 2 +- .../ResetQualityDefinitionsModalContent.js | 8 ++++--- src/NzbDrone.Core/Localization/Core/en.json | 24 +++++++++++-------- 9 files changed, 30 insertions(+), 30 deletions(-) diff --git a/frontend/src/Activity/Blocklist/Blocklist.js b/frontend/src/Activity/Blocklist/Blocklist.js index 5160dae14..e5f653ec9 100644 --- a/frontend/src/Activity/Blocklist/Blocklist.js +++ b/frontend/src/Activity/Blocklist/Blocklist.js @@ -164,7 +164,7 @@ class Blocklist extends Component { { isPopulated && !error && !items.length &&
- {translate('NoHistory')} + {translate('NoHistoryBlocklist')}
} @@ -209,7 +209,7 @@ class Blocklist extends Component { isOpen={isConfirmRemoveModalOpen} kind={kinds.DANGER} title={translate('RemoveSelected')} - message={translate('AreYouSureYouWantToRemoveTheSelectedItemsFromBlocklist')} + message={translate('RemoveSelectedItemBlocklistMessageText')} confirmLabel={translate('RemoveSelected')} onConfirm={this.onRemoveSelectedConfirmed} onCancel={this.onConfirmRemoveModalClose} diff --git a/frontend/src/Activity/Queue/RemoveQueueItemsModal.js b/frontend/src/Activity/Queue/RemoveQueueItemsModal.js index 738ecd44a..e8e983129 100644 --- a/frontend/src/Activity/Queue/RemoveQueueItemsModal.js +++ b/frontend/src/Activity/Queue/RemoveQueueItemsModal.js @@ -88,7 +88,7 @@ class RemoveQueueItemsModal extends Component {
- {selectedCount > 1 ? translate('AreYouSureYouWantToRemoveSelectedItemsFromQueue', selectedCount) : translate('AreYouSureYouWantToRemoveSelectedItemFromQueue')} + {selectedCount > 1 ? translate('RemoveSelectedItemsQueueMessageText', selectedCount) : translate('RemoveSelectedItemQueueMessageText')}
{ @@ -133,7 +133,7 @@ class RemoveQueueItemsModal extends Component { kind={kinds.DANGER} onPress={this.onRemoveConfirmed} > - Remove + {translate('Remove')} diff --git a/frontend/src/Settings/CustomFormats/CustomFormats/CustomFormat.js b/frontend/src/Settings/CustomFormats/CustomFormats/CustomFormat.js index 512805a8a..0e119e834 100644 --- a/frontend/src/Settings/CustomFormats/CustomFormats/CustomFormat.js +++ b/frontend/src/Settings/CustomFormats/CustomFormats/CustomFormat.js @@ -155,7 +155,7 @@ class CustomFormat extends Component { message={
- {translate('AreYouSureYouWantToDeleteFormat', [name])} + {translate('DeleteCustomFormatMessageText', [name])}
} diff --git a/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/Specification.js b/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/Specification.js index 330b38566..5d06efcf2 100644 --- a/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/Specification.js +++ b/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/Specification.js @@ -78,7 +78,7 @@ class Specification extends Component { @@ -114,14 +114,8 @@ class Specification extends Component { -
- {translate('AreYouSureYouWantToDeleteFormat', [name])} -
- - } + title={translate('DeleteCondition')} + message={translate('DeleteConditionMessageText', [name])} confirmLabel={translate('Delete')} onConfirm={this.onConfirmDeleteSpecification} onCancel={this.onDeleteSpecificationModalClose} diff --git a/frontend/src/Settings/General/SecuritySettings.js b/frontend/src/Settings/General/SecuritySettings.js index ab85de950..a1aa24a9d 100644 --- a/frontend/src/Settings/General/SecuritySettings.js +++ b/frontend/src/Settings/General/SecuritySettings.js @@ -168,7 +168,7 @@ class SecuritySettings extends Component { isOpen={this.state.isConfirmApiKeyResetModalOpen} kind={kinds.DANGER} title={translate('ResetAPIKey')} - message={translate('AreYouSureYouWantToResetYourAPIKey')} + message={translate('ResetAPIKeyMessageText')} confirmLabel={translate('Reset')} onConfirm={this.onConfirmResetApiKey} onCancel={this.onCloseResetApiKeyModal} diff --git a/frontend/src/Settings/ImportLists/ImportListExclusions/ImportListExclusion.js b/frontend/src/Settings/ImportLists/ImportListExclusions/ImportListExclusion.js index 952cf6383..b89d59de6 100644 --- a/frontend/src/Settings/ImportLists/ImportListExclusions/ImportListExclusion.js +++ b/frontend/src/Settings/ImportLists/ImportListExclusions/ImportListExclusion.js @@ -89,7 +89,7 @@ class ImportListExclusion extends Component { isOpen={this.state.isDeleteImportExclusionModalOpen} kind={kinds.DANGER} title={translate('DeleteImportListExclusion')} - message={translate('AreYouSureYouWantToDeleteThisImportListExclusion')} + message={translate('DeleteImportListExclusionMessageText')} confirmLabel={translate('Delete')} onConfirm={this.onConfirmDeleteImportExclusion} onCancel={this.onDeleteImportExclusionModalClose} diff --git a/frontend/src/Settings/Profiles/Delay/DelayProfile.js b/frontend/src/Settings/Profiles/Delay/DelayProfile.js index a3daefc80..20dcba24a 100644 --- a/frontend/src/Settings/Profiles/Delay/DelayProfile.js +++ b/frontend/src/Settings/Profiles/Delay/DelayProfile.js @@ -141,7 +141,7 @@ class DelayProfile extends Component { isOpen={this.state.isDeleteDelayProfileModalOpen} kind={kinds.DANGER} title={translate('DeleteDelayProfile')} - message={translate('AreYouSureYouWantToDeleteThisDelayProfile')} + message={translate('DeleteDelayProfileMessageText')} confirmLabel={translate('Delete')} onConfirm={this.onConfirmDeleteDelayProfile} onCancel={this.onDeleteDelayProfileModalClose} diff --git a/frontend/src/Settings/Quality/Reset/ResetQualityDefinitionsModalContent.js b/frontend/src/Settings/Quality/Reset/ResetQualityDefinitionsModalContent.js index 9e2540632..11f9dfa2f 100644 --- a/frontend/src/Settings/Quality/Reset/ResetQualityDefinitionsModalContent.js +++ b/frontend/src/Settings/Quality/Reset/ResetQualityDefinitionsModalContent.js @@ -60,17 +60,19 @@ class ResetQualityDefinitionsModalContent extends Component {
- {translate('AreYouSureYouWantToResetQualityDefinitions')} + {translate('ResetQualityDefinitionsMessageText')}
- {translate('ResetTitles')} + + {translate('ResetTitles')} + diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json index 0f065c48c..2d5f125c8 100644 --- a/src/NzbDrone.Core/Localization/Core/en.json +++ b/src/NzbDrone.Core/Localization/Core/en.json @@ -60,14 +60,6 @@ "ApplyTagsHelpTexts3": "Remove: Remove the entered tags", "ApplyTagsHelpTexts4": "Replace: Replace the tags with the entered tags (enter no tags to clear all tags)", "AptUpdater": "Use apt to install the update", - "AreYouSureYouWantToDeleteFormat": "Are you sure you want to delete format tag {0} ?", - "AreYouSureYouWantToDeleteThisDelayProfile": "Are you sure you want to delete this delay profile?", - "AreYouSureYouWantToDeleteThisImportListExclusion": "Are you sure you want to delete this import list exclusion?", - "AreYouSureYouWantToRemoveSelectedItemFromQueue": "Are you sure you want to remove 1 item from the queue?", - "AreYouSureYouWantToRemoveSelectedItemsFromQueue": "Are you sure you want to remove {0} items from the queue?", - "AreYouSureYouWantToRemoveTheSelectedItemsFromBlocklist": "Are you sure you want to remove the selected items from the blocklist?", - "AreYouSureYouWantToResetQualityDefinitions": "Are you sure you want to reset quality definitions?", - "AreYouSureYouWantToResetYourAPIKey": "Are you sure you want to reset your API Key?", "AsAllDayHelpText": "Events will appear as all-day events in your calendar", "AudioInfo": "Audio Info", "AuthBasic": "Basic (Browser Popup)", @@ -134,8 +126,8 @@ "ClickToChangeQuality": "Click to change quality", "ClickToChangeReleaseGroup": "Click to change release group", "ClientPriority": "Client Priority", + "CloneCondition": "Clone Condition", "CloneCustomFormat": "Clone Custom Format", - "CloneFormatTag": "Clone Format Tag", "CloneIndexer": "Clone Indexer", "CloneProfile": "Clone Profile", "Close": "Close", @@ -202,8 +194,12 @@ "Delete": "Delete", "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 the condition '{0}'?", "DeleteCustomFormat": "Delete Custom Format", + "DeleteCustomFormatMessageText": "Are you sure you want to delete the custom format '{0}'?", "DeleteDelayProfile": "Delete Delay Profile", + "DeleteDelayProfileMessageText": "Are you sure you want to delete this delay profile?", "DeleteDownloadClient": "Delete Download Client", "DeleteDownloadClientMessageText": "Are you sure you want to delete the download client '{0}'?", "DeleteEmptyFolders": "Delete empty folders", @@ -212,8 +208,10 @@ "DeleteFileLabel": "Delete {0} Movie File", "DeleteFilesHelpText": "Delete the movie files and movie folder", "DeleteFilesLabel": "Delete {0} Movie Files", + "DeleteFormatMessageText": "Are you sure you want to delete format tag {0} ?", "DeleteHeader": "Delete - {0}", "DeleteImportListExclusion": "Delete Import List Exclusion", + "DeleteImportListExclusionMessageText": "Are you sure you want to delete this import list exclusion?", "DeleteIndexer": "Delete Indexer", "DeleteIndexerMessageText": "Are you sure you want to delete the indexer '{0}'?", "DeleteList": "Delete List", @@ -629,6 +627,7 @@ "NoCollections": "No collections found, to get started you'll want to add a new movie, or import some existing ones", "NoEventsFound": "No events found", "NoHistory": "No history", + "NoHistoryBlocklist": "No history blocklist", "NoLeaveIt": "No, Leave It", "NoLimitForAnyRuntime": "No limit for any runtime", "NoLinks": "No Links", @@ -844,7 +843,10 @@ "RemoveRootFolder": "Remove root folder", "RemoveSelected": "Remove Selected", "RemoveSelectedItem": "Remove Selected Item", + "RemoveSelectedItemBlocklistMessageText": "Are you sure you want to remove the selected items from the blocklist?", + "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?", "RemovedFromTaskQueue": "Removed from task queue", "RemovedMovieCheckMultipleMessage": "Movies {0} were removed from TMDb", "RemovedMovieCheckSingleMessage": "Movie {0} was removed from TMDb", @@ -869,10 +871,12 @@ "RescanMovieFolderAfterRefresh": "Rescan Movie Folder after Refresh", "Reset": "Reset", "ResetAPIKey": "Reset API Key", + "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", "RestartNow": "Restart Now", "RestartRadarr": "Restart Radarr",