From c2d5611ab9c72cfeddaff141c329e4855ec1ec56 Mon Sep 17 00:00:00 2001 From: Johannes Schmelz Date: Sun, 24 Nov 2024 19:10:59 +0100 Subject: [PATCH] changed settings menu to match --- .../java/pp/monopoly/client/gui/SettingsMenu.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/SettingsMenu.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/SettingsMenu.java index eafb833..82f7ab6 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/SettingsMenu.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/SettingsMenu.java @@ -42,15 +42,17 @@ public class SettingsMenu extends Dialog { super(app.getDialogManager()); this.app = app; slider = new VolumeSlider(app.getStateManager().getState(GameMusic.class)); - addChild(new Label(lookup("monopoly.name"), new ElementId("header"))); //NON-NLS - addChild(new Checkbox(lookup("menu.sound-enabled"), new StateCheckboxModel(app, GameSound.class))); - - addChild(new Checkbox(lookup("menu.background-sound-enabled"), new StateCheckboxModel(app, GameMusic.class))); + addChild(new Label("Einstellungen", new ElementId("header"))); //NON-NLS + addChild(new Label("Sound Effekte", new ElementId("label"))); //NON-NLS + addChild(new Checkbox("Soundeffekte an / aus", new StateCheckboxModel(app, GameSound.class))); + + addChild(new Label("Hintergrund Musik", new ElementId("label"))); //NON-NLS + addChild(new Checkbox("Musik an / aus", new StateCheckboxModel(app, GameMusic.class))); addChild(slider); - addChild(new Button(lookup("menu.return-to-game"))).addClickCommands(s -> ifTopDialog(this::close)); - addChild(new Button(lookup("menu.quit"))).addClickCommands(s -> ifTopDialog(app::closeApp)); + addChild(new Button("Zurück zum Spiel")).addClickCommands(s -> ifTopDialog(this::close)); + addChild(new Button("Beenden")).addClickCommands(s -> ifTopDialog(app::closeApp)); update(); }