We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c31f91 commit 76fa8f3Copy full SHA for 76fa8f3
FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Utils/StringUtils.swift
@@ -20,7 +20,9 @@ public class StringUtils {
20
}
21
22
public func localizedString(forKey key: String) -> String {
23
- return bundle.localizedString(forKey: key, value: nil, table: nil)
+ let keyLocale = String.LocalizationValue(key)
24
+ let value = String(localized: keyLocale, bundle: bundle)
25
+ return value
26
27
28
public func localizedErrorMessage(for error: Error) -> String {
0 commit comments