修改语言文件 (#2412)
* 更新 I18N_zh_CN.properties * 因为 MMC 不再支持 Curse 整合包,所以 MCBBS 整合包格式将无法被识别 * https://github.com/huanghongxun/HMCL/pull/1410 * 更改一些提示
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user