This commit is contained in:
Yair Morgenstern
2020-08-15 23:31:52 +03:00
parent 4cd4d5d89f
commit 1937e3f3c9
3 changed files with 21 additions and 3 deletions

View File

@ -79,7 +79,7 @@ class TranslationTests {
val placeholders = squareBraceRegex.findAll(translationEntry).map { it.value }.toList()
for (language in languages) {
val output = translations.getText(key, language)
if(output == key) continue // the language doesn't have the required translation, so we got back the key
if (output == key) continue // the language doesn't have the required translation, so we got back the key
for (placeholder in placeholders) {
if (!output.contains(placeholder)) {
// TODO temporarily disabled