Changeset 103 for trunk/Cocoa/Pester/Source/PSAlerts.m
- Timestamp:
- 02/26/03 07:12:36 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/PSAlerts.m
r61 r103 94 94 unsigned int length; 95 95 while ( (alert = [e nextObject]) != nil) { 96 [string appendAttributedString: [ @"¥ "small]];96 [string appendAttributedString: [NSLocalizedString(@"* ", "Unordered list label (usually a bullet followed by a space)") small]]; 97 97 [string appendAttributedString: [alert actionDescription]]; 98 98 [string appendAttributedString: [@"\n" small]]; … … 104 104 NSMutableParagraphStyle *paraStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy]; 105 105 [string deleteCharactersInRange: NSMakeRange(length - 1, 1)]; // remove trailing newline 106 [paraStyle setHeadIndent: [[string attribute: NSFontAttributeName atIndex: 0 effectiveRange: NULL] widthOfString: @"¥ "]];106 [paraStyle setHeadIndent: [[string attribute: NSFontAttributeName atIndex: 0 effectiveRange: NULL] widthOfString: NSLocalizedString(@"* ", "Unordered list label (usually a bullet followed by a space)")]]; 107 107 [string addAttribute: NSParagraphStyleAttributeName value: paraStyle range: NSMakeRange(0, length - 1)]; 108 108 [paraStyle release]; paraStyle = nil;
Note:
See TracChangeset
for help on using the changeset viewer.