Changeset 3860


Ignore:
Timestamp:
Nov 17, 2007, 6:54:07 PM (15 years ago)
Author:
livings124
Message:

when creating a torrent, changing the torrent file location will give an explanation in the save panel; localized the Select button in the save panel; set the location as the torrent file's currently set location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/CreatorWindowController.m

    r3112 r3860  
    175175    NSSavePanel * panel = [NSSavePanel savePanel];
    176176
    177     [panel setPrompt: @"Select"];
     177    [panel setPrompt: NSLocalizedString(@"Select", "Create torrent -> location sheet -> button")];
     178    [panel setMessage: NSLocalizedString(@"Select the name and location for the torrent file.",
     179                                        "Create torrent -> location sheet -> message")];
     180   
    178181    [panel setRequiredFileType: @"torrent"];
    179182    [panel setCanSelectHiddenExtension: YES];
    180 
    181     [panel beginSheetForDirectory: nil file: [fLocation lastPathComponent] modalForWindow: [self window] modalDelegate: self
    182             didEndSelector: @selector(locationSheetClosed:returnCode:contextInfo:) contextInfo: nil];
     183   
     184    [panel beginSheetForDirectory: [fLocation stringByDeletingLastPathComponent] file: [fLocation lastPathComponent]
     185            modalForWindow: [self window] modalDelegate: self didEndSelector: @selector(locationSheetClosed:returnCode:contextInfo:)
     186            contextInfo: nil];
    183187}
    184188
Note: See TracChangeset for help on using the changeset viewer.