@@ -510,12 +510,12 @@ pool = objc_autoreleasePoolPush(); mapPath = [path stringByAppendingPathComponent: @"languages.json"]; @try { - map = [OFString stringWithContentsOfFile: mapPath] - .objectByParsingJSON; + map = [[OFString stringWithContentsOfFile: mapPath] + objectByParsingJSON]; } @catch (OFOpenItemFailedException *e) { objc_autoreleasePoolPop(pool); return; } @@ -535,13 +535,12 @@ } languageFile = [path stringByAppendingPathComponent: [languageFile stringByAppendingString: @".json"]]; - [_localizedStrings addObject: - [OFString stringWithContentsOfFile: languageFile] - .objectByParsingJSON]; + [_localizedStrings addObject: [[OFString stringWithContentsOfFile: + languageFile] objectByParsingJSON]]; objc_autoreleasePoolPop(pool); } #endif