@@ -51,11 +51,11 @@ #import "OFAutoreleasePool+Private.h" #import "OFAutoreleasePool.h" #import "OFDate.h" #import "OFDictionary.h" #import "OFList.h" -#import "OFLocalization.h" +#import "OFLocale.h" #import "OFRunLoop.h" #import "OFString.h" #ifdef OF_WINDOWS # include @@ -104,11 +104,11 @@ thread->_pool = objc_autoreleasePoolPush(); name = [thread name]; if (name != nil) of_thread_set_name( - [name cStringWithEncoding: [OFLocalization encoding]]); + [name cStringWithEncoding: [OFLocale encoding]]); else of_thread_set_name(object_getClassName(thread)); /* * Nasty workaround for thread implementations which can't return a @@ -285,11 +285,11 @@ { [[OFThread currentThread] setName: name]; if (name != nil) of_thread_set_name( - [name cStringWithEncoding: [OFLocalization encoding]]); + [name cStringWithEncoding: [OFLocale encoding]]); else of_thread_set_name(class_getName([self class])); } + (OFString *)name