summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageTypePageLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageTypePageLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageTypePageLayout.java18
1 files changed, 7 insertions, 11 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageTypePageLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageTypePageLayout.java
index 7dac1103..c9f3bf34 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageTypePageLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ImageTypePageLayout.java
@@ -1,6 +1,7 @@
package org.openslx.dozmod.gui.wizard.layout;
import org.openslx.dozmod.gui.helper.GridManager;
+import org.openslx.dozmod.gui.helper.I18n;
import org.openslx.dozmod.gui.wizard.Wizard;
import org.openslx.dozmod.gui.wizard.WizardPage;
@@ -17,33 +18,28 @@ public abstract class ImageTypePageLayout extends WizardPage {
*/
public ImageTypePageLayout(Wizard wizard) {
- super(wizard, "Wähle Image Type");
- setDescription("Möchten Sie eine VM oder ein Docker Image definieren?");
+ super(wizard, I18n.PAGE_LAYOUT.getString("ImageTypePageLayout.WizardPage.title"));
+ setDescription(I18n.PAGE_LAYOUT.getString("ImageTypePageLayout.WizardPage.description"));
GridManager grid = new GridManager(this, 4, false);
// Choose between new vm or new docker-image
txtInfoText = new JTextArea();
- txtInfoText.setBorder(BorderFactory.createTitledBorder("Hinweis"));
+ txtInfoText.setBorder(BorderFactory.createTitledBorder(I18n.PAGE_LAYOUT.getString("ImageTypePageLayout.newVmInformation.border")));
txtInfoText.setLineWrap(true);
txtInfoText.setWrapStyleWord(true);
txtInfoText.setEditable(false);
txtInfoText.setFocusable(false);
txtInfoText.setOpaque(false);
- txtInfoText.setText("Hier haben Sie die Möglichkeit ein neues Image als VM oder Container (Docker) "
- + "zu definieren.\n\n"
- + "Sie besitzen derzeit eine Entwicklungsstand der bwLehrpool Suite, in der sämtliche "
- + "Funktionalitäten zur Erstellung und Verwaltung von Container Images in Entwicklung sind. "
- + "Diese Funktionen können sich in späteren Versionen ändern und somit ihre erstellten Images "
- + "inkompatibel machen.");
+ txtInfoText.setText(I18n.PAGE_LAYOUT.getString("ImageTypePageLayout.newVmInformation.text"));
grid.add(txtInfoText, 4).fill(true, false).expand(true, false);
grid.nextRow();
grid.nextRow();
// -- New VM Pick--
- btnNewVmImage = new JButton("New VM");
+ btnNewVmImage = new JButton(I18n.PAGE_LAYOUT.getString("ImageTypePageLayout.button.newVM"));
grid.add(btnNewVmImage, 2, 2).fill(true, true).expand(true, true);
// -- New Docker-Image Pick--
- btnNewDockerImage = new JButton("new Docker-Image");
+ btnNewDockerImage = new JButton(I18n.PAGE_LAYOUT.getString("ImageTypePageLayout.button.newDocker"));
grid.add(btnNewDockerImage, 2, 2).fill(true, true).expand(true, true);
grid.finish(false);