From 502a9fcc62d2afc3affe5ddbb92336563c5832ba Mon Sep 17 00:00:00 2001 From: nawfe Date: Tue, 28 Apr 2020 18:29:53 +0200 Subject: [PATCH] Traduction --- src/ihm/controller/ParametreController.java | 7 ++++-- .../ressources/Jouer_tour(1)lancer_des.fxml | 6 ++--- .../ressources/Jouer_tour(2)carte_lieux.fxml | 2 +- .../Jouer_tour(2b)piocher_carte.fxml | 2 +- ...ouer_tour(2ba)piocher_lumiere_tenebre.fxml | 4 ++-- .../Jouer_tour(2bb1)piocher_vision.fxml | 6 ++--- .../Jouer_tour(2bb2)donne_carte_vision.fxml | 4 ++-- .../Jouer_tour(2bb3)recevoir_vision.fxml | 4 ++-- .../Jouer_tour(2c)attaquer_soigner.fxml | 4 ++-- src/ihm/ressources/Jouer_tour(3)attaquer.fxml | 4 ++-- .../ressources/Jouer_tour(4)des_attaquer.fxml | 6 ++--- src/ihm/ressources/Jouer_tour(5).fxml | 4 ++-- src/ihm/ressources/LancerDeDes.fxml | 4 ++-- src/ihm/ressources/PremierSecours.fxml | 22 +++++++++---------- src/ihm/ressources/Reveler_son_identite.fxml | 6 ++--- src/ihm/ressources/Soigner.fxml | 22 +++++++++---------- src/ihm/ressources/Utiliser_sa_capacite.fxml | 4 ++-- src/ihm/ressources/jouerSonTour3.fxml | 2 +- src/ihm/ressources/parametre.fxml | 12 +++++----- 19 files changed, 64 insertions(+), 61 deletions(-) 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 @@ -