Merge pull request #757 from stonerl/zh-hans

Add Chinese (Simplified) - zh-Hans to LanguageCodes
This commit is contained in:
Arkadiusz Fal 2024-08-27 22:26:17 +02:00 committed by GitHub
commit 67b41e36d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,7 @@ enum LanguageCodes: String, CaseIterable {
case Vietnamese = "vi"
case Xhosa = "xh"
case Chinese = "zh"
case Chinese_Hans = "zh-Hans"
case Zulu = "zu"
var description: String {
@ -147,6 +148,8 @@ enum LanguageCodes: String, CaseIterable {
return "Xhosa"
case .Chinese:
return "Chinese"
case .Chinese_Hans:
return "Chinese (Simplified)"
case .Zulu:
return "Zulu"
}