From e025340c3e3056ca050b52ad05271a43846a2642 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 31 Jan 2019 16:22:50 +0100 Subject: [client] introduce branding, --dump and --pack Application name, service name, master server endpoints, documentation websites needed to be configurable to allow for an easy rebranding of the suite. Two new options allow this: use '--dump ' to dump the jar's configurable files into that folder. Aside from text templates in 'txt', logos and icons in 'img', the 'branding.properties' file contains: * masterserver.address : self-explanatory * application.name : name to be shown on graphical elements like the main window * service.name : name to be used as a prefix for formulation like 'bwLehrpool-Team' or 'bwLehrpool-System' etc * service.faq.website : link to FAQ website * service.email : support contact address Once edited, the whole folder can be integrated into the Suite with '--pack '. The path to the new jar is then the rebranded version of the suite. --- .../org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java') diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java index 6370e204..9bac2a17 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/page/ImageUploadSummaryPage.java @@ -6,6 +6,7 @@ import java.awt.Window; import org.apache.log4j.Logger; import org.openslx.bwlp.thrift.iface.ImageSummaryRead; import org.openslx.bwlp.thrift.iface.TransferState; +import org.openslx.dozmod.Branding; import org.openslx.dozmod.filetransfer.TransferEvent; import org.openslx.dozmod.filetransfer.TransferEventListener; import org.openslx.dozmod.gui.Gui; @@ -14,7 +15,6 @@ import org.openslx.dozmod.gui.wizard.LectureWizard; import org.openslx.dozmod.gui.wizard.Wizard; import org.openslx.dozmod.gui.wizard.layout.ImageUploadSummaryPageLayout; import org.openslx.dozmod.state.UploadWizardState; -import org.openslx.dozmod.thrift.ThriftActions; import org.openslx.dozmod.thrift.UploadInitiator.UploadInitState; import org.openslx.dozmod.thrift.cache.ImageCache; import org.openslx.util.QuickTimer; @@ -99,7 +99,7 @@ public class ImageUploadSummaryPage extends ImageUploadSummaryPageLayout { text = "Die Initialisierung des Uploads auf den Server ist fehlgeschlagen." + " Sie können versuchen, den Vorgang erneut zu starten." + " Falls das Problem weiterhin besteht," - + " kontaktieren Sie den bwLehrpool-Support Ihrer Einrichtung."; + + " kontaktieren Sie den " + Branding.getServiceName() + "-Support Ihrer Einrichtung."; if (state.upload.getErrorMessage() != null) { text += "

Weitere Informationen:
" + state.upload.getErrorMessage(); } -- cgit v1.2.3-55-g7522