mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Add Chinese (Simplified) - zh-Hans to LanguageCodes
Signed-off-by: Toni Förster <toni.foerster@gmail.com>
This commit is contained in:
parent
0c1fb02d50
commit
497c3bfc12
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user