summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-gui/src/main/resources
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2012-11-08 15:20:36 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2012-11-08 15:44:15 +0100
commitf96124e6f9acc33adca970b2b5aee9349caa7ce9 (patch)
tree5656a936c89e4c1c7a3bf079e30304436fbade98 /trunk/pdf-over-gui/src/main/resources
parent6425ee76cabb09ddcfea54cde6693f456e09c4e9 (diff)
downloadpdf-over-f96124e6f9acc33adca970b2b5aee9349caa7ce9.tar.gz
pdf-over-f96124e6f9acc33adca970b2b5aee9349caa7ce9.tar.bz2
pdf-over-f96124e6f9acc33adca970b2b5aee9349caa7ce9.zip
+ error message if manual positioning fails ...
+ fixed mac start script + fixed signature block size with auto positioning
Diffstat (limited to 'trunk/pdf-over-gui/src/main/resources')
-rw-r--r--trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties1
-rw-r--r--trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties1
-rw-r--r--trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh4
3 files changed, 4 insertions, 2 deletions
diff --git a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
index ed8c666f..a0510ec9 100644
--- a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
+++ b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
@@ -81,6 +81,7 @@ error.Unexpected=Unexpected Error
error.title=Error
error.MayNotBeAPDF=This may not be a PDF File
error.InvalidLocale=Locale not valid
+error.PositioningNotPossible=Manual positioning currently not possible due to a Java Bug. Using automatic positioning.
exception.InvalidEmblemFile=%s is an invalid signature logo file!
exception.InvalidPort=%s is invalid: has to be a number between %d and %d
exception.PasswordTooLong=Given password is too long!
diff --git a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
index af4cc6c6..df95a8fb 100644
--- a/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
+++ b/trunk/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
@@ -81,6 +81,7 @@ error.Unexpected=Unerwarteter Fehler
error.title=Fehler
error.MayNotBeAPDF=Dies ist möglicherweise keine PDF Datei
error.InvalidLocale=Ungültige Sprache
+error.PositioningNotPossible=Positionsauswahl ist im Moment nicht verfügbar wegen eines Java Fehlers. Die Position wird automatisch bestimmt.
exception.InvalidEmblemFile=%s ist eine ungültige Bildmarken-Datei!
exception.InvalidPort=%s ist ungültig: muss eine Nummer zwischen %d und %d sein.
exception.PasswordTooLong=Eingegebenes Passwort ist zu lange!
diff --git a/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh b/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
index a3f0e8da..c7be27d4 100644
--- a/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
+++ b/trunk/pdf-over-gui/src/main/resources/scripts/pdfover_mac.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-BASEDIR=`dirname $0`
-(cd $BASEDIR/.. && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@")
+BASEDIR=$(cd "$(dirname "$0")"; pwd)
+(cd $BASEDIR/PDFOver/Contents && exec java -XstartOnFirstThread -cp "lib/*" at.asit.pdfover.gui.Main "$@")