1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

string fix

This commit is contained in:
Mitchell Livingston 2006-11-16 22:15:50 +00:00
parent dc9f6fd994
commit fb6bf1e71c

View file

@ -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];