Changeset 7779


Ignore:
Timestamp:
Jan 23, 2009, 2:39:34 AM (12 years ago)
Author:
livings124
Message:

(trunk) #1736 Text for unknown error in torrent creator

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/CreatorWindowController.m

    r7674 r7779  
    457457                    [alert setInformativeText: [NSString stringWithFormat: NSLocalizedString(@"Could not write \"%s\": %s.",
    458458                        "Create torrent -> failed -> warning"), fInfo->errfile, strerror(fInfo->my_errno)]];
    459                 else; //invalid url should have been caught before creating
     459                else //invalid url should have been caught before creating
     460                    [alert setInformativeText: [NSString stringWithFormat: @"%@ (%d)",
     461                        NSLocalizedString(@"An unknown error has occurred.", "Create torrent -> failed -> warning"), fInfo->result]];
    460462               
    461463                [alert beginSheetModalForWindow: [self window] modalDelegate: self
    462                         didEndSelector: @selector(failureSheetClosed:returnCode:contextInfo:) contextInfo: nil];
     464                    didEndSelector: @selector(failureSheetClosed:returnCode:contextInfo:) contextInfo: nil];
    463465        }
    464466    }
  • trunk/macosx/version.sh

    r7726 r7779  
    3939EOF
    4040
    41 # add a release definition
     41# Add a release definition
    4242if [ ${PEERID_PREFIX:6:1} = X ]; then
    4343    line='#define TR_BETA_RELEASE     "BETA"'
Note: See TracChangeset for help on using the changeset viewer.