Skip to content

Commit

Permalink
Use zhCN instead of zh-Hans (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgio committed Jun 8, 2021
1 parent 16cb86a commit 4e14f14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/chorusmc/chorus/lang/Lang.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ enum class Lang(val tag: String, private val commonName: String) {
ITALIAN("it", "Italiano"),
GERMAN("de", "Deutsch"),
RUSSIAN("ru", "русский"),
SCHINESE("zhHans", "简体中文");
SCHINESE("zhcn", "简体中文");

companion object {
@JvmStatic fun fromCommonName(name: String) = values().first {it.commonName.equals(name, true)}
Expand Down

0 comments on commit 4e14f14

Please sign in to comment.