diff --git a/Framework/PCEditorManager.m b/Framework/PCEditorManager.m index 03cf946..57e98c7 100644 --- a/Framework/PCEditorManager.m +++ b/Framework/PCEditorManager.m @@ -173,7 +173,7 @@ NSString *PCEditorDidResignActiveNotification = { NSRunAlertPanel(@"Open Editor", @"Couldn't open editor for file '%@'.\n" - "File doesn't exist.", + @"File doesn't exist.", @"Close", nil, nil, filePath); return nil; } @@ -183,7 +183,7 @@ NSString *PCEditorDidResignActiveNotification = { NSRunAlertPanel(@"Open Editor", @"Couldn't open editor for file '%@'.\n" - "File is not plain text.", + @"File is not plain text.", @"Close", nil, nil, filePath); return nil; } @@ -365,7 +365,7 @@ NSString *PCEditorDidResignActiveNotification = { ret = NSRunAlertPanel(@"Save Files", @"Couldn't save file '%@'.\n" - "Operation stopped.", + @"Operation stopped.", @"Ok",nil,nil); return NO; } diff --git a/Framework/PCFileCreator.m b/Framework/PCFileCreator.m index dfd41bd..b5de330 100644 --- a/Framework/PCFileCreator.m +++ b/Framework/PCFileCreator.m @@ -57,8 +57,8 @@ static NSDictionary *dict = nil; // Objective C Class descr = [NSString stringWithString: @"Generic Objective-C class.\n\n" - "This is a plain subclass of NSObject which includes" - " only Foundation.h."]; + @"This is a plain subclass of NSObject which includes" + @" only Foundation.h."]; template = [bundle pathForResource:@"class" ofType:@"template"]; classDict = [NSDictionary dictionaryWithObjectsAndKeys: PCClasses, @"ProjectKey", @@ -69,8 +69,8 @@ static NSDictionary *dict = nil; // Objective C Header descr = [NSString stringWithString: @"Generic Objective-C header.\n\n" - "This is a plain interface subclassing NSObject." - " The file includes Foundation.h"]; + @"This is a plain interface subclassing NSObject." + @" The file includes Foundation.h"]; template = [bundle pathForResource:@"header" ofType:@"template"]; headerDict =[NSDictionary dictionaryWithObjectsAndKeys: PCHeaders,@"ProjectKey", @@ -81,7 +81,7 @@ static NSDictionary *dict = nil; // C File descr = [NSString stringWithString: @"Generic ANSI-C implementation file.\n\n" - "This file contains no Objective-C dependency in any form."]; + @"This file contains no Objective-C dependency in any form."]; template = [bundle pathForResource:@"cfile" ofType:@"template"]; ccDict = [NSDictionary dictionaryWithObjectsAndKeys: PCOtherSources,@"ProjectKey", @@ -92,7 +92,7 @@ static NSDictionary *dict = nil; // C Header descr = [NSString stringWithString: @"Generic ANSI-C header.\n\n" - "This file contains no Objective-C dependency in any form."]; + @"This file contains no Objective-C dependency in any form."]; template = [bundle pathForResource:@"cheader" ofType:@"template"]; chDict = [NSDictionary dictionaryWithObjectsAndKeys: PCHeaders,@"ProjectKey", @@ -103,8 +103,8 @@ static NSDictionary *dict = nil; // Objective C Protocol descr = [NSString stringWithString: @"Generic Objective-C protocol.\n\n" - "This is common Objective-C protocol, comparable" - " i.e. to a Java interface."]; + @"This is common Objective-C protocol, comparable" + @" i.e. to a Java interface."]; template = [bundle pathForResource:@"protocol" ofType:@"template"]; protocolDict = [NSDictionary dictionaryWithObjectsAndKeys: PCHeaders,@"ProjectKey", @@ -115,7 +115,7 @@ static NSDictionary *dict = nil; // GSMarkup descr = [NSString stringWithString: @"Generic GSMarkup File.\n\n" - "This is the interface description of GNUstep Renaissance."]; + @"This is the interface description of GNUstep Renaissance."]; template = [bundle pathForResource:@"gsmarkup" ofType:@"template"]; gsmarkupDict =[NSDictionary dictionaryWithObjectsAndKeys: PCGSMarkupFiles,@"ProjectKey", @@ -480,7 +480,7 @@ static NSDictionary *dict = nil; ret = NSRunAlertPanel (@"New File in Project", @"Project directory %@ already has file %@.\n" - "Do you want to overwrite it?", + @"Do you want to overwrite it?", @"Stop", @"Overwrite", nil, [filePath stringByDeletingLastPathComponent], fileName); diff --git a/Framework/PCProject.m b/Framework/PCProject.m index 37187fe..8eb3ecd 100644 --- a/Framework/PCProject.m +++ b/Framework/PCProject.m @@ -206,8 +206,8 @@ NSString NSRunAlertPanel(@"Open Project!", @"The project file was converted from previous version!\n" - "Please make sure that every project attribute contain" - " valid values!", + @"Please make sure that every project attribute contain" + @" valid values!", @"OK",nil,nil); } } diff --git a/Framework/PCProjectBuilder.m b/Framework/PCProjectBuilder.m index a0c6efb..504228d 100644 --- a/Framework/PCProjectBuilder.m +++ b/Framework/PCProjectBuilder.m @@ -478,7 +478,7 @@ { ret = NSRunAlertPanel(@"Project Build", @"Project was changed and not saved.\n" - "Do you want to save project before building it?", + @"Do you want to save project before building it?", @"Stop Build", @"Save and Build", nil); switch (ret) { @@ -515,7 +515,7 @@ { NSRunAlertPanel(@"Project Build", @"Build tool '%@' not found. Check preferences.\n" - "Build will be terminated.", + @"Build will be terminated.", @"Close", nil, nil, buildTool); return NO; } diff --git a/Framework/PCProjectManager.m b/Framework/PCProjectManager.m index 15ccddc..ebd8d4e 100644 --- a/Framework/PCProjectManager.m +++ b/Framework/PCProjectManager.m @@ -568,7 +568,7 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; { NSRunAlertPanel(@"Open Project", @"Project type '%@' is not supported!\n" - "Report the bug, please!", + @"Report the bug, please!", @"OK", nil, nil, projectTypeName); return nil; } @@ -689,7 +689,7 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; { NSRunAlertPanel(@"New Project", @"Could not create project directory %@.\n" - "No project creator. Report the bug, please!", + @"No project creator. Report the bug, please!", @"OK", nil, nil, aPath); return nil; } @@ -699,8 +699,8 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; { NSRunAlertPanel(@"New Project", @"Could not create project directory %@.\n" - "Check permissions of the directory where you" - " want to create a project", + @"Check permissions of the directory where you" + @" want to create a project", @"OK", nil, nil, aPath); return nil; } @@ -1151,7 +1151,7 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; { NSRunAlertPanel(@"New Subproject", @"Internal error!" - " Install ProjectCenter again, please.", + @" Install ProjectCenter again, please.", @"OK", nil, nil); return NO; } @@ -1238,7 +1238,7 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; { NSRunAlertPanel(@"New Subproject", @"Internal error!" - " Install ProjectCenter again, please.", + @" Install ProjectCenter again, please.", @"OK", nil, nil); return nil; }