Update translations

This commit is contained in:
2021-04-29 19:02:35 -05:00
parent 1050cc4e47
commit 61529fde4d
9 changed files with 138 additions and 89 deletions

View File

@@ -61,6 +61,7 @@ task("updateTranslators") {
"Romanian" to "Română",
"Russian" to "Русский",
"Serbian (Cyrillic)" to "српски",
"Serbian (Latin)" to "српски",
"Spanish" to "Español",
"Swedish" to "Svenska",
"Tamil" to "தமிழ்\u200E",
@@ -79,7 +80,8 @@ task("updateTranslators") {
val name = entry["Name"]!!.replace(Regex(" *\\(.*\\) *"), "")
if (name.contains("REMOVED")) continue
if (entry["Winning (Words)"]!!.toInt() < 10 &&
entry["Translated (Words)"]!!.toInt() < 100
entry["Translated (Words)"]!!.toInt() < 100 &&
entry["Approved (Words)"]!!.toInt() <= 0
) {
continue
}