Grab the "Authorization Requests" localized string from the right bundle. Refs #13275.
authorZachary West <zacw@adium.im>
Fri Oct 30 21:28:39 2009 -0400 (2009-10-30)
changeset 26935a28417276f5
parent 2692 e2f345a203d6
child 2694 9336a7c6086d
Grab the "Authorization Requests" localized string from the right bundle. Refs #13275.
Source/AIInterfaceController.m
     1.1 --- a/Source/AIInterfaceController.m	Fri Oct 30 21:21:39 2009 -0400
     1.2 +++ b/Source/AIInterfaceController.m	Fri Oct 30 21:28:39 2009 -0400
     1.3 @@ -211,10 +211,10 @@
     1.4  	[menuItem release];
     1.5  	
     1.6  	// Authorization requests menu item
     1.7 -	menuItem = [[NSMenuItem alloc] initWithTitle:AUTHORIZATION_REQUESTS
     1.8 -													   target:self
     1.9 -													   action:@selector(openAuthorizationWindow:)
    1.10 -												keyEquivalent:@""];
    1.11 +	menuItem = [[NSMenuItem alloc] initWithTitle:AILocalizedStringFromTableInBundle(@"Authorization Requests",nil, [NSBundle bundleForClass:[AIAuthorizationRequestsWindowController class]], nil)
    1.12 +										  target:self
    1.13 +										  action:@selector(openAuthorizationWindow:)
    1.14 +								   keyEquivalent:@""];
    1.15  	
    1.16  	[adium.menuController addMenuItem:menuItem toLocation:LOC_Window_Auxiliary];
    1.17  	[menuItem release];