From 60e87bb16f786c07172742fd66cebba898dbeff7 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 16 Jun 2017 10:52:19 -0400 Subject: [PATCH] clearer copy for SN changes // FREEBIE --- .../FingerprintViewScanController.m | 22 +++++++++---------- .../translations/en.lproj/Localizable.strings | 8 +++---- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Signal/src/ViewControllers/FingerprintViewScanController.m b/Signal/src/ViewControllers/FingerprintViewScanController.m index 310a8a1ac..30beaa332 100644 --- a/Signal/src/ViewControllers/FingerprintViewScanController.m +++ b/Signal/src/ViewControllers/FingerprintViewScanController.m @@ -197,17 +197,17 @@ NS_ASSUME_NONNULL_BEGIN message:successDescription preferredStyle:UIAlertControllerStyleAlert]; [alertController - addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"FINGERPRINT_SCAN_VERIFY_BUTTON", - @"Button that verifies user after a successful fingerprint scan.") - style:UIAlertActionStyleDefault - handler:^(UIAlertAction *action) { - [OWSIdentityManager.sharedManager - setVerificationState:OWSVerificationStateVerified - identityKey:identityKey - recipientId:recipientId - sendSyncMessage:YES]; - [viewController dismissViewControllerAnimated:true completion:nil]; - }]]; + addAction:[UIAlertAction + actionWithTitle:NSLocalizedString(@"FINGERPRINT_SCAN_VERIFY_BUTTON", + @"Button that marks user as verified after a successful fingerprint scan.") + style:UIAlertActionStyleDefault + handler:^(UIAlertAction *action) { + [OWSIdentityManager.sharedManager setVerificationState:OWSVerificationStateVerified + identityKey:identityKey + recipientId:recipientId + sendSyncMessage:YES]; + [viewController dismissViewControllerAnimated:true completion:nil]; + }]]; UIAlertAction *dismissAction = [UIAlertAction actionWithTitle:dismissText style:UIAlertActionStyleDefault diff --git a/Signal/translations/en.lproj/Localizable.strings b/Signal/translations/en.lproj/Localizable.strings index 4ce45d9a7..bacb91fc5 100644 --- a/Signal/translations/en.lproj/Localizable.strings +++ b/Signal/translations/en.lproj/Localizable.strings @@ -532,8 +532,8 @@ /* alert title */ "FAILED_VERIFICATION_TITLE" = "Failed to Verify Safety Number!"; -/* Button that verifies user after a successful fingerprint scan. */ -"FINGERPRINT_SCAN_VERIFY_BUTTON" = "Verify"; +/* Button that marks user as verified after a successful fingerprint scan. */ +"FINGERPRINT_SCAN_VERIFY_BUTTON" = "Mark as Verified"; /* No comment provided by engineer. */ "FINGERPRINT_SHRED_KEYMATERIAL_BUTTON" = "Reset this session."; @@ -1328,10 +1328,10 @@ "SMS_INVITE_BODY" = "I'm inviting you to install Signal! Here is the link:"; /* Alert body after verifying privacy with {{other user's name}} */ -"SUCCESSFUL_VERIFICATION_DESCRIPTION" = "Your safety number with %@ has been verified. You can mark this contact as verified."; +"SUCCESSFUL_VERIFICATION_DESCRIPTION" = "Your safety number with %@ matches. You can mark this contact as verified."; /* No comment provided by engineer. */ -"SUCCESSFUL_VERIFICATION_TITLE" = "Safety Number Verified!"; +"SUCCESSFUL_VERIFICATION_TITLE" = "Safety Number Matches!"; /* generic cancel text */ "TXT_CANCEL_TITLE" = "Cancel";