diff --git a/src/de/deadlocker8/budgetmaster/logic/utils/Helpers.java b/src/de/deadlocker8/budgetmaster/logic/utils/Helpers.java index 1dc0c1be412c804d2353506ebc5f2e4d22abc55e..9c105dcde51c46379359920072cddbdfd90fac09 100644 --- a/src/de/deadlocker8/budgetmaster/logic/utils/Helpers.java +++ b/src/de/deadlocker8/budgetmaster/logic/utils/Helpers.java @@ -123,6 +123,7 @@ public class Helpers { FXMLLoader fxmlLoader = new FXMLLoader(Helpers.class.getResource("/de/deadlocker8/budgetmaster/ui/fxml/Modal.fxml")); Parent root = (Parent)fxmlLoader.load(); + fxmlLoader.setResources(Localization.getBundle()); Stage newStage = new Stage(); newStage.initOwner(owner); newStage.initModality(Modality.APPLICATION_MODAL); diff --git a/src/de/deadlocker8/budgetmaster/main/Main.java b/src/de/deadlocker8/budgetmaster/main/Main.java index 73c91eb6ac1c46defef78c913dd2ed899a148eed..91dbf73e0f42d2822a55bf3f75ebf9e2c631447f 100644 --- a/src/de/deadlocker8/budgetmaster/main/Main.java +++ b/src/de/deadlocker8/budgetmaster/main/Main.java @@ -25,7 +25,6 @@ public class Main extends Application { Image icon = new Image("/de/deadlocker8/budgetmaster/resources/icon.png"); FXMLLoader loader = new FXMLLoader(getClass().getClassLoader().getResource("de/deadlocker8/budgetmaster/ui/fxml/SplashScreen.fxml")); - //TODO loader.setResources(Localization.getBundle()); Parent root = (Parent)loader.load(); diff --git a/src/de/deadlocker8/budgetmaster/resources/_de.properties b/src/de/deadlocker8/budgetmaster/resources/_de.properties index 87ac3c7017b530aedd7cd04f4bb035cfd515380b..99ffe43b1cf0fe055ed381c0508cae7a491b5195 100644 --- a/src/de/deadlocker8/budgetmaster/resources/_de.properties +++ b/src/de/deadlocker8/budgetmaster/resources/_de.properties @@ -170,3 +170,90 @@ error.settings.save=Beim Speichern der Einstellungen ist ein Fehler aufgetreten. error.database.import=Beim Einlesen der Datei ist ein Fehler aufgetreten. error.database.import.wrong.file=Die angegebene Datei enth�lt kein g�ltiges BudgetMaster-Datenformat und kann daher nicht importiert werden. error.password.save=Beim Speichern des Passworts ist ein Fehler aufgetreten. + +# UI +categorytab.button.category.new=\ Neue Kategorie + +charttab.titlepane.chart.categories=Einnahmen/Ausgaben nach Kategorien +charttab.titlepane.chart.months=Einnahmen/Ausgaben pro Monat +charttab.label.start=Von: +charttab.label.end=Bis: +charttab.checkbox.bars=Balken +charttab.checkbox.lines=Linien + +export.chart.label.width=Breite: +export.chart.label.height=H�he: +export.chart.label.savepath=Speicherort: +export.chart.button.change=�ndern +export.chart.button.export=Exportieren + +filter.headline=Filtern nach: +filter.type=Art +filter.type.income=Einnahme +filter.type.payment=Ausgabe +filter.repeating=Wiederholung +filter.repeating.none=keine Wiederholung +filter.repeating.monthday=monatlich +filter.repeating.interval=alle X Tage +filter.categories=Kategorien +filter.categories.button.all=Alle +filter.categories.button.none=Keine +filter.name=Name +filter.button.reset=Zur�cksetzen +filter.button.filter=Filtern + +gui.tab.home=Startseite +gui.tab.payments=Buchungen +gui.tab.categories=Kategorien +gui.tab.charts=Diagramme +gui.tab.report=Monatsbericht +gui.tab.settings=Einstellungen + +hometab.categorybudgets=Verbrauch nach Kategorien + +category.new.label.name=Name: +category.new.label.max.characters=(max. 45 Zeichen) +category.new.label.color=Farbe: +category.new.button.save=Speichern + +payment.new.label.name=Name: +payment.new.label.max.characters=(max. 150 Zeichen) +payment.new.label.amount=Betrag: +payment.new.label.category=Kategorie: +payment.new.label.date=Datum: +payment.new.label.description=Notiz: +payment.new.label.repeating=Wiederholung: +payment.new.label.repeating.all=Alle +payment.new.label.repeating.days=Tage +payment.new.label.repeating.monthday=jeden Monat am: +payment.new.label.enddate=Enddatum +payment.new.button.save=Speichern + +paymenttab.button.new.income=\ Neue Einnahme +paymenttab.button.new.payment=\ Neue Ausgabe +paymenttab.button.filter=Filter +paymenttab.label.filter.active=Filter aktiv +paymenttab.label.incomes=Einnahmen: +paymenttab.label.payments=Ausgaben: + +reporttab.checkbox.include.budget=Budgetkalkulation hinzuf�gen +reporttab.checkbox.split.tables=Einnahmen und Ausgaben als getrennte Tabellen +reporttab.checkbox.inclue.categorybudgets=Verbrauch nach Kategorien hinzuf�gen +reporttab.button.generate.report=Bericht erzeugen + +settingstab.label.secret.client=Client Passwort: +settingstab.label.url=Server URL: +settingstab.label.secret.server=Server Passwort: +settingstab.label.currency=W�hrung: +settingstab.label.rest=�bertrag: +settingstab.label.rest.activated=aktiviert +settingstab.label.rest.deactivated=deaktiviert +settingstab.label.trusted.hosts=Vertrauensw�rdige Hosts: +settingstab.label.trusted.hosts.info=(ein Host pro Zeile) +settingstab.label.database=Datenbank: +settingstab.button.database.export=Exportieren +settingstab.button.database.import=Importieren +settingstab.button.database.delete=L�schen +settings.tab.button.save=Speichern + +splashscreen.label.password=Passwort: diff --git a/src/de/deadlocker8/budgetmaster/ui/colorPick/ColorView.java b/src/de/deadlocker8/budgetmaster/ui/colorPick/ColorView.java index a633cbe1e4b163f6b33772a4e9ffecdc6acef516..6e3d4f022ec3d41b1777a76deeaecf624cbaf6ed 100644 --- a/src/de/deadlocker8/budgetmaster/ui/colorPick/ColorView.java +++ b/src/de/deadlocker8/budgetmaster/ui/colorPick/ColorView.java @@ -20,6 +20,7 @@ import javafx.stage.Modality; import javafx.stage.Stage; import logger.Logger; import tools.ConvertTo; +import tools.Localization; public class ColorView extends GridPane { @@ -75,6 +76,7 @@ public class ColorView extends GridPane try { FXMLLoader loader = new FXMLLoader(getClass().getClassLoader().getResource("de/deadlocker8/budgetmaster/ui/colorPick/ColorPickGUI.fxml")); + loader.setResources(Localization.getBundle()); Parent root = (Parent)loader.load(); Scene scene = new Scene(root, 500, 225); diff --git a/src/de/deadlocker8/budgetmaster/ui/controller/CategoryController.java b/src/de/deadlocker8/budgetmaster/ui/controller/CategoryController.java index a00ebacff60746b6a300da90b76ceafc35b66503..2643375e346134070a64aeddee9f6cef25ac674a 100644 --- a/src/de/deadlocker8/budgetmaster/ui/controller/CategoryController.java +++ b/src/de/deadlocker8/budgetmaster/ui/controller/CategoryController.java @@ -127,6 +127,7 @@ public class CategoryController implements Refreshable try { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/NewCategoryGUI.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent root = (Parent)fxmlLoader.load(); Stage newStage = new Stage(); newStage.initOwner(controller.getStage()); diff --git a/src/de/deadlocker8/budgetmaster/ui/controller/ChartController.java b/src/de/deadlocker8/budgetmaster/ui/controller/ChartController.java index 6a79ac25aa4fb01296ded4072754ca56fc9b3902..8ae13536db2ccd8b2d37daa015a857f9ccc73f84 100644 --- a/src/de/deadlocker8/budgetmaster/ui/controller/ChartController.java +++ b/src/de/deadlocker8/budgetmaster/ui/controller/ChartController.java @@ -198,6 +198,7 @@ public class ChartController implements Refreshable try { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/ExportChartGUI.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent root = (Parent)fxmlLoader.load(); Stage newStage = new Stage(); newStage.initOwner(controller.getStage()); diff --git a/src/de/deadlocker8/budgetmaster/ui/controller/Controller.java b/src/de/deadlocker8/budgetmaster/ui/controller/Controller.java index 34c50c7e334855d38ea7f9364e45a72bfac2904e..f87742a17469a388aec0847937bfe3dac922decd 100644 --- a/src/de/deadlocker8/budgetmaster/ui/controller/Controller.java +++ b/src/de/deadlocker8/budgetmaster/ui/controller/Controller.java @@ -93,24 +93,28 @@ public class Controller try { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/HomeTab.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent nodeTabHome = (Parent)fxmlLoader.load(); homeController = fxmlLoader.getController(); homeController.init(this); tabHome.setContent(nodeTabHome); fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/PaymentTab.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent nodeTabPayment = (Parent)fxmlLoader.load(); paymentController = fxmlLoader.getController(); paymentController.init(this); tabPayments.setContent(nodeTabPayment); fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/CategoryTab.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent nodeTabCategory = (Parent)fxmlLoader.load(); categoryController = fxmlLoader.getController(); categoryController.init(this); tabCategories.setContent(nodeTabCategory); fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/ChartTab.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent nodeTabChart = (Parent)fxmlLoader.load(); chartController = fxmlLoader.getController(); chartController.init(this); @@ -123,12 +127,14 @@ public class Controller }); fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/ReportTab.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent nodeTabReport = (Parent)fxmlLoader.load(); reportController = fxmlLoader.getController(); reportController.init(this); tabReports.setContent(nodeTabReport); fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/SettingsTab.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent nodeTabSettings = (Parent)fxmlLoader.load(); settingsController = fxmlLoader.getController(); settingsController.init(this); diff --git a/src/de/deadlocker8/budgetmaster/ui/controller/PaymentController.java b/src/de/deadlocker8/budgetmaster/ui/controller/PaymentController.java index 279d1a6e5a0b5762a47c0701a7a39414bfda642e..c7671f562b1a7bb0e46a45741d4bd746cb5af02f 100644 --- a/src/de/deadlocker8/budgetmaster/ui/controller/PaymentController.java +++ b/src/de/deadlocker8/budgetmaster/ui/controller/PaymentController.java @@ -138,6 +138,7 @@ public class PaymentController implements Refreshable try { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/NewPaymentGUI.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent root = (Parent)fxmlLoader.load(); Stage newStage = new Stage(); newStage.initOwner(controller.getStage()); @@ -245,6 +246,7 @@ public class PaymentController implements Refreshable try { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/FilterGUI.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent root = (Parent)fxmlLoader.load(); Stage newStage = new Stage(); newStage.initOwner(controller.getStage()); diff --git a/src/de/deadlocker8/budgetmaster/ui/controller/ReportController.java b/src/de/deadlocker8/budgetmaster/ui/controller/ReportController.java index 4df9f906d7cb447db75724e51eabe3d090e99d99..c216e026e687c80b45943dc376eb6739aa842764 100644 --- a/src/de/deadlocker8/budgetmaster/ui/controller/ReportController.java +++ b/src/de/deadlocker8/budgetmaster/ui/controller/ReportController.java @@ -454,6 +454,7 @@ public class ReportController implements Refreshable try { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/FilterGUI.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent root = (Parent)fxmlLoader.load(); Stage newStage = new Stage(); newStage.initOwner(controller.getStage()); diff --git a/src/de/deadlocker8/budgetmaster/ui/controller/SplashScreenController.java b/src/de/deadlocker8/budgetmaster/ui/controller/SplashScreenController.java index 5da3fecb5e6bc056b3efd12446fc0703cd462ed0..8fe0b27393c633a0d78c02940100fc66b9119abc 100644 --- a/src/de/deadlocker8/budgetmaster/ui/controller/SplashScreenController.java +++ b/src/de/deadlocker8/budgetmaster/ui/controller/SplashScreenController.java @@ -168,6 +168,7 @@ public class SplashScreenController try { FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/de/deadlocker8/budgetmaster/ui/fxml/GUI.fxml")); + fxmlLoader.setResources(Localization.getBundle()); Parent root = (Parent)fxmlLoader.load(); Stage newStage = new Stage(); newStage.setTitle(Localization.getString(Strings.APP_NAME)); diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/CategoryTab.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/CategoryTab.fxml index 308c45777eb5722cf94af3f6ade82e2659f4680b..0d2c84f888c5893648f1d0a230beb25108d3676e 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/CategoryTab.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/CategoryTab.fxml @@ -7,11 +7,11 @@ <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane fx:id="anchorPaneMain" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.CategoryController"> +<AnchorPane fx:id="anchorPaneMain" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.CategoryController"> <children> <VBox alignment="TOP_CENTER" layoutY="24.0" prefHeight="562.0" prefWidth="772.0" spacing="25.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="25.0"> <children> - <Button fx:id="buttonCategory" mnemonicParsing="false" onAction="#createNewCategory" text=" Neue Kategorie"> + <Button fx:id="buttonCategory" mnemonicParsing="false" onAction="#createNewCategory" text="%categorytab.button.category.new"> <font> <Font name="System Bold" size="14.0" /> </font> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/ChartTab.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/ChartTab.fxml index 608f46d85e4a54e45443bb67844ed7a22d49fdbb..ab0724e530f11de2eb3d70011eb58357220683d3 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/ChartTab.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/ChartTab.fxml @@ -17,7 +17,7 @@ <children> <Accordion fx:id="accordion" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="25.0"> <panes> - <TitledPane animated="false" text="Einnahmen/Ausgaben nach Kategorien"> + <TitledPane animated="false" text="%charttab.titlepane.chart.categories"> <content> <VBox spacing="20.0"> <children> @@ -25,7 +25,7 @@ <children> <HBox alignment="CENTER_RIGHT" spacing="10.0" HBox.hgrow="ALWAYS"> <children> - <Label text="Von:"> + <Label text="%charttab.label.start"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -38,7 +38,7 @@ </HBox> <HBox alignment="CENTER_LEFT" spacing="10.0" HBox.hgrow="ALWAYS"> <children> - <Label text="Bis:"> + <Label text="%charttab.label.end"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -78,7 +78,7 @@ <Font name="System Bold" size="12.0" /> </font> </TitledPane> - <TitledPane animated="false" text="Einnahmen/Ausgaben pro Monat"> + <TitledPane animated="false" text="%charttab.titlepane.chart.months"> <font> <Font name="System Bold" size="12.0" /> </font> @@ -91,7 +91,7 @@ <children> <HBox alignment="CENTER_RIGHT" spacing="10.0"> <children> - <Label prefHeight="25.0" prefWidth="45.0" text="Von:"> + <Label prefHeight="25.0" prefWidth="45.0" text="%charttab.label.end"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -102,7 +102,7 @@ </HBox> <HBox alignment="CENTER_LEFT" spacing="10.0"> <children> - <Label prefWidth="45.0" text="Bis:"> + <Label prefWidth="45.0" text="%charttab.label.end"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -115,11 +115,11 @@ </VBox> <HBox alignment="CENTER_LEFT" spacing="15.0" HBox.hgrow="ALWAYS"> <children> - <RadioButton fx:id="radioButtonBars" mnemonicParsing="false" text="Balken"> + <RadioButton fx:id="radioButtonBars" mnemonicParsing="false" text="%charttab.checkbox.bars"> <font> <Font size="14.0" /> </font></RadioButton> - <RadioButton fx:id="radioButtonLines" mnemonicParsing="false" text="Linien"> + <RadioButton fx:id="radioButtonLines" mnemonicParsing="false" text="%charttab.checkbox.lines"> <font> <Font size="14.0" /> </font></RadioButton> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/ExportChartGUI.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/ExportChartGUI.fxml index 1b0ad1292b4d9f91aeb8a40e0eccbdec22969c48..eb2edfe7b7c14c5afb8afa964dda58d653a0c0c6 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/ExportChartGUI.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/ExportChartGUI.fxml @@ -17,17 +17,17 @@ <children> <VBox alignment="TOP_RIGHT" prefHeight="125.0" prefWidth="99.0" spacing="15.0"> <children> - <Label text="Breite:"> + <Label text="%export.chart.label.width"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> - <Label text="Höhe:"> + <Label text="%export.chart.label.height"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> - <Label prefHeight="30.0" prefWidth="92.0" text="Speicherort:"> + <Label prefHeight="30.0" prefWidth="92.0" text="%export.chart.label.savepath"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -44,7 +44,7 @@ <HBox alignment="CENTER_LEFT" spacing="15.0"> <children> <Label fx:id="labelSavePath" maxWidth="1.7976931348623157E308" HBox.hgrow="ALWAYS" /> - <Button fx:id="buttonChooseFile" mnemonicParsing="false" onAction="#chooseFile" text="Ändern" /> + <Button fx:id="buttonChooseFile" mnemonicParsing="false" onAction="#chooseFile" text="%export.chart.button.change" /> </children> </HBox> </children> @@ -53,8 +53,8 @@ </HBox> <HBox alignment="CENTER" spacing="25.0" VBox.vgrow="ALWAYS"> <children> - <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text="Abbrechen" /> - <Button fx:id="buttonExport" mnemonicParsing="false" onAction="#export" text="Exportieren" /> + <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text="%cancel" /> + <Button fx:id="buttonExport" mnemonicParsing="false" onAction="#export" text="%export.chart.button.export" /> </children> </HBox> </children> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/FilterGUI.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/FilterGUI.fxml index 9d3e61437ca8cab1118bafc0503d88a40571e52c..804c5464c4dad4f4b0c18b3fd15ab910e0f46afb 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/FilterGUI.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/FilterGUI.fxml @@ -12,30 +12,30 @@ <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane prefHeight="600.0" prefWidth="450.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.FilterController"> +<AnchorPane prefHeight="600.0" prefWidth="450.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.FilterController"> <children> <VBox prefHeight="273.0" prefWidth="465.0" spacing="25.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0"> <children> - <Label text="Filtern nach:"> + <Label text="%filter.headline"> <font> <Font name="System Bold" size="18.0" /> </font> </Label> <VBox prefHeight="15.0" prefWidth="422.0" spacing="10.0"> <children> - <Label text="Art"> + <Label text="%filter.type"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> <HBox prefHeight="10.0" prefWidth="422.0" spacing="25.0"> <children> - <CheckBox fx:id="checkBoxIncome" mnemonicParsing="false" text="Einnahme"> + <CheckBox fx:id="checkBoxIncome" mnemonicParsing="false" text="%filter.type.income"> <font> <Font size="14.0" /> </font> </CheckBox> - <CheckBox fx:id="checkBoxPayment" mnemonicParsing="false" text="Ausgabe"> + <CheckBox fx:id="checkBoxPayment" mnemonicParsing="false" text="%filter.type.payment"> <font> <Font size="14.0" /> </font> @@ -46,22 +46,22 @@ </VBox> <VBox prefHeight="33.0" prefWidth="422.0" spacing="10.0"> <children> - <Label text="Wiederholung"> + <Label text="%filter.repeating"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> - <CheckBox fx:id="checkBoxNoRepeating" mnemonicParsing="false" text="keine Wiederholung"> + <CheckBox fx:id="checkBoxNoRepeating" mnemonicParsing="false" text="%filter.repeating.none"> <font> <Font size="14.0" /> </font> </CheckBox> - <CheckBox fx:id="checkBoxMonthlyRepeating" mnemonicParsing="false" text="monatlich"> + <CheckBox fx:id="checkBoxMonthlyRepeating" mnemonicParsing="false" text="%filter.repeating.monthday"> <font> <Font size="14.0" /> </font> </CheckBox> - <CheckBox fx:id="checkBoxRepeatEveryXDays" mnemonicParsing="false" text="alle X Tage"> + <CheckBox fx:id="checkBoxRepeatEveryXDays" mnemonicParsing="false" text="%filter.repeating.interval"> <font> <Font size="14.0" /> </font> @@ -72,18 +72,18 @@ <children> <HBox spacing="10.0"> <children> - <Label text="Kategorien"> + <Label text="%filter.categories"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> <Region prefWidth="200.0" HBox.hgrow="ALWAYS" /> - <Button fx:id="buttonCategoryAll" mnemonicParsing="false" onAction="#enableAllCategories" text="Alle"> + <Button fx:id="buttonCategoryAll" mnemonicParsing="false" onAction="#enableAllCategories" text="%filter.categories.button.all"> <font> <Font name="System Bold" size="13.0" /> </font> </Button> - <Button fx:id="buttonCategoryNone" mnemonicParsing="false" onAction="#disableAllCategories" text="Keine"> + <Button fx:id="buttonCategoryNone" mnemonicParsing="false" onAction="#disableAllCategories" text="%filter.categories.button.none"> <font> <Font name="System Bold" size="13.0" /> </font> @@ -99,7 +99,7 @@ </VBox> <VBox prefHeight="33.0" prefWidth="422.0" VBox.vgrow="ALWAYS"> <children> - <Label text="Name"> + <Label text="%filter.name"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -109,12 +109,12 @@ </VBox> <HBox alignment="CENTER" prefHeight="30.0" prefWidth="465.0" spacing="10.0"> <children> - <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text="Abbrechen"> + <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text="%cancel"> <font> <Font name="System Bold" size="14.0" /> </font> </Button> - <Button fx:id="buttonReset" mnemonicParsing="false" onAction="#reset" text="Zurücksetzen"> + <Button fx:id="buttonReset" mnemonicParsing="false" onAction="#reset" text="%filter.button.reset"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -122,7 +122,7 @@ <Insets left="25.0" /> </HBox.margin> </Button> - <Button fx:id="buttonFilter" mnemonicParsing="false" onAction="#filter" text="Filtern"> + <Button fx:id="buttonFilter" mnemonicParsing="false" onAction="#filter" text="%filter.button.filter"> <font> <Font name="System Bold" size="14.0" /> </font> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/GUI.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/GUI.fxml index f6f3815ef6f5ba9dd9ca2d798f357e9ba84f3767..61f0dd7e053fefc11112b9d13aa484192f427d2e 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/GUI.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/GUI.fxml @@ -24,7 +24,7 @@ </HBox.margin> </Region> <Button fx:id="buttonLeft" mnemonicParsing="false" onAction="#previousMonth" /> - <Label fx:id="labelMonth" alignment="CENTER" prefHeight="36.0" prefWidth="280.0" text="Dezember 2016" HBox.hgrow="ALWAYS"> + <Label fx:id="labelMonth" alignment="CENTER" prefHeight="36.0" prefWidth="280.0" HBox.hgrow="ALWAYS"> <font> <Font name="System Bold" size="24.0" /> </font> @@ -43,12 +43,12 @@ <children> <TabPane fx:id="tabPane" prefHeight="200.0" prefWidth="403.0" tabClosingPolicy="UNAVAILABLE"> <tabs> - <Tab fx:id="tabHome" closable="false" text="Startseite" /> - <Tab fx:id="tabPayments" closable="false" text="Buchungen" /> - <Tab fx:id="tabCategories" closable="false" text="Kategorien" /> - <Tab fx:id="tabCharts" closable="false" text="Diagramme" /> - <Tab fx:id="tabReports" closable="false" text="Monatsbericht" /> - <Tab fx:id="tabSettings" closable="false" text="Einstellungen" /> + <Tab fx:id="tabHome" closable="false" text="%gui.tab.home" /> + <Tab fx:id="tabPayments" closable="false" text="%gui.tab.payments" /> + <Tab fx:id="tabCategories" closable="false" text="%gui.tab.categories" /> + <Tab fx:id="tabCharts" closable="false" text="%gui.tab.charts" /> + <Tab fx:id="tabReports" closable="false" text="%gui.tab.report" /> + <Tab fx:id="tabSettings" closable="false" text="%gui.tab.settings" /> </tabs> </TabPane> <Label fx:id="labelNotification" alignment="CENTER" maxWidth="1.7976931348623157E308" /> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/HomeTab.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/HomeTab.fxml index 77674f01c5c45b86e088df7c7820cd59511f538d..98d51c305f73724459c7901ab6016e62749a643f 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/HomeTab.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/HomeTab.fxml @@ -8,7 +8,7 @@ <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane fx:id="anchorPaneMain" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.HomeController"> +<AnchorPane fx:id="anchorPaneMain" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.HomeController"> <children> <VBox alignment="TOP_CENTER" layoutY="24.0" prefHeight="562.0" prefWidth="772.0" spacing="15.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0"> <children> @@ -17,13 +17,13 @@ <Font name="System Bold" size="55.0" /> </font> </Label> - <Label fx:id="labelStartBudget" text="von 0,00 € verbleibend"> + <Label fx:id="labelStartBudget"> <font> <Font name="System Bold" size="18.0" /> </font> </Label> <ProgressBar fx:id="progressBar" prefHeight="18.0" prefWidth="380.0" progress="0.68" /> - <Label text="Verbrauch nach Kategorien"> + <Label text="%hometab.categorybudgets"> <font> <Font name="System Bold" size="16.0" /> </font> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/NewCategoryGUI.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/NewCategoryGUI.fxml index 0bb2bb676e02a1c6ef47e336022f7c151bb256f7..79d254ac6e5a082d329604da194b13e0959853a0 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/NewCategoryGUI.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/NewCategoryGUI.fxml @@ -9,7 +9,7 @@ <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane prefHeight="180.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.NewCategoryController"> +<AnchorPane prefHeight="180.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.NewCategoryController"> <children> <VBox prefHeight="273.0" prefWidth="465.0" spacing="25.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0"> <children> @@ -17,12 +17,12 @@ <children> <VBox> <children> - <Label prefHeight="29.0" prefWidth="125.0" text="Name:"> + <Label prefHeight="29.0" prefWidth="125.0" text="%category.new.label.name"> <font> <Font name="System Bold" size="14.0" /> </font> </Label> - <Label prefHeight="29.0" prefWidth="125.0" text="(max. 45 Zeichen)"> + <Label prefHeight="29.0" prefWidth="125.0" text="%category.new.label.max.characters"> <font> <Font size="11.0" /> </font> @@ -41,7 +41,7 @@ </HBox> <HBox alignment="CENTER_LEFT" prefHeight="30.0" prefWidth="465.0"> <children> - <Label prefHeight="29.0" prefWidth="125.0" text="Farbe:"> + <Label prefHeight="29.0" prefWidth="125.0" text="%category.new.label.color"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -55,12 +55,12 @@ </HBox> <HBox alignment="CENTER" prefHeight="30.0" prefWidth="465.0"> <children> - <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text=" Abbrechen"> + <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text="%cancel"> <font> <Font name="System Bold" size="14.0" /> </font> </Button> - <Button fx:id="buttonSave" mnemonicParsing="false" onAction="#save" text=" Speichern"> + <Button fx:id="buttonSave" mnemonicParsing="false" onAction="#save" text="%category.new.button.save"> <font> <Font name="System Bold" size="14.0" /> </font> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/NewPaymentGUI.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/NewPaymentGUI.fxml index 59b546bdf8234e1044cbada23c69a4be65192a08..10b33bc9a7b194359838fe0c51d9db4067d1a774 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/NewPaymentGUI.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/NewPaymentGUI.fxml @@ -16,7 +16,7 @@ <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane prefHeight="600.0" prefWidth="450.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.NewPaymentController"> +<AnchorPane prefHeight="600.0" prefWidth="450.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.NewPaymentController"> <children> <VBox prefHeight="273.0" prefWidth="465.0" spacing="20.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0"> <children> @@ -24,12 +24,12 @@ <children> <VBox> <children> - <Label prefHeight="29.0" prefWidth="125.0" text="Name:"> + <Label prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.name"> <font> <Font name="System Bold" size="14.0" /> </font> </Label> - <Label prefHeight="29.0" prefWidth="125.0" text="(max. 150 Zeichen)"> + <Label prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.max.characters"> <font> <Font size="11.0" /> </font> @@ -48,7 +48,7 @@ </HBox> <HBox alignment="CENTER_LEFT" prefHeight="30.0" prefWidth="465.0"> <children> - <Label prefHeight="29.0" prefWidth="125.0" text="Betrag:"> + <Label prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.amount"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -65,7 +65,7 @@ </HBox> <HBox alignment="CENTER_LEFT" prefHeight="30.0" prefWidth="465.0"> <children> - <Label prefHeight="29.0" prefWidth="125.0" text="Kategorie:"> + <Label prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.category"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -75,7 +75,7 @@ </HBox> <HBox alignment="CENTER_LEFT" prefHeight="30.0" prefWidth="465.0"> <children> - <Label prefHeight="29.0" prefWidth="125.0" text="Datum:"> + <Label prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.date"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -87,12 +87,12 @@ <children> <VBox alignment="CENTER_LEFT"> <children> - <Label prefHeight="29.0" prefWidth="125.0" text="Notiz:"> + <Label prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.description"> <font> <Font name="System Bold" size="14.0" /> </font> </Label> - <Label prefHeight="29.0" prefWidth="125.0" text="(max. 150 Zeichen)"> + <Label prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.max.characters"> <font> <Font size="11.0" /> </font> @@ -107,7 +107,7 @@ <HBox alignment="CENTER"> <children> <CheckBox fx:id="checkBoxRepeat" mnemonicParsing="false" /> - <Label alignment="CENTER" maxWidth="1.7976931348623157E308" prefHeight="29.0" prefWidth="125.0" text="Wiederholung:"> + <Label alignment="CENTER" maxWidth="1.7976931348623157E308" prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.repeating"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -123,13 +123,13 @@ <Insets bottom="10.0" /> </VBox.margin> </RadioButton> - <Label fx:id="labelText1" prefHeight="25.0" prefWidth="40.0" text="Alle"> + <Label fx:id="labelText1" prefHeight="25.0" prefWidth="40.0" text="%payment.new.label.repeating.all"> <font> <Font name="System Bold" size="14.0" /> </font> </Label> <Spinner fx:id="spinnerRepeatingPeriod" prefHeight="25.0" prefWidth="90.0" /> - <Label fx:id="labelText2" prefHeight="25.0" prefWidth="36.0" text="Tage"> + <Label fx:id="labelText2" prefHeight="25.0" prefWidth="36.0" text="%payment.new.label.repeating.days"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -147,7 +147,7 @@ <Insets bottom="10.0" /> </VBox.margin> </RadioButton> - <Label fx:id="labelText3" prefHeight="29.0" prefWidth="125.0" text="jeden Monat am:"> + <Label fx:id="labelText3" prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.repeating.monthday"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -167,7 +167,7 @@ </HBox> <HBox alignment="CENTER_LEFT" prefHeight="30.0" prefWidth="465.0"> <children> - <Label prefHeight="29.0" prefWidth="125.0" text="Enddatum:"> + <Label prefHeight="29.0" prefWidth="125.0" text="%payment.new.label.enddate"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -179,12 +179,12 @@ </VBox> <HBox alignment="CENTER" prefHeight="30.0" prefWidth="465.0"> <children> - <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text=" Abbrechen"> + <Button fx:id="buttonCancel" mnemonicParsing="false" onAction="#cancel" text="%cancel"> <font> <Font name="System Bold" size="14.0" /> </font> </Button> - <Button fx:id="buttonSave" mnemonicParsing="false" onAction="#save" text=" Speichern"> + <Button fx:id="buttonSave" mnemonicParsing="false" onAction="#save" text="%payment.new.button.save"> <font> <Font name="System Bold" size="14.0" /> </font> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/PaymentTab.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/PaymentTab.fxml index ede86bb05d9a96997b1a479b5fc72f38b06a12e0..24a4beca78889dd6dd5e8111c74f5c231b1a4a82 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/PaymentTab.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/PaymentTab.fxml @@ -10,13 +10,13 @@ <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane fx:id="anchorPaneMain" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.PaymentController"> +<AnchorPane fx:id="anchorPaneMain" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.PaymentController"> <children> <VBox alignment="TOP_CENTER" layoutY="24.0" prefHeight="562.0" prefWidth="772.0" spacing="25.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="25.0"> <children> <HBox prefHeight="11.0" prefWidth="772.0"> <children> - <Button fx:id="buttonNewIncome" mnemonicParsing="false" onAction="#newIncome" text=" Neue Einnahme"> + <Button fx:id="buttonNewIncome" mnemonicParsing="false" onAction="#newIncome" text="%paymenttab.button.new.income"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -24,12 +24,12 @@ <Region HBox.hgrow="ALWAYS" /> <VBox alignment="CENTER" spacing="10.0"> <children> - <Button fx:id="buttonFilter" mnemonicParsing="false" onAction="#filter" text="Filter"> + <Button fx:id="buttonFilter" mnemonicParsing="false" onAction="#filter" text="%paymenttab.button.filter"> <font> <Font name="System Bold" size="14.0" /> </font> </Button> - <Label fx:id="labelFilterActive" text="Filter aktiv"> + <Label fx:id="labelFilterActive" text="%paymenttab.label.filter.active"> <font> <Font name="System Bold" size="13.0" /> </font> @@ -37,7 +37,7 @@ </children> </VBox> <Region HBox.hgrow="ALWAYS" /> - <Button fx:id="buttonNewPayment" mnemonicParsing="false" onAction="#newPayment" text=" Neue Ausgabe"> + <Button fx:id="buttonNewPayment" mnemonicParsing="false" onAction="#newPayment" text="%paymenttab.button.new.payment"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -49,7 +49,7 @@ </HBox> <HBox alignment="CENTER" prefHeight="16.0" prefWidth="772.0"> <children> - <Label fx:id="labelIncome" prefHeight="27.0" text="Einnahmen:"> + <Label fx:id="labelIncome" prefHeight="27.0" text="%paymenttab.label.incomes"> <font> <Font name="System Bold" size="18.0" /> </font> @@ -63,7 +63,7 @@ </HBox.margin> </Label> <Region prefHeight="27.0" HBox.hgrow="ALWAYS" /> - <Label fx:id="labelPayment" prefHeight="27.0" text="Ausgaben:"> + <Label fx:id="labelPayment" prefHeight="27.0" text="%paymenttab.label.payments"> <font> <Font name="System Bold" size="18.0" /> </font> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/ReportTab.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/ReportTab.fxml index 35239f67f597ccd7771823c28e4fed449228c04d..45f4fa37912f585517a53dc93994f6d9a7436bb4 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/ReportTab.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/ReportTab.fxml @@ -18,12 +18,12 @@ <children> <VBox alignment="CENTER" spacing="10.0"> <children> - <Button fx:id="buttonFilter" mnemonicParsing="false" onAction="#filter" text="Filter"> + <Button fx:id="buttonFilter" mnemonicParsing="false" onAction="#filter" text="%paymenttab.button.filter"> <font> <Font name="System Bold" size="14.0" /> </font> </Button> - <Label fx:id="labelFilterActive" text="Filter aktiv"> + <Label fx:id="labelFilterActive" text="%paymenttab.label.filter.active"> <font> <Font name="System Bold" size="13.0" /> </font> @@ -39,9 +39,9 @@ <children> <VBox spacing="10.0"> <children> - <CheckBox fx:id="checkBoxIncludeBudget" mnemonicParsing="false" text="Budgetkalkulation hinzufügen" /> - <CheckBox fx:id="checkBoxSplitTable" mnemonicParsing="false" text="Einnahmen und Ausgaben als getrennte Tabellen" /> - <CheckBox fx:id="checkBoxIncludeCategoryBudgets" mnemonicParsing="false" text="Verbrauch nach Kategorien hinzufügen" /> + <CheckBox fx:id="checkBoxIncludeBudget" mnemonicParsing="false" text="%reporttab.checkbox.include.budget" /> + <CheckBox fx:id="checkBoxSplitTable" mnemonicParsing="false" text="%reporttab.checkbox.split.tables" /> + <CheckBox fx:id="checkBoxIncludeCategoryBudgets" mnemonicParsing="false" text="%reporttab.checkbox.inclue.categorybudgets" /> </children> </VBox> </children> @@ -57,7 +57,7 @@ <children> <VBox alignment="CENTER" spacing="10.0"> <children> - <Button fx:id="buttonGenerate" mnemonicParsing="false" onAction="#generate" text="Bericht erzeugen"> + <Button fx:id="buttonGenerate" mnemonicParsing="false" onAction="#generate" text="%reporttab.button.generate.report"> <font> <Font name="System Bold" size="14.0" /> </font> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/SettingsTab.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/SettingsTab.fxml index 29b7eeb2ed092f59d70fcf8ca7c0908ca3192bf7..96f3f6aed567868a15d4d358698577ce8057cb85 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/SettingsTab.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/SettingsTab.fxml @@ -12,7 +12,7 @@ <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane fx:id="anchorPaneMain" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.SettingsController"> +<AnchorPane fx:id="anchorPaneMain" prefHeight="600.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.SettingsController"> <children> <VBox alignment="TOP_CENTER" layoutY="24.0" prefHeight="562.0" prefWidth="772.0" spacing="25.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="25.0"> <children> @@ -20,12 +20,12 @@ <children> <VBox alignment="CENTER_RIGHT" prefHeight="25.0" prefWidth="158.0" spacing="20.0"> <children> - <Label fx:id="labelClientSecret" prefHeight="25.0" text="Client Passwort:"> + <Label fx:id="labelClientSecret" prefHeight="25.0" text="%settingstab.label.secret.client"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> - <Label fx:id="labelURL" prefHeight="25.0" text="Server URL:"> + <Label fx:id="labelURL" prefHeight="25.0" text="%settingstab.label.url"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -33,22 +33,22 @@ <Insets /> </VBox.margin> </Label> - <Label fx:id="labelSecret" prefHeight="25.0" text="Server Passwort:"> + <Label fx:id="labelSecret" prefHeight="25.0" text="%settingstab.label.secret.server"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> - <Label fx:id="labelCurrency" prefHeight="25.0" text="Währung:"> + <Label fx:id="labelCurrency" prefHeight="25.0" text="%settingstab.label.currency"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> - <Label fx:id="labelSecret11" prefHeight="25.0" text="Übertrag:"> + <Label fx:id="labelSecret11" prefHeight="25.0" text="%settingstab.label.rest"> <font> <Font name="System Bold" size="16.0" /> </font> </Label> - <Label fx:id="labelSecret111" alignment="CENTER_RIGHT" contentDisplay="RIGHT" maxHeight="-Infinity" minHeight="60.0" prefWidth="158.0" text="Vertrauenswürdige Hosts:" textAlignment="RIGHT" wrapText="true"> + <Label fx:id="labelSecret111" alignment="CENTER_RIGHT" contentDisplay="RIGHT" maxHeight="-Infinity" minHeight="60.0" prefWidth="158.0" text="%settingstab.label.trusted.hosts" textAlignment="RIGHT" wrapText="true"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -56,7 +56,7 @@ <Insets top="-5.0" /> </VBox.margin> </Label> - <Label fx:id="labelSecret1111" alignment="CENTER" contentDisplay="CENTER" maxHeight="-Infinity" text="(ein Host pro Zeile)" textAlignment="CENTER" wrapText="true" VBox.vgrow="ALWAYS"> + <Label fx:id="labelSecret1111" alignment="CENTER" contentDisplay="CENTER" maxHeight="-Infinity" text="%settingstab.label.trusted.hosts.info" textAlignment="CENTER" wrapText="true" VBox.vgrow="ALWAYS"> <font> <Font size="14.0" /> </font> @@ -64,7 +64,7 @@ <Insets top="-20.0" /> </VBox.margin> </Label> - <Label fx:id="labelSecret1112" alignment="CENTER_RIGHT" contentDisplay="RIGHT" maxHeight="-Infinity" prefWidth="158.0" text="Datenbank:" textAlignment="RIGHT" wrapText="true"> + <Label fx:id="labelSecret1112" alignment="CENTER_RIGHT" contentDisplay="RIGHT" maxHeight="-Infinity" prefWidth="158.0" text="%settingstab.label.database" textAlignment="RIGHT" wrapText="true"> <font> <Font name="System Bold" size="16.0" /> </font> @@ -94,7 +94,7 @@ <TextField fx:id="textFieldCurrency" /> <HBox alignment="CENTER" prefHeight="11.0" prefWidth="539.0" spacing="30.0"> <children> - <RadioButton fx:id="radioButtonRestActivated" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="aktiviert"> + <RadioButton fx:id="radioButtonRestActivated" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="%settingstab.label.rest.activated"> <font> <Font size="14.0" /> </font> @@ -102,7 +102,7 @@ <Insets /> </HBox.margin> </RadioButton> - <RadioButton fx:id="radioButtonRestDeactivated" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="deaktiviert" HBox.hgrow="ALWAYS"> + <RadioButton fx:id="radioButtonRestDeactivated" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="%settingstab.label.rest.deactivated" HBox.hgrow="ALWAYS"> <font> <Font size="14.0" /> </font> @@ -115,17 +115,17 @@ </VBox.margin></TextArea> <HBox alignment="CENTER_LEFT" prefHeight="11.0" prefWidth="539.0" spacing="30.0"> <children> - <Button fx:id="buttonExportDB" mnemonicParsing="false" onAction="#exportDB" text="Exportieren"> + <Button fx:id="buttonExportDB" mnemonicParsing="false" onAction="#exportDB" text="%settingstab.button.database.export"> <font> <Font name="System Bold" size="14.0" /> </font> </Button> - <Button fx:id="buttonImportDB" mnemonicParsing="false" onAction="#importDB" text="Importieren"> + <Button fx:id="buttonImportDB" mnemonicParsing="false" onAction="#importDB" text="%settingstab.button.database.import"> <font> <Font name="System Bold" size="14.0" /> </font> </Button> - <Button fx:id="buttonDeleteDB" mnemonicParsing="false" onAction="#deleteDB" text="Löschen"> + <Button fx:id="buttonDeleteDB" mnemonicParsing="false" onAction="#deleteDB" text="%settingstab.button.database.delete"> <font> <Font name="System Bold" size="14.0" /> </font> @@ -135,7 +135,7 @@ <Insets /> </VBox.margin> </HBox> - <Button fx:id="buttonSave" mnemonicParsing="false" onAction="#save" text="Speichern"> + <Button fx:id="buttonSave" mnemonicParsing="false" onAction="#save" text="%settings.tab.button.save"> <font> <Font name="System Bold" size="14.0" /> </font> diff --git a/src/de/deadlocker8/budgetmaster/ui/fxml/SplashScreen.fxml b/src/de/deadlocker8/budgetmaster/ui/fxml/SplashScreen.fxml index a028fad4e6d8894c5b51a38db79102ceed5b2f5d..33be9b46c1128aff1c773bccfcf44d8f26b93c15 100644 --- a/src/de/deadlocker8/budgetmaster/ui/fxml/SplashScreen.fxml +++ b/src/de/deadlocker8/budgetmaster/ui/fxml/SplashScreen.fxml @@ -10,7 +10,7 @@ <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> -<AnchorPane fx:id="anchorPaneMain" prefHeight="230.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.SplashScreenController"> +<AnchorPane fx:id="anchorPaneMain" prefHeight="230.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.controller.SplashScreenController"> <children> <VBox layoutX="14.0" layoutY="14.0" spacing="10.0" AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0"> <children> @@ -22,7 +22,7 @@ </HBox.margin></ImageView> <VBox alignment="CENTER" HBox.hgrow="ALWAYS"> <children> - <Label alignment="CENTER" maxWidth="1.7976931348623157E308" text="BudgetMaster"> + <Label alignment="CENTER" maxWidth="1.7976931348623157E308" text="%app.name"> <font> <Font name="System Bold" size="25.0" /> </font> @@ -38,7 +38,7 @@ </HBox> <HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0" spacing="20.0"> <children> - <Label text="Passwort:"> + <Label text="%splashscreen.label.password"> <font> <Font name="System Bold" size="16.0" /> </font>