Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zh not being loaded #35

Merged
merged 1 commit into from
Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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("zhcn", "简体中文");
SCHINESE("zhHans", "简体中文");

companion object {
@JvmStatic fun fromCommonName(name: String) = values().first {it.commonName.equals(name, true)}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# suppress inspection "UnusedProperty" for whole file
.credits=Simplified Chinese translation by ahdg
.credits=简体中文翻译由 ahdg 提供
addvariable.cancel=取消
addvariable.ok=完成
addvariable.title=添加变量
Expand Down Expand Up @@ -28,7 +28,7 @@ bar.file.sftp=从 SFTP 打开文件
bar.file.test=测试文件
bar.help=帮助
bar.help.check_for_updates=检查更新
bar.help.credits=贡献归属者
bar.help.credits=特别鸣谢/贡献归属
bar.help.donate=捐助软件
bar.help.donators_list=赞助者清单
bar.help.license=许可证
Expand All @@ -45,11 +45,9 @@ filechooser.create_title=创建文件
filechooser.title=选择文件
filechooser.yaml=YAML 文件
ftp.no_server=在 设置 > FTP 中添加远端服务器
help.credits.subtitle=使用由 iAmGio 创作的 $1, 该软件唯一的开发者及维护者。
! -- english only
help.credits.text=Thanks to beta testers: $1.\nThanks to $2 for the website (chorusmc.org).\nThanks to gjkf for having helped with RegEx.\nThanks to everyone who donated and supported Chorus and everyone who believed in this project.
help.credits.title=Credits
! -- english only
help.credits.subtitle=由 iAmGio 用 $1 制作, 他是该软件唯一的开发者及维护者。
help.credits.text=感谢以下 beta 测试员: $1.\n感谢 $2 创作了网页 (chorusmc.org).\n感谢 gjkf 在 RegEx 提供帮助。\n感谢每一个捐助过或支持过 Chorus 以及每一个信赖这个项目的人。
help.credits.title=特别鸣谢
help.donate.text=作者在这个项目上投入了大量时间与精力,而您只需要动动手免费下载。\n所以如果您喜欢这个软件或仅仅是想资助作者, 他将对此倍感欣慰。\n在赞助后,您将被添加至 '赞助者清单'。
help.donate.title=捐助软件
help.donate.url_text=点击这里进行捐助
Expand Down Expand Up @@ -231,7 +229,7 @@ updater.failed=无法下载最新版本。
updater.filetype=您想下载哪个可运行程序?
updater.found=一个可用更新被找到($1)。\n要下载吗?
updater.no=否
updater.no_update=你已经处在最新版本了
updater.no_update=您已经处在最新版本了
updater.ok=好的
updater.title=检查更新中
updater.yes=是
Expand Down