Changeset 3652
- Timestamp:
- 05/21/07 23:43:44 (1 year ago)
- Files:
-
- trunk/Panels/JVDirectChatPanel.m (modified) (1 diff)
- trunk/Resources/notifications.plist (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Panels/JVDirectChatPanel.m
r3650 r3652 847 847 _newHighlightMessageCount++; 848 848 NSMutableDictionary *context = [NSMutableDictionary dictionary]; 849 [context setObject:NSLocalizedString( @"You Were Mentioned", "mentioned bubble title" ) forKey:@"title"]; 850 if( [self isMemberOfClass:[JVChatRoomPanel class]] ) [context setObject:[NSString stringWithFormat:NSLocalizedString( @"One of your highlight words was mentioned in %@.", "chat room mentioned bubble text" ), [self title]] forKey:@"description"]; 851 else [context setObject:[NSString stringWithFormat:NSLocalizedString( @"One of your highlight words was mentioned by %@.", "private chat mentioned bubble text" ), [self title]] forKey:@"description"]; 849 [context setObject:[NSString stringWithFormat:NSLocalizedString( @"One of your highlight words mentioned by %@", "mention bubble title" ), [user displayName]] forKey:@"title"]; 850 [context setObject:messageString forKey:@"description"]; 852 851 [context setObject:[NSImage imageNamed:@"activityNewImportant"] forKey:@"image"]; 853 [context setObject:[[self windowTitle] stringByAppendingString:@"JVChatMentioned"] forKey:@"coalesceKey"];854 [context setObject:self forKey:@"target"];855 [context setObject:NSStringFromSelector( @selector( activate: ) ) forKey:@"action"];856 852 [self performNotification:@"JVChatMentioned" withContextInfo:context]; 857 } 858 853 } 854 859 855 if( [cmessage ignoreStatus] != JVNotIgnored ) { 860 856 NSMutableDictionary *context = [NSMutableDictionary dictionary]; trunk/Resources/notifications.plist
r3612 r3652 173 173 <string>JVChatMentioned</string> 174 174 <key>title</key> 175 <string> Someone Mentioned You</string>175 <string>Highlight Word Was Mentioned</string> 176 176 </dict> 177 177 <dict>
