mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-23 11:31:01 +00:00
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:
parent
c1a084a1c8
commit
f683714c79
3 changed files with 18 additions and 8 deletions
|
@ -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>
|
2012-10-26 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
* Modules/GNUmakefile:
|
* Modules/GNUmakefile:
|
||||||
|
|
|
@ -51,7 +51,8 @@
|
||||||
|
|
||||||
- (id)runScriptFromString:(NSString *)aString
|
- (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];
|
[self interpretScript:aString];
|
||||||
return [self result];
|
return [self result];
|
||||||
}
|
}
|
||||||
|
@ -71,8 +72,8 @@
|
||||||
{
|
{
|
||||||
STConversation *c;
|
STConversation *c;
|
||||||
|
|
||||||
NSLog(@"WARNING: +[STConversaion conversationWithEnvironment:language:] is deprecated, "
|
NSLog(@"WARNING: +[STConversation conversationWithEnvironment:language:]"
|
||||||
@" use conversationWithContext:language: instead.");
|
@" is deprecated, use conversationWithContext:language: instead.");
|
||||||
|
|
||||||
c = [[self alloc] initWithContext:env language:langName];
|
c = [[self alloc] initWithContext:env language:langName];
|
||||||
return AUTORELEASE(c);
|
return AUTORELEASE(c);
|
||||||
|
@ -81,8 +82,8 @@
|
||||||
- initWithEnvironment:(STEnvironment *)env
|
- initWithEnvironment:(STEnvironment *)env
|
||||||
language:(NSString *)langName
|
language:(NSString *)langName
|
||||||
{
|
{
|
||||||
NSLog(@"WARNING: -[STConversaion initWithEnvironment:language:] is deprecated, "
|
NSLog(@"WARNING: -[STConversation initWithEnvironment:language:]"
|
||||||
@" use initWithContext:language: instead.");
|
@" is deprecated, use initWithContext:language: instead.");
|
||||||
|
|
||||||
return [self initWithContext:env language:langName];
|
return [self initWithContext:env language:langName];
|
||||||
}
|
}
|
||||||
|
@ -140,7 +141,7 @@
|
||||||
}
|
}
|
||||||
- (STEnvironment *)environment
|
- (STEnvironment *)environment
|
||||||
{
|
{
|
||||||
NSLog(@"WARNING: -[STConversaion environment] is deprecated, "
|
NSLog(@"WARNING: -[STConversation environment] is deprecated,"
|
||||||
@" use -context instead.");
|
@" use -context instead.");
|
||||||
|
|
||||||
return (STEnvironment *)context;
|
return (STEnvironment *)context;
|
||||||
|
|
|
@ -95,8 +95,8 @@ static NSDictionary *dictForDescriptionWithName(NSString *defName)
|
||||||
@implementation STEnvironmentDescription
|
@implementation STEnvironmentDescription
|
||||||
+ (NSString *)defaultEnvironmentDescriptionName
|
+ (NSString *)defaultEnvironmentDescriptionName
|
||||||
{
|
{
|
||||||
NSLog(@"WARNING: +[STEnvironmentDescription defaultEnvironmentDescriptionName:] is deprecated, "
|
NSLog(@"WARNING: +[STEnvironmentDescription defaultEnvironmentDescriptionName:]"
|
||||||
@" use defaultDescriptionName: instead.");
|
@" is deprecated, use defaultDescriptionName: instead.");
|
||||||
|
|
||||||
return [self defaultDescriptionName];
|
return [self defaultDescriptionName];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue