diff --git a/res/values/strings.xml b/res/values/strings.xml index 8d8259134..0f2b7d064 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -268,6 +268,8 @@ SMTP port SMTP Security Authorization method + Continue with simplified setup? + The entered e-mail-address supports a simplified setup (OAuth2).\n\nIn the next step, please allow Delta Chat to act as your Chat with E-Mail app.\n\nDelta Chat has no servers, your data stays on your device! For GMail Accounts you need to create an App-Password if you have 2FA enabled. If this setting is not available, you need to enable Less Secure Apps. Please enter a valid email address Please enter a valid server / IP address diff --git a/src/org/thoughtcrime/securesms/RegistrationActivity.java b/src/org/thoughtcrime/securesms/RegistrationActivity.java index d8cdb9af9..0a066aa34 100644 --- a/src/org/thoughtcrime/securesms/RegistrationActivity.java +++ b/src/org/thoughtcrime/securesms/RegistrationActivity.java @@ -216,8 +216,8 @@ public class RegistrationActivity extends BaseActionBarActivity implements DcEve String oauth2url = DcHelper.getContext(this).getOauth2Url(email, redirectUrl); if (!TextUtils.isEmpty(oauth2url)) { new AlertDialog.Builder(this) - .setTitle("Continue with simplified setup?") - .setMessage("This e-mail-address supports a simplified setup process (OAuth2).\n\nFor this purpose, the browser is opened in the next step. There you can grant access to Delta Chat.") // TODO: localisation + .setTitle(R.string.login_info_oauth2_title) + .setMessage(R.string.login_info_oauth2_text) .setNegativeButton(R.string.cancel, (dialog, which)->{ if(isGmail(email)) { showGmailNoOauth2Hint();