Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void renameAndPersistence() throws Exception {
void lang() throws Exception {
for (String f : new String[] {"en_us", "it_it"}) {
String json = Files.readString(Path.of("src/main/resources/assets/israel_simulator/lang/" + f + ".json"));
assertTrue(json.contains("\"" + EpsteinPhaseRules.RENAMED_NAME_KEY + "\": \"Palm Beach Pete\""), f);
assertTrue(json.contains("\"" + EpsteinPhaseRules.RENAMED_NAME_KEY + "\": \""), f);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ void allCodeKeysTranslated() throws Exception {
@Test
@DisplayName("Bibi's Epstein shield message is translated")
void bibiShieldMessage() throws Exception {
assertEquals("Bibi is shielded by Epstein! Defeat him first.",
assertEquals("Epstein's lawyers got Bibi an injunction. Beat Epstein first.",
lang("en_us").get("message.israel_simulator.bibi_shielded_by_epstein").getAsString());
assertEquals("Bibi è protetto da Epstein! Sconfiggilo prima.",
assertEquals("Bibi ha un'ingiunzione firmata Epstein. Prima batti lui.",
lang("it_it").get("message.israel_simulator.bibi_shielded_by_epstein").getAsString());
}

Expand Down
Loading