From 05c52e622fc26e6b041bfb8f5bf20fbb9fb711c3 Mon Sep 17 00:00:00 2001 From: Hocuri Date: Thu, 14 Jul 2022 16:36:50 +0200 Subject: [PATCH] hpk's wording suggestion, correct blog post link --- res/values/strings.xml | 2 +- src/org/thoughtcrime/securesms/RegistrationActivity.java | 2 +- src/org/thoughtcrime/securesms/connect/DcHelper.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 87a112f22..9dfe49756 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -449,7 +449,7 @@ %1$s changed their address from %2$s to %3$s - You changed your email address.\n\nContacts using Delta Chat will automatically replace you in the groups you send a message to.\n\nIf possible, set up your old email provider to forward all emails to your new email address. + You changed your email address from %1$s to %2$s.\n\nIf you now send a message to a group, contacts there will automatically replace the old with your new address.\n\nIt\'s highly advised to set up your old email provider to forward all emails to your new email address. Otherwise you might miss messages of contacts who did not get your new address yet. diff --git a/src/org/thoughtcrime/securesms/RegistrationActivity.java b/src/org/thoughtcrime/securesms/RegistrationActivity.java index f460339f1..06fcd9a28 100644 --- a/src/org/thoughtcrime/securesms/RegistrationActivity.java +++ b/src/org/thoughtcrime/securesms/RegistrationActivity.java @@ -241,7 +241,7 @@ public class RegistrationActivity extends BaseActionBarActivity implements DcEve && !TextUtils.equals(oldAddr.toLowerCase(Locale.ROOT), newAddr.toLowerCase(Locale.ROOT))) { // Tell the user about AEAP if they are about to change their address new AlertDialog.Builder(this) - .setMessage(R.string.aeap_explanation) + .setMessage(getString(R.string.aeap_explanation, oldAddr, newAddr)) .setNeutralButton(R.string.more_info_desktop, (d, w) -> IntentUtils.showBrowserIntent(this, AEAP_BLOG_LINK)) .setNegativeButton(R.string.cancel, (d, w) -> {}) .setPositiveButton(R.string.perm_continue, (d, w) -> do_register()) diff --git a/src/org/thoughtcrime/securesms/connect/DcHelper.java b/src/org/thoughtcrime/securesms/connect/DcHelper.java index 92e7ea950..f383d634d 100644 --- a/src/org/thoughtcrime/securesms/connect/DcHelper.java +++ b/src/org/thoughtcrime/securesms/connect/DcHelper.java @@ -38,7 +38,7 @@ public class DcHelper { private static final String TAG = DcHelper.class.getSimpleName(); - public static final String AEAP_BLOG_LINK = "https://delta.chat/550/en/2022-07-10-aeap"; + public static final String AEAP_BLOG_LINK = "https://delta.chat/en/2022-07-10-aeap"; public static final String CONFIG_ADDRESS = "addr"; public static final String CONFIG_CONFIGURED_ADDRESS = "configured_addr";