1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-15 08:29:24 +00:00

Improved error message

This commit is contained in:
M66B 2019-11-12 08:39:37 +01:00
parent 48a75e068c
commit 3951e656cc
3 changed files with 3 additions and 4 deletions

View file

@ -301,8 +301,7 @@ public class FragmentGmail extends FragmentBase {
folders = iservice.getFolders();
if (folders == null)
throw new IllegalArgumentException(
context.getString(R.string.title_setup_no_settings, domain));
throw new IllegalArgumentException(context.getString(R.string.title_setup_no_system_folders));
}
String iprotocol = provider.smtp.starttls ? "smtp" : "smtps";

View file

@ -262,8 +262,7 @@ public class FragmentQuickSetup extends FragmentBase {
folders = iservice.getFolders();
if (folders == null)
throw new IllegalArgumentException(
context.getString(R.string.title_setup_no_settings, dparts[1]));
throw new IllegalArgumentException(context.getString(R.string.title_setup_no_system_folders));
}
String iprotocol = provider.smtp.starttls ? "smtp" : "smtps";

View file

@ -145,6 +145,7 @@
<string name="title_setup_select_account">Select account</string>
<string name="title_setup_instructions">Setup instructions</string>
<string name="title_setup_no_settings">No settings found for domain \'%1$s\'</string>
<string name="title_setup_no_system_folders">Inbox or draft folder not found</string>
<string name="title_setup_quick_success">An account and an identity have successfully been added</string>
<string name="title_setup_quick_failed">You can try to configure an account and an identity below too</string>
<string name="title_setup_manage">Manage</string>