From f683714c79ba209e31f9e44d4a34a7a351e1a57b Mon Sep 17 00:00:00 2001 From: Wolfgang Lux Date: Sat, 3 Nov 2012 14:24:07 +0000 Subject: [PATCH] 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 --- ChangeLog | 9 +++++++++ Frameworks/StepTalk/STConversation.m | 13 +++++++------ Frameworks/StepTalk/STEnvironmentDescription.m | 4 ++-- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7689b63..c39f538 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2012-11-03 Wolfgang Lux + + * 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 * Modules/GNUmakefile: diff --git a/Frameworks/StepTalk/STConversation.m b/Frameworks/StepTalk/STConversation.m index 717372b..a0a1420 100644 --- a/Frameworks/StepTalk/STConversation.m +++ b/Frameworks/StepTalk/STConversation.m @@ -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; diff --git a/Frameworks/StepTalk/STEnvironmentDescription.m b/Frameworks/StepTalk/STEnvironmentDescription.m index 0ec4754..508a885 100644 --- a/Frameworks/StepTalk/STEnvironmentDescription.m +++ b/Frameworks/StepTalk/STEnvironmentDescription.m @@ -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]; }