Traduction
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user