From b723769e6596d07e02202190edc4fa233b3ac39c Mon Sep 17 00:00:00 2001 From: Marcus Wolschon Date: Thu, 28 Oct 2010 14:37:48 +0000 Subject: [PATCH] translated "unable to connect". --- res/values-de/strings.xml | 1 + res/values/strings.xml | 1 + src/com/fsck/k9/mail/store/ImapStore.java | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml index f19949cc6..0c79b2a3b 100644 --- a/res/values-de/strings.xml +++ b/res/values-de/strings.xml @@ -961,4 +961,5 @@ Willkommen zum \"K-9 Mail\"-Setup. K-9 ist eine quelloffene E-Mail-Anwendung fü Debug-Meldungen werden mit Hilfe des Android-Logging-Systems aufgezeichnet. + Verbindungsfehler. diff --git a/res/values/strings.xml b/res/values/strings.xml index 5df7eaa6f..7ddffe7d0 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -980,4 +980,5 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin » + Unable to connect. diff --git a/src/com/fsck/k9/mail/store/ImapStore.java b/src/com/fsck/k9/mail/store/ImapStore.java index 00eb4376e..edc72e276 100644 --- a/src/com/fsck/k9/mail/store/ImapStore.java +++ b/src/com/fsck/k9/mail/store/ImapStore.java @@ -8,6 +8,7 @@ import android.os.PowerManager; import android.util.Log; import com.fsck.k9.Account; import com.fsck.k9.K9; +import com.fsck.k9.R; import com.fsck.k9.controller.MessageRetrievalListener; import com.fsck.k9.helper.Utility; import com.fsck.k9.helper.power.TracingPowerManager; @@ -380,7 +381,7 @@ public class ImapStore extends Store } catch (IOException ioe) { - throw new MessagingException("Unable to connect.", ioe); + throw new MessagingException(K9.app.getString(R.string.error_unable_to_connect), ioe); } }