Fix typos in a few StepTalk warning messages.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/steptalk/trunk@35780 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2012-11-03 14:24:07 +00:00
parent c1a084a1c8
commit f683714c79
3 changed files with 18 additions and 8 deletions

View file

@ -1,3 +1,12 @@
2012-11-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* Frameworks/StepTalk/STConversation.m (-runScriptFromString:,
-conversationWithEnvironment:language:, -initWithEnvironment:language:,
-environment):
* Frameworks/StepTalk/STEnvironmentDescription.m
(defaultEnvironmentDescriptionName):
Fix typos and spacing in warning messages.
2012-10-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Modules/GNUmakefile:

View file

@ -51,7 +51,8 @@
- (id)runScriptFromString:(NSString *)aString
{
NSLog(@"Warning: runScriptFromString: in STConversation is deprecated, use -interpretScript: and -returnVale");
NSLog(@"Warning: runScriptFromString: in STConversation is deprecated,"
@" use -interpretScript: and -returnValue.");
[self interpretScript:aString];
return [self result];
}
@ -71,8 +72,8 @@
{
STConversation *c;
NSLog(@"WARNING: +[STConversaion conversationWithEnvironment:language:] is deprecated, "
@" use conversationWithContext:language: instead.");
NSLog(@"WARNING: +[STConversation conversationWithEnvironment:language:]"
@" is deprecated, use conversationWithContext:language: instead.");
c = [[self alloc] initWithContext:env language:langName];
return AUTORELEASE(c);
@ -81,8 +82,8 @@
- initWithEnvironment:(STEnvironment *)env
language:(NSString *)langName
{
NSLog(@"WARNING: -[STConversaion initWithEnvironment:language:] is deprecated, "
@" use initWithContext:language: instead.");
NSLog(@"WARNING: -[STConversation initWithEnvironment:language:]"
@" is deprecated, use initWithContext:language: instead.");
return [self initWithContext:env language:langName];
}
@ -140,7 +141,7 @@
}
- (STEnvironment *)environment
{
NSLog(@"WARNING: -[STConversaion environment] is deprecated, "
NSLog(@"WARNING: -[STConversation environment] is deprecated,"
@" use -context instead.");
return (STEnvironment *)context;

View file

@ -95,8 +95,8 @@ static NSDictionary *dictForDescriptionWithName(NSString *defName)
@implementation STEnvironmentDescription
+ (NSString *)defaultEnvironmentDescriptionName
{
NSLog(@"WARNING: +[STEnvironmentDescription defaultEnvironmentDescriptionName:] is deprecated, "
@" use defaultDescriptionName: instead.");
NSLog(@"WARNING: +[STEnvironmentDescription defaultEnvironmentDescriptionName:]"
@" is deprecated, use defaultDescriptionName: instead.");
return [self defaultDescriptionName];
}