(trunk) #1736 Text for unknown error in torrent creator
This commit is contained in:
parent
0644b7b8d5
commit
83dcd3b358
|
@ -456,10 +456,12 @@
|
|||
else if (fInfo->result == TR_MAKEMETA_IO_WRITE)
|
||||
[alert setInformativeText: [NSString stringWithFormat: NSLocalizedString(@"Could not write \"%s\": %s.",
|
||||
"Create torrent -> failed -> warning"), fInfo->errfile, strerror(fInfo->my_errno)]];
|
||||
else; //invalid url should have been caught before creating
|
||||
else //invalid url should have been caught before creating
|
||||
[alert setInformativeText: [NSString stringWithFormat: @"%@ (%d)",
|
||||
NSLocalizedString(@"An unknown error has occurred.", "Create torrent -> failed -> warning"), fInfo->result]];
|
||||
|
||||
[alert beginSheetModalForWindow: [self window] modalDelegate: self
|
||||
didEndSelector: @selector(failureSheetClosed:returnCode:contextInfo:) contextInfo: nil];
|
||||
didEndSelector: @selector(failureSheetClosed:returnCode:contextInfo:) contextInfo: nil];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -38,7 +38,7 @@ cat > libtransmission/version.h.new << EOF
|
|||
#define BUNDLE_VERSION_INFOPLIST $SVN_REVISION
|
||||
EOF
|
||||
|
||||
# add a release definition
|
||||
# Add a release definition
|
||||
if [ ${PEERID_PREFIX:6:1} = X ]; then
|
||||
line='#define TR_BETA_RELEASE "BETA"'
|
||||
elif [ ${PEERID_PREFIX:6:1} = Z ]; then
|
||||
|
|
Loading…
Reference in New Issue