1
0
mirror of https://github.com/etesync/android synced 2024-11-15 20:38:58 +00:00

Improve auth error error message.

This commit is contained in:
Tom Hacohen 2017-02-08 12:06:03 +00:00
parent c169fb4afb
commit c0d0621887
3 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ public class DetectConfigurationFragment extends DialogFragment implements Loade
return new AlertDialog.Builder(getActivity())
.setTitle(R.string.login_configuration_detection)
.setIcon(R.drawable.ic_error_dark)
.setMessage(R.string.login_no_caldav_carddav)
.setMessage(R.string.login_wrong_username_or_password)
.setNeutralButton(R.string.login_view_logs, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {

View File

@ -118,7 +118,7 @@ public class LoginCredentialsChangeFragment extends DialogFragment implements Lo
return new AlertDialog.Builder(getActivity())
.setTitle(R.string.login_configuration_detection)
.setIcon(R.drawable.ic_error_dark)
.setMessage(R.string.login_no_caldav_carddav)
.setMessage(R.string.login_wrong_username_or_password)
.setNeutralButton(R.string.login_view_logs, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {

View File

@ -151,7 +151,7 @@
<string name="login_configuration_detection">Configuration detection</string>
<string name="login_querying_server">Please wait, querying server…</string>
<string name="login_no_caldav_carddav">Couldn\'t find CalDAV or CardDAV service.</string>
<string name="login_wrong_username_or_password">Couldn\'t authenticate (probably wrong username or password).</string>
<string name="login_view_logs">View logs</string>
<string name="login_encryption_setup_title">Setting up encryption</string>