From d67b71297d4ed8348d34628e1ef98eb3cab977e6 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Wed, 5 Nov 2025 20:01:51 +0100 Subject: [PATCH 1/2] tweak registraction screen and empty chat hints for classic email --- .../securesms/ConversationFragment.java | 3 +++ .../securesms/RegistrationActivity.java | 2 +- src/main/res/layout/registration_activity.xml | 16 +--------------- src/main/res/values/strings.xml | 6 ++++++ 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/thoughtcrime/securesms/ConversationFragment.java b/src/main/java/org/thoughtcrime/securesms/ConversationFragment.java index 4c63ebc7b..e55841e3a 100644 --- a/src/main/java/org/thoughtcrime/securesms/ConversationFragment.java +++ b/src/main/java/org/thoughtcrime/securesms/ConversationFragment.java @@ -182,6 +182,9 @@ public class ConversationFragment extends MessageSelectorFragment else if(dcChat.isDeviceTalk()) { noMessageTextView.setText(R.string.device_talk_explain); } + else if(!dcChat.isEncrypted()) { + noMessageTextView.setText(R.string.chat_unencrypted_explanation); + } else { String message = getString(R.string.chat_new_one_to_one_hint, dcChat.getName()); noMessageTextView.setText(message); diff --git a/src/main/java/org/thoughtcrime/securesms/RegistrationActivity.java b/src/main/java/org/thoughtcrime/securesms/RegistrationActivity.java index ab7f5e6cb..3865f3605 100644 --- a/src/main/java/org/thoughtcrime/securesms/RegistrationActivity.java +++ b/src/main/java/org/thoughtcrime/securesms/RegistrationActivity.java @@ -124,7 +124,7 @@ public class RegistrationActivity extends BaseActionBarActivity implements DcEve ActionBar actionBar = getSupportActionBar(); if (actionBar != null) { - actionBar.setTitle(R.string.login_header); + actionBar.setTitle(R.string.manual_account_setup_option); actionBar.setDisplayHomeAsUpEnabled(true); actionBar.setHomeAsUpIndicator(R.drawable.ic_close_white_24dp); actionBar.setElevation(0); // TODO: use custom toolbar instead diff --git a/src/main/res/layout/registration_activity.xml b/src/main/res/layout/registration_activity.xml index e254e6d07..f2d8c63af 100644 --- a/src/main/res/layout/registration_activity.xml +++ b/src/main/res/layout/registration_activity.xml @@ -120,7 +120,7 @@ android:layout_height="wrap_content" android:gravity="left" android:padding="16dp" - android:text="@string/login_no_servers_hint" + android:text="@string/login_advanced_hint" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/provider_layout" /> @@ -391,20 +391,6 @@ app:layout_constraintStart_toStartOf="@id/guideline_root_start" app:layout_constraintTop_toBottomOf="@id/cert_check" /> - - diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 0832aea3a..2fc021694 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -639,9 +639,14 @@ Secure Decentralized Chat Scan Invitation Code Log In + For advanced users:\n\n• Do not use an account you\'re using in another app.\n\n• Classic e-mail server allow unencrypted chats marked by an envelope icon. + Log into your E-Mail Account + Log in with an existing e-mail account + For known e-mail providers additional settings are set up automatically. Sometimes IMAP needs to be enabled in the web settings. Consult your e-mail provider or friends for help. + Delta Chat does not collect user data, everything stays on your device. Inbox IMAP Login Name @@ -962,6 +967,7 @@ You set disappearing messages timer to %1$s weeks. Disappearing messages timer set to %1$s weeks by %2$s. + Messages in this chat use classic email and are not encrypted. Messages are end-to-end encrypted. Tap to learn more. All messages in this chat are end-to-end encrypted.\n\nEnd-to-end encryption keeps messages private between you and your chat partners. Not even servers, providers or relays can read them. ⚠️ %1$s requires end-to-end encryption which is not setup for this chat yet. Tap to learn more. From 2f42d3bcd2077e9b6cda2e3495acaabe80bebdfa Mon Sep 17 00:00:00 2001 From: adbenitez Date: Wed, 5 Nov 2025 20:05:32 +0100 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf86eb1b8..bc0d5db05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * fix sorting of old media in gallery * fix text direction in "x members" subtitle for RTL languages * fix group invite QR screen's layout +* tweak text hints in advanced classic e-mail configuration * remove deprecated "companion app" code * remove deprecated "Watch Sent Folder" preference * remove deprecated "send self-report" preference