From cd13d372c81f207efcded58a179bc1bcdb2fffa1 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 27 Jan 2024 18:02:03 +0100 Subject: [PATCH] Improved MX error message --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 4b5f19d6f1..9bf467b848 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -7309,7 +7309,7 @@ public class FragmentCompose extends FragmentBase { checkMx(acc, context); checkMx(abcc, context); } catch (UnknownHostException ex) { - args.putString("mx_error", ex.getMessage()); + args.putString("mx_error", context.getString(R.string.title_no_server, ex.getMessage())); } } catch (Throwable ignored) { }