Commit 02c406b5 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#784 Typo.

parent 5517e786
......@@ -279,14 +279,14 @@ public class DesktopLauncher extends Application {
HBox fullscreenHBox = new HBox();
verticalBox.setSpacing(20);
Label resolutionLabel = new Label(LauncherLocalizedTextDefinition.getLocaliziedText(LauncherLocalizedTextDefinition.RESOLUTION));
Label resolutionLabel = new Label(LauncherLocalizedTextDefinition.getLocalizedText(LauncherLocalizedTextDefinition.RESOLUTION));
resolutionLabel.setPrefWidth(150);
ChoiceBox resolutionChoiceBox = new ChoiceBox();
resolutionChoiceBox.getItems().addAll(WindowsResolution.getFittingResolutions());
resolutionChoiceBox.getSelectionModel().select(0);
resolutionChoiceBox.setId(RESOLUTION_CHOICE_ID);
Label fullscreenLabel = new Label(LauncherLocalizedTextDefinition.getLocaliziedText(LauncherLocalizedTextDefinition.FULLSCREEN));
Label fullscreenLabel = new Label(LauncherLocalizedTextDefinition.getLocalizedText(LauncherLocalizedTextDefinition.FULLSCREEN));
fullscreenLabel.setPrefWidth(150);
CheckBox fullscreenCheckBox = new CheckBox();
fullscreenCheckBox.setMnemonicParsing(false);
......@@ -303,7 +303,7 @@ public class DesktopLauncher extends Application {
private BorderPane createLaunchButtonBorderPane(Stage primaryStage, Parent pane){
BorderPane buttonBorderPane = new BorderPane();
Button launchButton = new Button(LauncherLocalizedTextDefinition.getLocaliziedText(LauncherLocalizedTextDefinition.LAUNCH));
Button launchButton = new Button(LauncherLocalizedTextDefinition.getLocalizedText(LauncherLocalizedTextDefinition.LAUNCH));
launchButton.setMnemonicParsing(false);
launchButton.prefWidth(50);
launchButton.prefHeight(45);
......@@ -338,7 +338,7 @@ public class DesktopLauncher extends Application {
this.sk = sk;
}
public static String getLocaliziedText(LauncherLocalizedTextDefinition localizedTextDefinition) {
public static String getLocalizedText(LauncherLocalizedTextDefinition localizedTextDefinition) {
switch (Locale.getDefault().getLanguage()) {
case "sk":
return localizedTextDefinition.sk;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment