From d5047c5466931cfdd799c8501cf9ddb18b304787 Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Thu, 8 Oct 2015 17:35:58 +0200 Subject: Wrap about text --- .../java/at/asit/pdfover/gui/composites/ConfigurationComposite.java | 4 +++- .../src/main/resources/at/asit/pdfover/gui/messages.properties | 2 +- .../src/main/resources/at/asit/pdfover/gui/messages_de.properties | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java index ca61d098..f5809aaa 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java @@ -305,12 +305,13 @@ public class ConfigurationComposite extends StateComposite { grpAbout.setFont(new Font(Display.getCurrent(), fD_grpAbout[0]));*/ - this.lnkAbout = new Link(this, SWT.NONE); + this.lnkAbout = new Link(this, SWT.WRAP); FormData fd_lnkAbout = new FormData(); fd_lnkAbout.right = new FormAttachment(100, -5); fd_lnkAbout.left = new FormAttachment(0, 5); fd_lnkAbout.top = new FormAttachment(0, 5); + fd_lnkAbout.width = 100; this.lnkAbout.setLayoutData(fd_lnkAbout); FontData[] fD_lnkAbout = this.lnkAbout.getFont().getFontData(); @@ -337,6 +338,7 @@ public class ConfigurationComposite extends StateComposite { } } }); + // Load localized strings reloadResources(); } diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties index 9b00bccc..7502163c 100644 --- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties +++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties @@ -82,7 +82,7 @@ common.info=Information common.open=Open common.warning=Warning config.About=A&bout %s -config.AboutText=This software is freely provided by A-SIT under the conditions of the EUPL.\nTerms and details at http://demo.a-sit.at/lizenzbedingungen/.\n\nNotice that components can have different licenses,\npartly restricting their free use to EUPL-licensed software. +config.AboutText=This software is freely provided by A-SIT under the conditions of the EUPL.\nTerms and details at http://demo.a-sit.at/lizenzbedingungen/.\n\nNotice that components can have different licenses, partly restricting their free use to EUPL-licensed software. config.Advanced=Ad&vanced config.Simple=Basi&c dataSourceSelection.DropLabel=Drag document here diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties index 0463a302..49359c64 100644 --- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties +++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties @@ -82,7 +82,7 @@ common.info=Information common.open=\u00D6ffnen common.warning=Warnung config.About=\u00DC&ber %s -config.AboutText=Diese Software wird von A-SIT unter den Bedingungen der EUPL frei zur Verfügung gestellt.\nLizenbedingungen unter http://demo.a-sit.at/lizenzbedingungen/.\n\nBeachten Sie, dass Komponenten unter eigenen Lizenzen zur Verfügung gestellt werden,\ndie teilweise nur für EUPL-lizensierte Software zur freien Verwendung vorgesehen sind. +config.AboutText=Diese Software wird von A-SIT unter den Bedingungen der EUPL frei zur Verfügung gestellt.\nLizenbedingungen unter http://demo.a-sit.at/lizenzbedingungen/.\n\nBeachten Sie, dass Komponenten unter eigenen Lizenzen zur Verfügung gestellt werden, die teilweise nur für EUPL-lizensierte Software zur freien Verwendung vorgesehen sind. config.Advanced=Er&weitert config.Simple=&Einfach dataSourceSelection.DropLabel=Dokument hierher ziehen -- cgit v1.2.3