From 1b9b201da92b8ff1ca376bdccefab2ec4bbad8bf Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 17 Nov 2020 12:29:56 +0100 Subject: [PATCH] minor message fix --- .../sebserver/gui/service/page/impl/ComposerServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/page/impl/ComposerServiceImpl.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/page/impl/ComposerServiceImpl.java index 9b4b1edc..ae8e83b8 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/page/impl/ComposerServiceImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/page/impl/ComposerServiceImpl.java @@ -22,6 +22,7 @@ import org.springframework.context.annotation.Lazy; import org.springframework.stereotype.Service; import ch.ethz.seb.sebserver.gbl.profile.GuiProfile; +import ch.ethz.seb.sebserver.gbl.util.Utils; import ch.ethz.seb.sebserver.gui.service.i18n.I18nSupport; import ch.ethz.seb.sebserver.gui.service.i18n.LocTextKey; import ch.ethz.seb.sebserver.gui.service.page.ComposerService; @@ -131,7 +132,7 @@ public class ComposerServiceImpl implements ComposerService { final MessageBox logoutSuccess = new Message( pageContext.getShell(), this.i18nSupport.getText("sebserver.logout"), - this.i18nSupport.getText("sebserver.logout.invalid-session.message"), + Utils.formatLineBreaks(this.i18nSupport.getText("sebserver.logout.invalid-session.message")), SWT.ICON_INFORMATION, this.i18nSupport); logoutSuccess.open(null);