Add Chinese (Simplified) - zh-Hans to LanguageCodes

Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
Toni Förster 2024-08-27 15:33:06 +02:00
parent 0c1fb02d50
commit 497c3bfc12
No known key found for this signature in database
GPG Key ID: 292F3E5086C83FC7

View File

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