1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

another localization

This commit is contained in:
Mitchell Livingston 2007-01-15 18:50:59 +00:00
parent 2e6263efb5
commit f99964e0b1

View file

@ -696,14 +696,14 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
{ {
NSOpenPanel * panel = [NSOpenPanel openPanel]; NSOpenPanel * panel = [NSOpenPanel openPanel];
[panel setPrompt: @"Select"]; [panel setPrompt: NSLocalizedString(@"Select", "Folder cannot be found alert -> prompt")];
[panel setAllowsMultipleSelection: NO]; [panel setAllowsMultipleSelection: NO];
[panel setCanChooseFiles: NO]; [panel setCanChooseFiles: NO];
[panel setCanChooseDirectories: YES]; [panel setCanChooseDirectories: YES];
[panel setCanCreateDirectories: YES]; [panel setCanCreateDirectories: YES];
[panel setMessage: [NSString stringWithFormat: NSLocalizedString(@"Select the download folder for \"%@\"", [panel setMessage: [NSString stringWithFormat: NSLocalizedString(@"Select the download folder for \"%@\"",
"Open torrent -> select destination folder"), [self name]]]; "Folder cannot be found alert -> select destination folder"), [self name]]];
[[NSNotificationCenter defaultCenter] postNotificationName: @"MakeWindowKey" object: nil]; [[NSNotificationCenter defaultCenter] postNotificationName: @"MakeWindowKey" object: nil];
[panel beginSheetForDirectory: nil file: nil types: nil modalForWindow: [NSApp keyWindow] modalDelegate: self [panel beginSheetForDirectory: nil file: nil types: nil modalForWindow: [NSApp keyWindow] modalDelegate: self