code cleanup

This commit is contained in:
Jannik
2018-03-01 16:10:37 +01:00
parent 385193f57b
commit 5297c614d5
3 changed files with 337 additions and 362 deletions

View File

@ -158,7 +158,7 @@ public class apiQuery{
// if response == false then show mainWindowController.noFilmFound else create new Texts and add them to flowText
if (retdata.contains("\"Response\":\"False\"")) { // TODO + FIXME
mainWindowController.getTextFlow().getChildren().add(new Text(mainWindowController.noFilmFound));
mainWindowController.getTextFlow().getChildren().add(new Text(mainWindowController.getBundle().getString("noFilmFound")));
im = new Image("resources/icons/close_black_2048x2048.png");
mainWindowController.getImage1().setImage(im);
} else {