From fb6bf1e71c26907e593935f1c5123a06b8eb7307 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Thu, 16 Nov 2006 22:15:50 +0000 Subject: [PATCH] string fix --- macosx/Torrent.m | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 34279bad0..1c988e935 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -660,15 +660,12 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80 if (![[NSFileManager defaultManager] fileExistsAtPath: volume]) { - NSString * volumeName = [pathComponents objectAtIndex: 2]; - NSAlert * alert = [[NSAlert alloc] init]; [alert setMessageText: [NSString stringWithFormat: NSLocalizedString(@"The volume for moving the completed \"%@\" cannot be found.", "Move volume cannot be found alert -> title"), [self name]]]; - [alert setInformativeText: [NSString stringWithFormat: - NSLocalizedString(@"The file will remain in its current location", - "Move volume cannot be found alert -> message"), volumeName]]; + [alert setInformativeText: @"The file will remain in its current location", + "Move volume cannot be found alert -> message")]; [alert addButtonWithTitle: NSLocalizedString(@"OK", "Move volume cannot be found alert -> button")]; [alert runModal];