From 86319561bf3b2f04fbf85aab0515b0d614076771 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Fri, 19 May 2023 18:54:05 +0200 Subject: [PATCH] Fixed the documentation of the "localise(for: in: value: table:)" function of the String+Localisation extension. --- Sources/Core/Extensions/String+Localisation.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Core/Extensions/String+Localisation.swift b/Sources/Core/Extensions/String+Localisation.swift index bb6472d..2a79450 100644 --- a/Sources/Core/Extensions/String+Localisation.swift +++ b/Sources/Core/Extensions/String+Localisation.swift @@ -20,8 +20,8 @@ public extension String { /// - Parameters: /// - languageCode: A string that represent a language code or identifier. /// - 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. - /// - 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`. + /// - 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`. /// - 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( for languageCode: String,