@@ -38,11 +38,11 @@ { OFString *_language; OFString *_territory; of_string_encoding_t _encoding; OFString *_decimalPoint; - OFMutableArray OF_GENERIC(OFDictionary OF_GENERIC(OFString*, id)*) + OFMutableArray OF_GENERIC(OFDictionary OF_GENERIC(OFString *, id) *) *_localizedStrings; } /** * The language of the locale for messages. @@ -89,20 +89,20 @@ * * If the language is unknown, `nil` is returned. * * @return The language of the locale. */ -+ (nullable OFString*)language; ++ (nullable OFString *)language; /*! * @brief Returns the territory of the locale. * * If the territory is unknown, `nil` is returned. * * @return The territory of the locale. */ -+ (nullable OFString*)territory; ++ (nullable OFString *)territory; /*! * @brief Returns the native 8-bit string encoding for the locale. * * This is useful to encode strings correctly for passing them to operating @@ -117,19 +117,19 @@ /*! * @brief Returns the decimal point of the system's locale. * * @return The decimal point of the system's locale */ -+ (OFString*)decimalPoint; ++ (OFString *)decimalPoint; #ifdef OF_HAVE_FILES /*! * @brief Adds a directory to scan for language files. * * @param path The path to the directory to scan for language files */ -+ (void)addLanguageDirectory: (OFString*)path; ++ (void)addLanguageDirectory: (OFString *)path; #endif /*! * @brief Initializes the OFLocalization singleton with the specified locale. * @@ -146,11 +146,11 @@ /*! * @brief Adds a directory to scan for language files. * * @param path The path to the directory to scan for language files */ -- (void)addLanguageDirectory: (OFString*)path; +- (void)addLanguageDirectory: (OFString *)path; #endif /*! * @brief Returns the localized string for the specified ID, using the fallback * string if it cannot be looked up or is missing. @@ -167,12 +167,13 @@ * @param ID The ID for the localized string * @param fallback The fallback to use in case the localized string cannot be * looked up or is missing * @return The localized string */ -- (OFString*)localizedStringForID: (OFConstantString*)ID - fallback: (OFConstantString*)fallback, ... OF_SENTINEL; +- (OFString *)localizedStringForID: (OFConstantString *)ID + fallback: (OFConstantString *)fallback, ... + OF_SENTINEL; /** * @brief Returns the localized string for the specified ID, using the fallback * string if it cannot be looked up or is missing. * @@ -191,11 +192,11 @@ * @param arguments A va_list of arguments, consisting of pairs of variable * names and values to replace in the localized string, * terminated with `nil` * @return The localized string */ -- (OFString*)localizedStringForID: (OFConstantString*)ID - fallback: (OFConstantString*)fallback - arguments: (va_list)arguments; +- (OFString *)localizedStringForID: (OFConstantString *)ID + fallback: (OFConstantString *)fallback + arguments: (va_list)arguments; @end OF_ASSUME_NONNULL_END