From 2e6263efb5c0bbc9322a018f067fb3583e00fc38 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 15 Jan 2007 18:48:44 +0000 Subject: [PATCH] more concise phrasing and localization --- macosx/Controller.m | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 0a2dee129..7d9410a79 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -580,14 +580,14 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy { NSOpenPanel * panel = [NSOpenPanel openPanel]; - [panel setPrompt: @"Select"]; + [panel setPrompt: NSLocalizedString(@"Select", "Default incomplete folder cannot be found alert -> prompt")]; [panel setAllowsMultipleSelection: NO]; [panel setCanChooseFiles: NO]; [panel setCanChooseDirectories: YES]; [panel setCanCreateDirectories: YES]; - [panel setMessage: NSLocalizedString(@"The incomplete download folder cannot be found." - " Choose a new incomplete folder or cancel to not use an incomplete folder.", + [panel setMessage: NSLocalizedString(@"The incomplete folder cannot be found." + " Choose a new location or cancel for none.", "Default incomplete folder cannot be found alert -> message")]; NSDictionary * dict = [[NSDictionary alloc] initWithObjectsAndKeys: @@ -604,15 +604,14 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy { NSOpenPanel * panel = [NSOpenPanel openPanel]; - [panel setPrompt: @"Select"]; + [panel setPrompt: NSLocalizedString(@"Select", "Default folder cannot be found alert -> prompt")]; [panel setAllowsMultipleSelection: NO]; [panel setCanChooseFiles: NO]; [panel setCanChooseDirectories: YES]; [panel setCanCreateDirectories: YES]; - [panel setMessage: NSLocalizedString(@"The download folder cannot be found." - " Choose a new download folder to start the transfer.", - "Default incomplete folder cannot be found alert -> message")]; + [panel setMessage: NSLocalizedString(@"The download folder cannot be found. Choose a new location.", + "Default folder cannot be found alert -> message")]; NSDictionary * dict = [[NSDictionary alloc] initWithObjectsAndKeys: filenames, @"Filenames",