Update disable passphrase strings.

Fixes #3705
// FREEBIE
fork-5.53.8
Moxie Marlinspike 2015-07-20 16:58:08 -07:00
rodzic 39dec1059b
commit dcc7ba20e6
2 zmienionych plików z 5 dodań i 7 usunięć

Wyświetl plik

@ -13,11 +13,9 @@
<string name="ApplicationPreferencesActivity_delete_all_old_messages_now">Delete all old messages now?</string> <string name="ApplicationPreferencesActivity_delete_all_old_messages_now">Delete all old messages now?</string>
<string name="ApplicationPreferencesActivity_are_you_sure_you_would_like_to_immediately_trim_all_conversation_threads_to_the_s_most_recent_messages">Are you sure you would like to immediately trim all conversation threads to the %s most recent messages?</string> <string name="ApplicationPreferencesActivity_are_you_sure_you_would_like_to_immediately_trim_all_conversation_threads_to_the_s_most_recent_messages">Are you sure you would like to immediately trim all conversation threads to the %s most recent messages?</string>
<string name="ApplicationPreferencesActivity_delete">Delete</string> <string name="ApplicationPreferencesActivity_delete">Delete</string>
<string name="ApplicationPreferencesActivity_disable_storage_encryption">Disable storage encryption?</string> <string name="ApplicationPreferencesActivity_disable_passphrase">Disable passphrase?</string>
<string name="ApplicationPreferencesActivity_warning_this_will_disable_storage_encryption_for_all_messages"> <string name="ApplicationPreferencesActivity_disable_lock_screen">
Warning, this will disable storage encryption for all messages and keys. Your encrypted Disable lock screen for messages?
sessions will continue to function, but anyone with physical access to your device will be
able to access them.
</string> </string>
<string name="ApplicationPreferencesActivity_disable">Disable</string> <string name="ApplicationPreferencesActivity_disable">Disable</string>
<string name="ApplicationPreferencesActivity_unregistering">Unregistering</string> <string name="ApplicationPreferencesActivity_unregistering">Unregistering</string>

Wyświetl plik

@ -137,8 +137,8 @@ public class AppProtectionPreferenceFragment extends PreferenceFragment {
public boolean onPreferenceChange(final Preference preference, Object newValue) { public boolean onPreferenceChange(final Preference preference, Object newValue) {
if (((CheckBoxPreference)preference).isChecked()) { if (((CheckBoxPreference)preference).isChecked()) {
AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(getActivity()); AlertDialogWrapper.Builder builder = new AlertDialogWrapper.Builder(getActivity());
builder.setTitle(R.string.ApplicationPreferencesActivity_disable_storage_encryption); builder.setTitle(R.string.ApplicationPreferencesActivity_disable_passphrase);
builder.setMessage(R.string.ApplicationPreferencesActivity_warning_this_will_disable_storage_encryption_for_all_messages); builder.setMessage(R.string.ApplicationPreferencesActivity_disable_lock_screen);
builder.setIconAttribute(R.attr.dialog_alert_icon); builder.setIconAttribute(R.attr.dialog_alert_icon);
builder.setPositiveButton(R.string.ApplicationPreferencesActivity_disable, new DialogInterface.OnClickListener() { builder.setPositiveButton(R.string.ApplicationPreferencesActivity_disable, new DialogInterface.OnClickListener() {
@Override @Override