1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 03:12:44 +00:00

#5599 File Rename sheet's buttons don't localize

This commit is contained in:
Mitchell Livingston 2014-02-01 19:13:36 +00:00
parent 56209a8f86
commit b8adb42009

View file

@ -101,8 +101,8 @@ typedef void (^CompletionBlock)(BOOL);
[self.renameButton sizeToFit];
const CGFloat extra = NSWidth(oldRenameFrame) - NSWidth([self.renameButton frame]);
[self.renameButton setStringValue: NSLocalizedString(@"Rename", "rename sheet button")];
[self.cancelButton setStringValue: NSLocalizedString(@"Cancel", "rename sheet button")];
[self.renameButton setTitle: NSLocalizedString(@"Rename", "rename sheet button")];
[self.cancelButton setTitle: NSLocalizedString(@"Cancel", "rename sheet button")];
[self.renameButton sizeToFit];
[self.cancelButton sizeToFit];