diff --git a/build.gradle.kts b/build.gradle.kts index deccd9e5c..2317dbc93 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -94,6 +94,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") }