Fix string constants

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28020 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2009-03-02 01:01:44 +00:00
parent c756ee4dd3
commit 5b5c07c061
5 changed files with 23 additions and 23 deletions

View file

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

View file

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

View file

@ -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);
}
}

View file

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

View file

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