Skip to content

Commit 013943a

Browse files
pedroverezaparkera
authored andcommitted
[SR-3032] Fix comment in Locale (#698)
1 parent 762f0c0 commit 013943a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Foundation/Locale.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public struct Locale : CustomStringConvertible, CustomDebugStringConvertible, Ha
6969

7070
/// Returns a localized string for a specified identifier.
7171
///
72-
/// For example, in the "en" locale, the result for `"en"` is `"Spanish"`.
72+
/// For example, in the "en" locale, the result for `"es"` is `"Spanish"`.
7373
public func localizedString(forIdentifier identifier: String) -> String? {
7474
return _wrapped.displayName(forKey: .identifier, value: identifier)
7575
}
@@ -83,7 +83,7 @@ public struct Locale : CustomStringConvertible, CustomDebugStringConvertible, Ha
8383

8484
/// Returns a localized string for a specified region code.
8585
///
86-
/// For example, in the "en" locale, the result for `"fr"` is `"French"`.
86+
/// For example, in the "en" locale, the result for `"fr"` is `"France"`.
8787
public func localizedString(forRegionCode regionCode: String) -> String? {
8888
return _wrapped.displayName(forKey: .countryCode, value: regionCode)
8989
}

0 commit comments

Comments
 (0)