mirror of
https://github.com/transmission/transmission
synced 2025-01-31 11:23:40 +00:00
#5599 File Rename sheet's buttons don't localize
This commit is contained in:
parent
56209a8f86
commit
b8adb42009
1 changed files with 2 additions and 2 deletions
|
@ -101,8 +101,8 @@ typedef void (^CompletionBlock)(BOOL);
|
||||||
[self.renameButton sizeToFit];
|
[self.renameButton sizeToFit];
|
||||||
const CGFloat extra = NSWidth(oldRenameFrame) - NSWidth([self.renameButton frame]);
|
const CGFloat extra = NSWidth(oldRenameFrame) - NSWidth([self.renameButton frame]);
|
||||||
|
|
||||||
[self.renameButton setStringValue: NSLocalizedString(@"Rename", "rename sheet button")];
|
[self.renameButton setTitle: NSLocalizedString(@"Rename", "rename sheet button")];
|
||||||
[self.cancelButton setStringValue: NSLocalizedString(@"Cancel", "rename sheet button")];
|
[self.cancelButton setTitle: NSLocalizedString(@"Cancel", "rename sheet button")];
|
||||||
|
|
||||||
[self.renameButton sizeToFit];
|
[self.renameButton sizeToFit];
|
||||||
[self.cancelButton sizeToFit];
|
[self.cancelButton sizeToFit];
|
||||||
|
|
Loading…
Reference in a new issue