aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/DMLocalizedNibBundle.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/DMLocalizedNibBundle.m b/Source/DMLocalizedNibBundle.m
index 1d5949ee..8b5b389a 100644
--- a/Source/DMLocalizedNibBundle.m
+++ b/Source/DMLocalizedNibBundle.m
@@ -169,6 +169,9 @@ static NSMutableArray *deliciousBindingKeys = nil;
NSString *localizedSegmentLabel = [self _localizedStringForString:[segmentedControl labelForSegment:segmentIndex] table:table];
if (localizedSegmentLabel)
[segmentedControl setLabel:localizedSegmentLabel forSegment:segmentIndex];
+ NSString *localizedSegmentTooltip = [self _localizedStringForString:[[segmentedControl cell] toolTipForSegment:segmentIndex] table:table];
+ if (localizedSegmentTooltip)
+ [[segmentedControl cell] setToolTip:localizedSegmentTooltip forSegment:segmentIndex];
[self _localizeStringsInObject:[segmentedControl menuForSegment:segmentIndex] table:table];
}
@@ -190,6 +193,7 @@ static NSMutableArray *deliciousBindingKeys = nil;
}
[view bind:@"value" toObject:[vb objectForKey:NSObservedObjectKey] withKeyPath:[vb objectForKey:NSObservedKeyPathKey] options:lvb];
}
+ [self _localizeStringsInObject:[control cell] table:table];
} else
[self _localizeStringsInObject:[control cell] table:table];