Traduction des FXML

This commit is contained in:
nawfe
2020-05-14 13:12:07 +02:00
parent 705503a7f1
commit 4951e7798e
9 changed files with 68 additions and 28 deletions

View File

@ -14,21 +14,21 @@
<children>
<VBox alignment="TOP_CENTER" prefHeight="480.0" prefWidth="640.0">
<children>
<Label text="Pause">
<Label text="%pause">
<font>
<Font size="48.0" />
</font>
</Label>
<VBox>
<children>
<Label style="-fx-border-width: 0 0 0.5 0; -fx-border-color: #e2e2e2;" text="Sons">
<Label style="-fx-border-width: 0 0 0.5 0; -fx-border-color: #e2e2e2;" text="%sons">
<font>
<Font size="18.0" />
</font>
</Label>
<HBox alignment="CENTER_LEFT">
<children>
<Label text="Musique">
<Label text="%musique">
<HBox.margin>
<Insets right="300.0" />
</HBox.margin>
@ -61,7 +61,7 @@
</Label>
<HBox alignment="CENTER_LEFT">
<children>
<Label text="Effet sonores">
<Label text="%effet">
<HBox.margin>
<Insets right="273.0" />
</HBox.margin>
@ -77,7 +77,7 @@
<Slider fx:id="sliderEffetsPause" blockIncrement="1.0" majorTickUnit="1.0" max="0.0" min="-20.0" minorTickCount="10" onMouseClicked="#slideVolumeEffets" prefHeight="14.0" prefWidth="194.0" />
</children>
</HBox>
<Button fx:id="reglesPause" mnemonicParsing="false" onMouseClicked="#afficherReglePause" text="gles">
<Button fx:id="reglesPause" mnemonicParsing="false" onMouseClicked="#afficherReglePause" text="%regles">
<font>
<Font size="14.0" />
</font>
@ -85,7 +85,7 @@
<Insets top="30.0" />
</VBox.margin>
</Button>
<Label style="-fx-border-width: 0 0 0.5 0; -fx-border-color: #e2e2e2;" text="Jeux">
<Label style="-fx-border-width: 0 0 0.5 0; -fx-border-color: #e2e2e2;" text="%jeux">
<VBox.margin>
<Insets top="50.0" />
</VBox.margin>
@ -98,7 +98,7 @@
<Insets top="5.0" />
</VBox.margin>
<children>
<Button mnemonicParsing="false" onMouseClicked="#reprendre" text="Reprendre la partie">
<Button mnemonicParsing="false" onMouseClicked="#reprendre" text="%reprendre.partie">
<HBox.margin>
<Insets right="25.0" />
</HBox.margin>
@ -106,7 +106,7 @@
<Font size="14.0" />
</font>
</Button>
<Button mnemonicParsing="false" onMouseClicked="#quitter" style="-fx-text-fill: red;" text="Quitter le jeu">
<Button mnemonicParsing="false" onMouseClicked="#quitter" style="-fx-text-fill: red;" text="%quitter.jeu">
<HBox.margin>
<Insets left="25.0" />
</HBox.margin>