From 2b4d41de03182ed3d9743d546448e35d8c0d43df Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Sun, 25 Sep 2016 19:50:03 -0700 Subject: [PATCH] Safety number string fixes // FREEBIE --- res/values/strings.xml | 6 +++--- src/org/thoughtcrime/securesms/VerifyIdentityActivity.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index f7b6d88c28..2889a98a3c 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -552,9 +552,9 @@ Disappearing message time set to %s - Your contact is running an old version of Signal, please ask them to update before verifying security numbers. - You\'re attempting to verify security numbers with %1$s, but scanned %2$s instead. - The scanned QR code is not a correctly formatted security number verification code. Please try scanning again. + Your contact is running an old version of Signal, please ask them to update before verifying safety numbers. + You\'re attempting to verify safety numbers with %1$s, but scanned %2$s instead. + The scanned QR code is not a correctly formatted safety number verification code. Please try scanning again. Initiate despite existing request? diff --git a/src/org/thoughtcrime/securesms/VerifyIdentityActivity.java b/src/org/thoughtcrime/securesms/VerifyIdentityActivity.java index 0aa21fe99f..72641ede51 100644 --- a/src/org/thoughtcrime/securesms/VerifyIdentityActivity.java +++ b/src/org/thoughtcrime/securesms/VerifyIdentityActivity.java @@ -280,10 +280,10 @@ public class VerifyIdentityActivity extends PassphraseRequiredActionBarActivity Toast.makeText(getActivity(), R.string.VerifyIdentityActivity_your_contact_is_running_an_old_version_of_signal, Toast.LENGTH_LONG).show(); } catch (FingerprintIdentifierMismatchException e) { Log.w(TAG, e); - Toast.makeText(getActivity(), getActivity().getString(R.string.VerifyIdentityActivity_you_re_attempting_to_verify_security_numbers_with, e.getRemoteIdentifier(), e.getScannedRemoteIdentifier()), Toast.LENGTH_LONG).show(); + Toast.makeText(getActivity(), getActivity().getString(R.string.VerifyIdentityActivity_you_re_attempting_to_verify_safety_numbers_with, e.getRemoteIdentifier(), e.getScannedLocalIdentifier()), Toast.LENGTH_LONG).show(); } catch (FingerprintParsingException e) { Log.w(TAG, e); - Toast.makeText(getActivity(), R.string.VerifyIdentityActivity_the_scanned_qr_code_is_not_a_correctly_formatted_security_number, Toast.LENGTH_LONG).show(); + Toast.makeText(getActivity(), R.string.VerifyIdentityActivity_the_scanned_qr_code_is_not_a_correctly_formatted_safety_number, Toast.LENGTH_LONG).show(); } catch (UnsupportedEncodingException e) { throw new AssertionError(e); }