Added base locale functionality. Works in AddNameCtrl for now.
This commit is contained in:
parent
fc13f7b847
commit
6e9ac2b055
10 changed files with 136 additions and 8 deletions
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="94.0" prefWidth="470.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="client.scenes.AddNameCtrl">
|
||||
<children>
|
||||
<Button layoutX="417.0" layoutY="54.0" mnemonicParsing="false" onAction="#ok" text="Ok" />
|
||||
<Button layoutX="349.0" layoutY="54.0" mnemonicParsing="false" onAction="#cancel" text="Cancel" />
|
||||
<Button fx:id="okButton" layoutX="417.0" layoutY="54.0" mnemonicParsing="false" onAction="#ok" text="Ok" />
|
||||
<Button fx:id="cancelButton" layoutX="349.0" layoutY="54.0" mnemonicParsing="false" onAction="#cancel" text="Cancel" />
|
||||
<TextField fx:id="recipeName" layoutX="109.0" layoutY="24.0" prefHeight="18.0" prefWidth="292.0" />
|
||||
<Label layoutX="28.0" layoutY="29.0" text="Recipe Name" />
|
||||
<Label fx:id="recipeNameLabel" layoutX="28.0" layoutY="29.0" text="Recipe Name" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</AnchorPane>
|
||||
4
client/src/main/resources/locale/lang.properties
Normal file
4
client/src/main/resources/locale/lang.properties
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
add.recipe.title=Create recipe
|
||||
add.recipe.label=Recipe Name
|
||||
add.recipe.button.ok=Ok
|
||||
add.recipe.button.cancel=Cancel
|
||||
4
client/src/main/resources/locale/lang_en.properties
Normal file
4
client/src/main/resources/locale/lang_en.properties
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
add.recipe.title=Create recipe
|
||||
add.recipe.label=Recipe Name
|
||||
add.recipe.button.ok=Ok
|
||||
add.recipe.button.cancel=Cancel
|
||||
4
client/src/main/resources/locale/lang_nl.properties
Normal file
4
client/src/main/resources/locale/lang_nl.properties
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
add.recipe.title=Recept aanmaken
|
||||
add.recipe.label=Receptnaam
|
||||
add.recipe.button.ok=Ok
|
||||
add.recipe.button.cancel=Annuleren
|
||||
4
client/src/main/resources/locale/lang_pl.properties
Normal file
4
client/src/main/resources/locale/lang_pl.properties
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
add.recipe.title=Utwórz przepis
|
||||
add.recipe.label=Nazwa przepisu
|
||||
add.recipe.button.ok=Ok
|
||||
add.recipe.button.cancel=Anuluj
|
||||
Loading…
Add table
Add a link
Reference in a new issue