Capitalize languages
This commit is contained in:
parent
ebddbe9f4b
commit
1979e8b700
|
@ -138,7 +138,7 @@ public class Utils {
|
|||
}
|
||||
|
||||
public static func localizedLanguage(_ code: String) -> String {
|
||||
return Locale.current.localizedString(forLanguageCode: code) ?? code
|
||||
return Locale.current.localizedString(forLanguageCode: code)?.capitalized ?? code
|
||||
}
|
||||
|
||||
private init() {
|
||||
|
|
Loading…
Reference in New Issue