From d622700b018320c3b7181ed1b4d77e87b91b65d1 Mon Sep 17 00:00:00 2001 From: SimonB Date: Tue, 25 Jun 2024 15:33:53 +0100 Subject: [PATCH] - Prefs UI update for new sound - Labels --- .../client/preferences/ui/SettingsController.java | 2 ++ src/main/resources/i18n/messages.properties | 1 + src/main/resources/theme/settings/settings.fxml | 11 ++++++++++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/faforever/client/preferences/ui/SettingsController.java b/src/main/java/com/faforever/client/preferences/ui/SettingsController.java index 1a9b651a32..63ffd52904 100644 --- a/src/main/java/com/faforever/client/preferences/ui/SettingsController.java +++ b/src/main/java/com/faforever/client/preferences/ui/SettingsController.java @@ -140,6 +140,8 @@ public class SettingsController extends NodeController { public CheckBox playFriendJoinsGameSoundCheckBox; public CheckBox playFriendPlaysGameSoundCheckBox; public CheckBox displayPmReceivedToastCheckBox; + public CheckBox displayMatchFoundSoundCheckBox; + public CheckBox playMatchFoundSoundCheckBox; public CheckBox playPmReceivedSoundCheckBox; public CheckBox afterGameReviewCheckBox; public CheckBox disableSteamStartCheckBox; diff --git a/src/main/resources/i18n/messages.properties b/src/main/resources/i18n/messages.properties index a106dea2a3..9b217afa3d 100644 --- a/src/main/resources/i18n/messages.properties +++ b/src/main/resources/i18n/messages.properties @@ -451,6 +451,7 @@ settings.notifications.toastPosition = Toast position settings.notifications.toastScreen = Screen settings.notifications.playSound = Play sound settings.notifications.pmReceived = PM received +settings.notifications.matchFound = Match Found settings.notifications.ranked1v1 = Ranked 1v1 available settings.sounds = Sounds settings.sounds.enable = Enable Sounds diff --git a/src/main/resources/theme/settings/settings.fxml b/src/main/resources/theme/settings/settings.fxml index 95b15b14e2..992aea89f7 100644 --- a/src/main/resources/theme/settings/settings.fxml +++ b/src/main/resources/theme/settings/settings.fxml @@ -596,8 +596,17 @@ GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="5" GridPane.valignment="CENTER"/>