Verify recipient before launching google pay sheet in badge gifting flow.

This commit is contained in:
Alex Hart
2022-05-09 10:47:34 -03:00
parent dc5f7d0906
commit 0f08acbc04
7 changed files with 129 additions and 32 deletions

View File

@@ -4234,8 +4234,14 @@
<string name="ViewBadgeBottomSheetDialogFragment__your_device_doesn_t_support_google_pay_so_you_can_t_subscribe_to_earn_a_badge_you_can_still_support_signal_by_making_a_donation_on_our_website">Your device doesn\'t support Google Pay, so you can\'t subscribe to earn a badge. You can still support Signal by making a donation on our website.</string>
<string name="NetworkFailure__network_error_check_your_connection_and_try_again">Network error. Check your connection and try again.</string>
<string name="NetworkFailure__retry">Retry</string>
<!-- Displayed as a dialog title when the selected recipient for a gift doesn't support gifting -->
<string name="DonationsErrors__recipient_verification_failed">Recipient verification failed.</string>
<!-- Displayed as a dialog message when the selected recipient for a gift doesn't support gifting -->
<string name="DonationsErrors__target_does_not_support_gifting">Target does not support gifting.</string>
<!-- Displayed as a dialog title when the user's profile could not be fetched, likely due to lack of internet -->
<string name="DonationsErrors__could_not_verify_recipient">Could not verify recipient.</string>
<!-- Displayed as a dialog message when the user's profile could not be fetched, likely due to lack of internet -->
<string name="DonationsErrors__please_check_your_network_connection">Please check your network connection and try again.</string>
<!-- Gift message view title -->
<string name="GiftMessageView__gift_badge">Gift badge</string>
@@ -4746,6 +4752,8 @@
<string name="GiftFlowConfirmationFragment__one_time_donation">One-time donation</string>
<!-- Hint for add message input -->
<string name="GiftFlowConfirmationFragment__add_a_message">Add a message</string>
<!-- Displayed in the dialog while verifying the chosen recipient -->
<string name="GiftFlowConfirmationFragment__verifying_recipient">Verifying recipient…</string>
<!-- Title for sheet shown when opening a redeemed gift -->
<string name="ViewReceivedGiftBottomSheet__s_sent_you_a_gift">%1$s sent you a gift</string>
<!-- Title for sheet shown when opening a sent gift -->