Fixed the documentation of the "localise(for: in: value: table:)" function of the String+Localisation extension.
This commit is contained in:
parent
dfbd892975
commit
86319561bf
@ -20,8 +20,8 @@ public extension String {
|
|||||||
/// - Parameters:
|
/// - Parameters:
|
||||||
/// - languageCode: A string that represent a language code or identifier.
|
/// - languageCode: A string that represent a language code or identifier.
|
||||||
/// - bundle: A bundle in which to retrieve a localisation bundle.
|
/// - bundle: A bundle in which to retrieve a localisation bundle.
|
||||||
/// - value: A default value to return if key is nil or if a localized string for key can’t be found in the table.
|
/// - value: A default value to return if key is nil or if a localized string for key can't be found in the table.
|
||||||
/// - table: The receiver’s string table to search. In case of nil or an empty string, the method attempts to use the table in `Localizable.strings`.
|
/// - table: The receiver's string table to search. In case of nil or an empty string, the method attempts to use the table in `Localizable.strings`.
|
||||||
/// - Returns: A localized version of the string in case it is found. Otherwise, it returns the original string or a default string, if provided.
|
/// - Returns: A localized version of the string in case it is found. Otherwise, it returns the original string or a default string, if provided.
|
||||||
func localise(
|
func localise(
|
||||||
for languageCode: String,
|
for languageCode: String,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user