if (MainProduct == Nil) {
if ((MainProduct = NSClassFromString(@"MainUIProduct")) == Nil)
- [self logWithFormat:@"ERROR: did not find MainUIProduct class!"];
+ [self errorWithFormat:@"did not find MainUIProduct class!"];
}
lpath = [(id)MainProduct pathToLocaleForLanguageNamed:_name];
NSDictionary *locale;
if (![_name isNotNull]) {
- [self logWithFormat:@"ERROR(%s): name parameter must not be nil!",
+ [self errorWithFormat:@"%s: name parameter must not be nil!",
__PRETTY_FUNCTION__];
return nil;
}
return locale;
if ((lpath = [self pathToLocaleForLanguageNamed:_name]) == nil) {
- [self logWithFormat:@"ERROR: did not find Locale for language: %@", _name];
+ [self errorWithFormat:@"did not find Locale for language: %@", _name];
return nil;
}