mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-10 15:59:33 +07:00
3.6.14
This commit is contained in:
@ -162,7 +162,7 @@ class TranslationTests {
|
||||
for (key in translations.keys) {
|
||||
val placeholders = placeholderPattern.findAll(key).map { it.value }.toList()
|
||||
for (language in languages) {
|
||||
placeholders.forEach { placeholder ->
|
||||
for (placeholder in placeholders) {
|
||||
if (!translations.get(key, language).contains(placeholder)) {
|
||||
allTranslationsHaveCorrectPlaceholders = false
|
||||
println("Placeholder `$placeholder` not found in `$language` for key `$key`")
|
||||
|
Reference in New Issue
Block a user