diff --git a/macosx/AboutWindow.nib/classes.nib b/macosx/AboutWindow.nib/classes.nib
index 4d2c6ce8d..2775dc925 100644
--- a/macosx/AboutWindow.nib/classes.nib
+++ b/macosx/AboutWindow.nib/classes.nib
@@ -7,6 +7,7 @@
OUTLETS = {
fCopyrightField = NSTextField;
fLicenseButton = NSButton;
+ fLicenseCloseButton = NSButton;
fLicenseSheet = NSPanel;
fLicenseView = NSTextView;
fTextView = NSTextView;
diff --git a/macosx/AboutWindow.nib/info.nib b/macosx/AboutWindow.nib/info.nib
index 31daf5190..c57e8cc16 100644
--- a/macosx/AboutWindow.nib/info.nib
+++ b/macosx/AboutWindow.nib/info.nib
@@ -8,6 +8,7 @@
446.1
IBOpenObjects
+ 14
5
IBSystem Version
diff --git a/macosx/AboutWindow.nib/keyedobjects.nib b/macosx/AboutWindow.nib/keyedobjects.nib
index 412c787b8..9ee3e6079 100644
Binary files a/macosx/AboutWindow.nib/keyedobjects.nib and b/macosx/AboutWindow.nib/keyedobjects.nib differ
diff --git a/macosx/AboutWindowController.h b/macosx/AboutWindowController.h
index b0b96eb25..0035becdd 100644
--- a/macosx/AboutWindowController.h
+++ b/macosx/AboutWindowController.h
@@ -28,7 +28,7 @@
{
IBOutlet NSTextView * fTextView, * fLicenseView;
IBOutlet NSTextField * fVersionField, * fCopyrightField;
- IBOutlet NSButton * fLicenseButton;
+ IBOutlet NSButton * fLicenseButton, * fLicenseCloseButton;
IBOutlet NSPanel * fLicenseSheet;
}
diff --git a/macosx/AboutWindowController.m b/macosx/AboutWindowController.m
index 1b1ae4b7f..220deb19c 100644
--- a/macosx/AboutWindowController.m
+++ b/macosx/AboutWindowController.m
@@ -69,9 +69,11 @@ AboutWindowController * fAboutBoxInstance = nil;
fAboutBoxInstance = nil;
}
+#warning localize OK button
- (IBAction) showLicense: (id) sender
{
[fLicenseView setString: [NSString stringWithContentsOfFile: [[NSBundle mainBundle] pathForResource: @"LICENSE" ofType: nil]]];
+ [fLicenseCloseButton setTitle: NSLocalizedString(@"OK", "About window -> license close button")];
[NSApp beginSheet: fLicenseSheet modalForWindow: [self window] modalDelegate: nil didEndSelector: nil contextInfo: nil];
}