summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-10-08 17:35:58 +0200
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-10-08 17:42:25 +0200
commitd5047c5466931cfdd799c8501cf9ddb18b304787 (patch)
tree15c7ffdd5fed850efb616edebe825bc2d6f26b21
parentac590679a176f1663f7bbdf7ca65d1ba4ba669ad (diff)
downloadmocca-d5047c5466931cfdd799c8501cf9ddb18b304787.tar.gz
mocca-d5047c5466931cfdd799c8501cf9ddb18b304787.tar.bz2
mocca-d5047c5466931cfdd799c8501cf9ddb18b304787.zip
Wrap about text
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java4
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties2
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties2
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 <a>http://demo.a-sit.at/lizenzbedingungen/</a>.\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 <a>http://demo.a-sit.at/lizenzbedingungen/</a>.\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 <a>http://demo.a-sit.at/lizenzbedingungen/</a>.\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 <a>http://demo.a-sit.at/lizenzbedingungen/</a>.\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