From bf04fba3b1ff92b4288c37c474c8e4b9d4e2e342 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Thu, 14 Jul 2022 13:27:06 +0200 Subject: better error message if internet connection is unavailable cf. #47 --- pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties | 1 + .../src/main/resources/at/asit/pdfover/gui/messages_de.properties | 1 + 2 files changed, 2 insertions(+) (limited to 'pdf-over-gui/src/main/resources/at/asit') 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 2423d621..e8724ac7 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 @@ -130,6 +130,7 @@ dataSourceSelection.browse=&Browse for PDF on your computer dataSourceSelection.usePlaceholderText=A marker has been found where the creator of the document wants you to put your signature. Do you want to use it? dataSourceSelection.usePlaceholderTitle=Info error.ATrustConnection=Connection to A-Trust could not be established +error.CouldNotResolveHostname=Could not resolve hostname '%s'.\nAre you connected to the internet? error.CmdLineArgs=Error parsing the command-line arguments\: error.Details=Details error.EnteredReferenceValue=You entered the reference value\! 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 3ef421c0..355720ab 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 @@ -159,6 +159,7 @@ error.Title=Fehler error.TitleFatal=Fataler Fehler error.Unexpected=Unerwarteter Fehler error.ATrustConnection=Verbindung zu A-Trust konnte nicht aufgebaut werden +error.CouldNotResolveHostname=Server '%s' wurde nicht gefunden.\nÜberprüfen Sie Ihre Internetverbindung. 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\! -- cgit v1.2.3