Language dev #52
|
@ -36,9 +36,9 @@ public class LanguageConfigurator {
|
|||
//Tournamentlist
|
||||
germanDictionary.put("tournamentListTitle","Bestehende Turniere");
|
||||
englishDictionary.put("tournamentListTitle","Existing tournaments");
|
||||
germanDictionary.put("openBtn","Öffnen");
|
||||
germanDictionary.put("openBtn","Oeffnen");
|
||||
englishDictionary.put("openBtn","Open");
|
||||
germanDictionary.put("deleteBtn","Löschen");
|
||||
germanDictionary.put("deleteBtn","Loeschen");
|
||||
englishDictionary.put("deleteBtn","Delete");
|
||||
germanDictionary.put("newTournamentFormularTitle","Neues Turnier erstellen");
|
||||
englishDictionary.put("newTournamentFormularTitle","Create new tournament");
|
||||
|
@ -49,12 +49,14 @@ public class LanguageConfigurator {
|
|||
germanDictionary.put("createBtn","Erstellen");
|
||||
englishDictionary.put("createBtn","Create");
|
||||
//PlaceList
|
||||
germanDictionary.put("placeListTitle","Hinzugefügt");
|
||||
germanDictionary.put("placeListTitle","Hinzugefuegt");
|
||||
englishDictionary.put("placeListTitle","Added");
|
||||
germanDictionary.put("saveBtn","Speichern");
|
||||
englishDictionary.put("saveBtn","Save");
|
||||
germanDictionary.put("newplaceFormularTitle","Ort ändern/erstellen");
|
||||
englishDictionary.put("newplaceFormularTitle","Location change/create");
|
||||
germanDictionary.put("newPlaceTitle","Ort aendern/erstellen");
|
||||
englishDictionary.put("newPlaceTitle","Location change/create");
|
||||
germanDictionary.put("placeNameLabel","Ort:");
|
||||
englishDictionary.put("placeNameLabel","Location:");
|
||||
//GameSchedule
|
||||
germanDictionary.put("treeView","Baumansicht");
|
||||
englishDictionary.put("treeView","Treeview");
|
||||
|
@ -67,9 +69,9 @@ public class LanguageConfigurator {
|
|||
germanDictionary.put("closeTournamentBtn","Turnier schliessen");
|
||||
englishDictionary.put("closeTournamentBtn","Close tournament");
|
||||
//ParticipantFormular
|
||||
germanDictionary.put("participantListTitle","Hinzugefügt");
|
||||
germanDictionary.put("participantListTitle","Hinzugefuegt");
|
||||
englishDictionary.put("participantListTitle","Added");
|
||||
germanDictionary.put("newParticipantFormularTitle","Teilnehmer ändern/erstellen");
|
||||
germanDictionary.put("newParticipantFormularTitle","Teilnehmer aendern/erstellen");
|
||||
englishDictionary.put("newParticipantFormularTitle","Participant change/create");
|
||||
germanDictionary.put("participantNameLabel","Name:");
|
||||
englishDictionary.put("participantNameLabel","Name:");
|
||||
|
|
|
@ -11,22 +11,9 @@ import javafx.scene.control.Label;
|
|||
import javafx.scene.control.ListView;
|
||||
import javafx.scene.control.TextField;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.layout.VBox;
|
||||
|
||||
public class PlacesFormularController extends FXController {
|
||||
|
||||
@FXML
|
||||
private Button addBtn;
|
||||
|
||||
@FXML
|
||||
private VBox changeBtn;
|
||||
|
||||
@FXML
|
||||
private GridPane grid;
|
||||
|
||||
@FXML
|
||||
private Label newPlaceFormularTitle;
|
||||
|
||||
@FXML
|
||||
private Button closeBtn;
|
||||
|
@ -34,6 +21,8 @@ public class PlacesFormularController extends FXController {
|
|||
@FXML
|
||||
private Button deleteBtn;
|
||||
|
||||
@FXML
|
||||
private Label newPlaceTitle;
|
||||
|
||||
@FXML
|
||||
private Label placeListTitle;
|
||||
|
@ -53,13 +42,12 @@ public class PlacesFormularController extends FXController {
|
|||
@Override
|
||||
public void shareGUIElementWithLanguageConfigurator() {
|
||||
getLanguageConfigurator().recieveLabel(placeListTitle);
|
||||
getLanguageConfigurator().recieveLabel(newPlaceFormularTitle);
|
||||
getLanguageConfigurator().recieveLabel(newPlaceTitle);
|
||||
getLanguageConfigurator().recieveLabel(placeNameLabel);
|
||||
getLanguageConfigurator().recieveLabel(closeBtn);
|
||||
getLanguageConfigurator().recieveLabel(deleteBtn);
|
||||
getLanguageConfigurator().recieveLabel(saveBtn);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
|
|
|
@ -1,11 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ListView?>
|
||||
<?import javafx.scene.control.Separator?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<HBox alignment="CENTER" VBox.vgrow="ALWAYS" xmlns="http://javafx.com/javafx/11.0.2" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ch.zhaw.projekt2.turnierverwaltung.main.placesAddFormular.PlacesFormularController">
|
||||
<HBox alignment="CENTER" VBox.vgrow="ALWAYS" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ch.zhaw.projekt2.turnierverwaltung.main.placesAddFormular.PlacesFormularController">
|
||||
<children>
|
||||
<VBox alignment="TOP_CENTER" prefHeight="331.0" prefWidth="308.0" HBox.hgrow="ALWAYS">
|
||||
<children>
|
||||
|
@ -48,7 +56,7 @@
|
|||
</Separator>
|
||||
<VBox fx:id="changeBtn" alignment="TOP_CENTER" prefHeight="331.0" prefWidth="308.0" HBox.hgrow="ALWAYS">
|
||||
<children>
|
||||
<Label fx:id="newplaceFormularTitle" text="Ort ändern/erstellen">
|
||||
<Label fx:id="newPlaceTitle" text="Ort ändern/erstellen">
|
||||
<font>
|
||||
<Font name="System Bold" size="21.0" />
|
||||
</font>
|
||||
|
|
Loading…
Reference in New Issue