Added base locale functionality. Works in AddNameCtrl for now.

This commit is contained in:
Oskar Rasieński 2025-12-04 00:00:38 +01:00
commit 6e9ac2b055
10 changed files with 136 additions and 8 deletions

View file

@ -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>

View 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

View 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

View file

@ -0,0 +1,4 @@
add.recipe.title=Recept aanmaken
add.recipe.label=Receptnaam
add.recipe.button.ok=Ok
add.recipe.button.cancel=Annuleren

View 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