diff --git a/src/ihm/controller/ParametreController.java b/src/ihm/controller/ParametreController.java index 97270e3..649d2e2 100644 --- a/src/ihm/controller/ParametreController.java +++ b/src/ihm/controller/ParametreController.java @@ -3,6 +3,7 @@ package ihm.controller; import java.io.File; import java.io.IOException; import java.net.URL; +import java.util.Locale; import java.util.ResourceBundle; import ihm.Musique; @@ -81,8 +82,10 @@ public class ParametreController implements Initializable { * } */ - - Pane pane = FXMLLoader.load(getClass().getResource("../ressources/Jouer_tour(3)attaquer.fxml")); + final URL fxmlURL = getClass().getResource("../ressources/Jouer_tour(3)attaquer.fxml"); + final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.ENGLISH); + final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle); + Pane pane = fxmlLoader.load(); rootPane.getChildren().setAll(pane); diff --git a/src/ihm/ressources/Jouer_tour(1)lancer_des.fxml b/src/ihm/ressources/Jouer_tour(1)lancer_des.fxml index 645a24c..7fbac94 100644 --- a/src/ihm/ressources/Jouer_tour(1)lancer_des.fxml +++ b/src/ihm/ressources/Jouer_tour(1)lancer_des.fxml @@ -8,16 +8,16 @@ -