translated "unable to connect".

This commit is contained in:
Marcus Wolschon 2010-10-28 14:37:48 +00:00
parent 0876c319e8
commit b723769e65
3 changed files with 4 additions and 1 deletions

View file

@ -961,4 +961,5 @@ Willkommen zum \"K-9 Mail\"-Setup. K-9 ist eine quelloffene E-Mail-Anwendung fü
<string name="debug_logging_enabled">Debug-Meldungen werden mit Hilfe des Android-Logging-Systems aufgezeichnet.</string>
<string name="error_unable_to_connect">Verbindungsfehler.</string>
</resources>

View file

@ -980,4 +980,5 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin
<string name="messagelist_sent_to_me_sigil">»</string>
<string name="messagelist_sent_cc_me_sigil"></string>
<string name="error_unable_to_connect">Unable to connect.</string>
</resources>

View file

@ -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);
}
}