Changeset 2106
- Timestamp:
- Jun 16, 2007, 10:36:38 PM (15 years ago)
- Location:
- branches/file_selection/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/file_selection/macosx/CreatorWindowController.m
r2102 r2106 139 139 140 140 [alert beginSheetModalForWindow: [self window] modalDelegate: self didEndSelector: nil contextInfo: nil]; 141 142 141 return; 143 142 } … … 150 149 { 151 150 NSAlert * alert = [[[NSAlert alloc] init] autorelease]; 152 [alert addButtonWithTitle: NSLocalizedString(@"OK", "Create torrent -> .torrentwarning -> button")];151 [alert addButtonWithTitle: NSLocalizedString(@"OK", "Create torrent -> torrent extension warning -> button")]; 153 152 [alert setMessageText: NSLocalizedString(@"Torrents must end in \".torrent\".", 154 "Create torrent -> .torrentwarning -> title")];153 "Create torrent -> torrent extension warning -> title")]; 155 154 [alert setInformativeText: NSLocalizedString(@"Add this file extension to create the torrent.", 156 "Create torrent -> .torrentwarning -> warning")];155 "Create torrent -> torrent extension warning -> warning")]; 157 156 [alert setAlertStyle: NSWarningAlertStyle]; 158 157 159 158 [alert beginSheetModalForWindow: [self window] modalDelegate: self didEndSelector: nil contextInfo: nil]; 160 161 159 return; 162 160 } 163 161 164 tr_makeMetaInfo(fInfo, [[fLocation stringByAppendingPathComponent: torrentName] UTF8String], [trackerString UTF8String], 165 [[fCommentView string] UTF8String], [fPrivateCheck state] == NSOnState); 162 #warning fix 163 tr_makeMetaInfo(fInfo, NULL, self, [[fLocation stringByAppendingPathComponent: torrentName] UTF8String], 164 [trackerString UTF8String], [[fCommentView string] UTF8String], [fPrivateCheck state] == NSOnState); 166 165 167 166 #warning add to T
Note: See TracChangeset
for help on using the changeset viewer.