From: <ho...@us...> - 2008-08-28 23:38:56
|
Revision: 4473 http://skim-app.svn.sourceforge.net/skim-app/?rev=4473&view=rev Author: hofman Date: 2008-08-28 23:38:54 +0000 (Thu, 28 Aug 2008) Log Message: ----------- Remove localizations of bookmarks window. Set window title and header titles in code. Modified Paths: -------------- trunk/SKBookmarkController.m Added Paths: ----------- trunk/BookmarksWindow.nib/ Removed Paths: ------------- trunk/Dutch.lproj/BookmarksWindow.nib/ trunk/English.lproj/BookmarksWindow.nib/ trunk/French.lproj/BookmarksWindow.nib/ trunk/German.lproj/BookmarksWindow.nib/ trunk/Spanish.lproj/BookmarksWindow.nib/ trunk/cs.lproj/BookmarksWindow.nib/ trunk/ru.lproj/BookmarksWindow.nib/ Modified: trunk/SKBookmarkController.m =================================================================== --- trunk/SKBookmarkController.m 2008-08-28 23:35:23 UTC (rev 4472) +++ trunk/SKBookmarkController.m 2008-08-28 23:38:54 UTC (rev 4473) @@ -62,6 +62,10 @@ static NSString *SKBookmarksWindowFrameAutosaveName = @"SKBookmarksWindow"; +static NSString *SKBookmarksWindowLabelColumnIdentifer = @"label"; +static NSString *SKBookmarksWindowFileColumnIdentifer = @"file"; +static NSString *SKBookmarksWindowPageColumnIdentifer = @"page"; + static NSString *SKMaximumDocumentPageHistoryCountKey = @"SKMaximumDocumentPageHistoryCount"; static NSString *SKBookmarkControllerBookmarksKey = @"bookmarks"; @@ -179,6 +183,12 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:SKShowBookmarkStatusBarKey] == NO) [self toggleStatusBar:nil]; + [[self window] setTitle:NSLocalizedString(@"Bookmarks", @"window title")]; + + [[[outlineView tableColumnWithIdentifier:SKBookmarksWindowLabelColumnIdentifer] headerCell] setTitle:NSLocalizedString(@"Label", @"Table header title")]; + [[[outlineView tableColumnWithIdentifier:SKBookmarksWindowFileColumnIdentifer] headerCell] setTitle:NSLocalizedString(@"File", @"Table header title")]; + [[[outlineView tableColumnWithIdentifier:SKBookmarksWindowPageColumnIdentifer] headerCell] setTitle:NSLocalizedString(@"Page", @"Table header title")]; + SKTypeSelectHelper *typeSelectHelper = [[[SKTypeSelectHelper alloc] init] autorelease]; [typeSelectHelper setDataSource:self]; [outlineView setTypeSelectHelper:typeSelectHelper]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |