From c6456aead9ea02eae5907966bb89364fe2f32060 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 26 Mar 2008 18:40:41 +0000 Subject: [PATCH] add missing title localizations --- macosx/GroupsWindowController.m | 3 ++- macosx/StatsWindowController.m | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/macosx/GroupsWindowController.m b/macosx/GroupsWindowController.m index a2f74fa4b..e66036100 100644 --- a/macosx/GroupsWindowController.m +++ b/macosx/GroupsWindowController.m @@ -52,7 +52,8 @@ GroupsWindowController * fGroupsWindowInstance = nil; - (void) awakeFromNib { - [[[fTableView tableColumnWithIdentifier: @"Button"] dataCell] setTitle: NSLocalizedString(@"Color", "Groups -> Color Button")]; + [[self window] setTitle: NSLocalizedString(@"Groups", "Groups -> window title")]; + [[[fTableView tableColumnWithIdentifier: @"Button"] dataCell] setTitle: NSLocalizedString(@"Color", "Groups -> color button")]; [fTableView registerForDraggedTypes: [NSArray arrayWithObject: GROUP_TABLE_VIEW_DATA_TYPE]]; diff --git a/macosx/StatsWindowController.m b/macosx/StatsWindowController.m index 34b832882..e7f61fcb6 100644 --- a/macosx/StatsWindowController.m +++ b/macosx/StatsWindowController.m @@ -58,6 +58,8 @@ tr_handle * fLib; [[NSRunLoop currentRunLoop] addTimer: fTimer forMode: NSModalPanelRunLoopMode]; [[NSRunLoop currentRunLoop] addTimer: fTimer forMode: NSEventTrackingRunLoopMode]; + [[self window] setTitle: NSLocalizedString(@"Statistics", "Stats window -> title")]; + //set label text [fUploadedLabelField setStringValue: [NSLocalizedString(@"Uploaded", "Stats window -> label") stringByAppendingString: @":"]]; [fDownloadedLabelField setStringValue: [NSLocalizedString(@"Downloaded", "Stats window -> label") stringByAppendingString: @":"]];