mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
another localization
This commit is contained in:
parent
2e6263efb5
commit
f99964e0b1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue