Translations for InteractiveSearchRow

Closes #4077
pull/4665/head
Bogdan 2 months ago
parent 29c77ec3a1
commit 468f3acf85

@ -48,12 +48,12 @@ function getDownloadTooltip(isGrabbing, isGrabbed, grabError) {
if (isGrabbing) { if (isGrabbing) {
return ''; return '';
} else if (isGrabbed) { } else if (isGrabbed) {
return 'Added to downloaded queue'; return translate('AddedToDownloadQueue');
} else if (grabError) { } else if (grabError) {
return grabError; return grabError;
} }
return 'Add to downloaded queue'; return translate('AddToDownloadQueue');
} }
class InteractiveSearchRow extends Component { class InteractiveSearchRow extends Component {
@ -236,7 +236,9 @@ class InteractiveSearchRow extends Component {
isOpen={this.state.isConfirmGrabModalOpen} isOpen={this.state.isConfirmGrabModalOpen}
kind={kinds.WARNING} kind={kinds.WARNING}
title={translate('GrabRelease')} title={translate('GrabRelease')}
message={translate('GrabReleaseMessageText', [title])} message={translate('GrabReleaseUnknownArtistOrAlbumMessageText', {
title
})}
confirmLabel={translate('Grab')} confirmLabel={translate('Grab')}
onConfirm={this.onGrabConfirm} onConfirm={this.onGrabConfirm}
onCancel={this.onGrabCancel} onCancel={this.onGrabCancel}

@ -41,8 +41,10 @@
"AddReleaseProfile": "Add Release Profile", "AddReleaseProfile": "Add Release Profile",
"AddRemotePathMapping": "Add Remote Path Mapping", "AddRemotePathMapping": "Add Remote Path Mapping",
"AddRootFolder": "Add Root Folder", "AddRootFolder": "Add Root Folder",
"AddToDownloadQueue": "Add to download queue",
"Added": "Added", "Added": "Added",
"AddedArtistSettings": "Added Artist Settings", "AddedArtistSettings": "Added Artist Settings",
"AddedToDownloadQueue": "Added to download queue",
"AddingTag": "Adding tag", "AddingTag": "Adding tag",
"AfterManualRefresh": "After Manual Refresh", "AfterManualRefresh": "After Manual Refresh",
"Age": "Age", "Age": "Age",
@ -512,7 +514,7 @@
"Grab": "Grab", "Grab": "Grab",
"GrabId": "Grab ID", "GrabId": "Grab ID",
"GrabRelease": "Grab Release", "GrabRelease": "Grab Release",
"GrabReleaseMessageText": "{appName} was unable to determine which artist and album this release was for. {appName} may be unable to automatically import this release. Do you want to grab '{0}'?", "GrabReleaseUnknownArtistOrAlbumMessageText": "{appName} was unable to determine which artist and album this release was for. {appName} may be unable to automatically import this release. Do you want to grab '{title}'?",
"GrabSelected": "Grab Selected", "GrabSelected": "Grab Selected",
"Grabbed": "Grabbed", "Grabbed": "Grabbed",
"Group": "Group", "Group": "Group",

Loading…
Cancel
Save