mirror of
https://github.com/transmission/transmission
synced 2025-03-10 14:13:23 +00:00
fix: Add tooltip explaining why auto adding for magnets is unavailable. (#5035)
Fixes #5034 Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
parent
8e3a09ff94
commit
7e353588dc
2 changed files with 7 additions and 0 deletions
|
@ -994,11 +994,15 @@ static NSString* const kWebUIURLFormat = @"http://localhost:%ld/";
|
|||
//always show the add window for magnet links when the download location is the same as the torrent file
|
||||
self.fShowMagnetAddWindowCheck.state = NSControlStateValueOn;
|
||||
self.fShowMagnetAddWindowCheck.enabled = NO;
|
||||
self.fShowMagnetAddWindowCheck.toolTip = NSLocalizedString(
|
||||
@"This option is not available if Default location is set to Same as torrent file.",
|
||||
"Preferences -> Transfers -> Adding -> Magnet tooltip");
|
||||
}
|
||||
else
|
||||
{
|
||||
self.fShowMagnetAddWindowCheck.state = [self.fDefaults boolForKey:@"MagnetOpenAsk"];
|
||||
self.fShowMagnetAddWindowCheck.enabled = YES;
|
||||
self.fShowMagnetAddWindowCheck.toolTip = nil;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -986,6 +986,9 @@
|
|||
/* Create torrent -> no files -> title */
|
||||
"This folder contains no files." = "This folder contains no files.";
|
||||
|
||||
/* Preferences -> Transfers -> Adding -> Magnet tooltip */
|
||||
"This option is not available if Default location is set to Same as torrent file." = "This option is not available if Default location is set to Same as torrent file.";
|
||||
|
||||
/* Removal confirm panel -> message */
|
||||
"This transfer is active. Once removed, continuing the transfer will require the torrent file or magnet link." = "This transfer is active. Once removed, continuing the transfer will require the torrent file or magnet link.";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue