修改语言文件 (#2412)

* 更新 I18N_zh_CN.properties

* 因为 MMC 不再支持 Curse 整合包,所以 MCBBS 整合包格式将无法被识别

* https://github.com/huanghongxun/HMCL/pull/1410

* 更改一些提示
This commit is contained in:
zkitefly
2023-08-07 18:26:19 +08:00
committed by GitHub
parent 9d4eb9662e
commit edcdeaf018
7 changed files with 84 additions and 76 deletions

View File

@@ -86,6 +86,13 @@ tasks.create("checkTranslations") {
}
}
zh_CN.forEach {
if (it.value.toString().contains("帐户")) {
project.logger.warn("The misspelled '帐户' in '${it.key}' should be replaced by '账户'")
success = false
}
}
if (!success) {
throw GradleException("Part of the translation is missing")
}