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