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:
parent
48a75e068c
commit
3951e656cc
3 changed files with 3 additions and 4 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue