Traducion

This commit is contained in:
nawfe
2020-04-30 13:09:18 +02:00
parent d4a52236e1
commit 255e8012bf
7 changed files with 28 additions and 14 deletions

View File

@@ -83,7 +83,7 @@ public class ParametreController implements Initializable {
*/
final URL fxmlURL = getClass().getResource("../ressources/Jouer_tour(3)attaquer.fxml");
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.ENGLISH);
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
Pane pane = fxmlLoader.load();

View File

@@ -27,10 +27,6 @@ import javafx.scene.image.ImageView;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
<<<<<<< HEAD
=======
import javafx.util.Duration;
>>>>>>> eea99d2341b1df015a2831034aa39534addff16e
import main.Joueur;
import main.View;

View File

@@ -118,7 +118,7 @@ public class PlayersController implements Initializable{
final URL fxmlURL = getClass().getResource("../ressources/Plateau.fxml");
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRENCH);
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
Parent root = fxmlLoader.load();
AnchorPane root = fxmlLoader.load();
PlateauController pc = fxmlLoader.getController();
GestionnaireJeu.setPlateauController(pc);
GestionnaireJeu.setConfiguration(new Configuration(this.joueurs));