Author: rmottola Date: Thu Jun 30 01:36:40 2016 New Revision: 39950 URL: http://svn.gna.org/viewcvs/gnustep?rev=39950&view=rev Log: use FSNode class which is certain, else sub-class may not resolve Bundle correctly
Modified: apps/gworkspace/trunk/FSNode/FSNListView.m Modified: apps/gworkspace/trunk/FSNode/FSNListView.m URL: http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/FSNode/FSNListView.m?rev=39950&r1=39949&r2=39950&view=diff ============================================================================== --- apps/gworkspace/trunk/FSNode/FSNListView.m (original) +++ apps/gworkspace/trunk/FSNode/FSNListView.m Thu Jun 30 01:36:40 2016 @@ -172,28 +172,28 @@ switch(type) { case FSNInfoNameType: - [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Name", nil, [NSBundle bundleForClass:[self class]], @"")]; + [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Name", nil, [NSBundle bundleForClass:[FSNode class]], @"")]; break; case FSNInfoKindType: - [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Type", nil, [NSBundle bundleForClass:[self class]], @"")]; + [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Type", nil, [NSBundle bundleForClass:[FSNode class]], @"")]; break; case FSNInfoDateType: - [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Date Modified", nil, [NSBundle bundleForClass:[self class]], @"")]; + [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Date Modified", nil, [NSBundle bundleForClass:[FSNode class]], @"")]; break; case FSNInfoSizeType: - [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Size", nil, [NSBundle bundleForClass:[self class]], @"")]; + [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Size", nil, [NSBundle bundleForClass:[FSNode class]], @"")]; break; case FSNInfoOwnerType: - [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Owner", nil, [NSBundle bundleForClass:[self class]], @"")]; + [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Owner", nil, [NSBundle bundleForClass:[FSNode class]], @"")]; break; case FSNInfoParentType: - [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Parent", nil, [NSBundle bundleForClass:[self class]], @"")]; + [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Parent", nil, [NSBundle bundleForClass:[FSNode class]], @"")]; break; case FSNInfoExtendedType: [[column headerCell] setStringValue: extInfoType]; /* should come Localized from the ExtInfo bundle */ break; default: - [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Name", nil, [NSBundle bundleForClass:[self class]], @"")]; + [[column headerCell] setStringValue: NSLocalizedStringFromTableInBundle(@"Name", nil, [NSBundle bundleForClass:[FSNode class]], @"")]; break; } _______________________________________________ Gnustep-cvs mailing list Gnustep-cvs@gna.org https://mail.gna.org/listinfo/gnustep-cvs