Fixed Polish translations

Removed unnecessary (and breaking) unit unique translation tests
This commit is contained in:
Yair Morgenstern
2020-03-26 11:09:00 +02:00
parent 093ee0e3a9
commit 136dac3582
2 changed files with 2 additions and 13 deletions

View File

@ -371,7 +371,7 @@ It looks like your saved game can't be loaded! = Wygląda na to, że zapis gry n
If you could copy your game data ("Copy saved game to clipboard" - = Jeśli możesz skopiować dane gry ("Skopiuj zapisaną grę do schowka"),
paste into an email to yairm210@hotmail.com) = wyślij je na email yairm210@hotmail.com
I could maybe help you figure out what went wrong, since this isn't supposed to happen! = Może mógłbym pomóc ci dowiedzieć się, co poszło nie tak, ponieważ tak się nie powinno stać!
Missing mods: [mods] = Brakujące mody:
Missing mods: [mods] = Brakujące mody: [mods]
# Options
@ -715,7 +715,7 @@ Resources = Zasoby
Terrains = Tereny
Tile Improvements = Ulepszenia Pól
Unique to [civName], replaces [unitName] = Unikatowa jednostka dla [civName], zastępuje [unitName]
Unique to [civName] = Unikalne dla:
Unique to [civName] = Unikalne dla: [civName]
Tutorials = Samouczki
Cost = Koszt
May contain [listOfResources] = Może zawierać [listOfResources]

View File

@ -38,17 +38,6 @@ class TranslationTests {
allUnitsHaveTranslation)
}
@Test
fun allUnitUniquesHaveTranslation() {
val strings: MutableSet<String> = HashSet()
for (unit in ruleset.units.values) for (unique in unit.uniques) if (!unique.startsWith("Bonus")
&& !unique.startsWith("Penalty")
&& !unique.contains("[")) // templates
strings.add(unique)
val allStringsHaveTranslation = allStringAreTranslated(strings)
Assert.assertTrue("This test will only pass when there is a translation for all units uniques",
allStringsHaveTranslation)
}
@Test
fun allUnitActionsHaveTranslation() {