Changeset 3157


Ignore:
Timestamp:
Sep 24, 2007, 12:44:35 PM (15 years ago)
Author:
livings124
Message:

miss a localized button in About window

Location:
trunk/macosx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/AboutWindow.nib/classes.nib

    r3156 r3157  
    88                fCopyrightField = NSTextField;
    99                fLicenseButton = NSButton;
     10                fLicenseCloseButton = NSButton;
    1011                fLicenseSheet = NSPanel;
    1112                fLicenseView = NSTextView;
  • trunk/macosx/AboutWindow.nib/info.nib

    r3156 r3157  
    99        <key>IBOpenObjects</key>
    1010        <array>
     11                <integer>14</integer>
    1112                <integer>5</integer>
    1213        </array>
  • trunk/macosx/AboutWindowController.h

    r3156 r3157  
    2929        IBOutlet NSTextView * fTextView, * fLicenseView;
    3030    IBOutlet NSTextField * fVersionField, * fCopyrightField;
    31     IBOutlet NSButton * fLicenseButton;
     31    IBOutlet NSButton * fLicenseButton, * fLicenseCloseButton;
    3232    IBOutlet NSPanel * fLicenseSheet;
    3333}
  • trunk/macosx/AboutWindowController.m

    r3156 r3157  
    7070}
    7171
     72#warning localize OK button
    7273- (IBAction) showLicense: (id) sender
    7374{
    7475        [fLicenseView setString: [NSString stringWithContentsOfFile: [[NSBundle mainBundle] pathForResource: @"LICENSE" ofType: nil]]];
     76    [fLicenseCloseButton setTitle: NSLocalizedString(@"OK", "About window -> license close button")];
    7577       
    7678        [NSApp beginSheet: fLicenseSheet modalForWindow: [self window] modalDelegate: nil didEndSelector: nil contextInfo: nil];
Note: See TracChangeset for help on using the changeset viewer.