From dcc7ba20e647485afbe396c2ea57968d80611145 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Mon, 20 Jul 2015 16:58:08 -0700 Subject: [PATCH] Update disable passphrase strings. Fixes #3705 // FREEBIE --- res/values/strings.xml | 8 +++----- .../preferences/AppProtectionPreferenceFragment.java | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 8f68b4477..1843cd71f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -13,11 +13,9 @@ Delete all old messages now? Are you sure you would like to immediately trim all conversation threads to the %s most recent messages? Delete - Disable storage encryption? - - Warning, this will disable storage encryption for all messages and keys. Your encrypted - sessions will continue to function, but anyone with physical access to your device will be - able to access them. + Disable passphrase? + + Disable lock screen for messages? Disable Unregistering diff --git a/src/org/thoughtcrime/securesms/preferences/AppProtectionPreferenceFragment.java b/src/org/thoughtcrime/securesms/preferences/AppProtectionPreferenceFragment.java index 4f9b53cd1..25a072ffc 100644 --- a/src/org/thoughtcrime/securesms/preferences/AppProtectionPreferenceFragment.java +++ b/src/org/thoughtcrime/securesms/preferences/AppProtectionPreferenceFragment.java @@ -137,8 +137,8 @@ public class AppProtectionPreferenceFragment extends PreferenceFragment { public boolean onPreferenceChange(final Preference preference, Object newValue) { if (((CheckBoxPreference)preference).isChecked()) { AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(getActivity()); - builder.setTitle(R.string.ApplicationPreferencesActivity_disable_storage_encryption); - builder.setMessage(R.string.ApplicationPreferencesActivity_warning_this_will_disable_storage_encryption_for_all_messages); + builder.setTitle(R.string.ApplicationPreferencesActivity_disable_passphrase); + builder.setMessage(R.string.ApplicationPreferencesActivity_disable_lock_screen); builder.setIconAttribute(R.attr.dialog_alert_icon); builder.setPositiveButton(R.string.ApplicationPreferencesActivity_disable, new DialogInterface.OnClickListener() { @Override