mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 13:41:17 +00:00
Move the rename menu item to the File menu.
This commit is contained in:
@@ -75,12 +75,7 @@ typedef void (^CompletionBlock)(BOOL);
|
||||
[super windowDidLoad];
|
||||
|
||||
NSString * name = self.node ? [self.node name] : [self.torrent name];
|
||||
|
||||
NSString * label;
|
||||
if (self.node)
|
||||
label = [NSString stringWithFormat: NSLocalizedString(@"Rename \"%@\":", "rename sheet label"), name];
|
||||
else
|
||||
label = [NSString stringWithFormat: NSLocalizedString(@"Rename the transfer \"%@\":", "rename sheet label"), name];
|
||||
NSString * label = [NSString stringWithFormat: NSLocalizedString(@"Rename the file \"%@\":", "rename sheet label"), name];
|
||||
[self.labelField setStringValue: label];
|
||||
|
||||
[self.inputField setStringValue: name];
|
||||
|
||||
Reference in New Issue
Block a user