Add UX for handling CDS rate limits.

This commit is contained in:
Greyson Parrelli
2022-11-10 10:51:21 -05:00
parent 8eb3a1906e
commit c563ef27da
21 changed files with 570 additions and 18 deletions

View File

@@ -3201,6 +3201,14 @@
<string name="reminder_header_push_text">Upgrade your communication experience.</string>
<string name="reminder_header_service_outage_text">Signal is experiencing technical difficulties. We are working hard to restore service as quickly as possible.</string>
<string name="reminder_header_progress">%1$d%%</string>
<!-- Body text of a banner that will show at the top of the chat list when we temporarily cannot process the user's contacts -->
<string name="reminder_cds_warning_body">Signal\'s private contact discovery temporarily can\'t process your phone\'s contacts.</string>
<!-- Label for a button in a banner to learn more about why we temporarily can't process the user's contacts -->
<string name="reminder_cds_warning_learn_more">Learn more</string>
<!-- Body text of a banner that will show at the top of the chat list when the user has so many contacts that we cannot ever process them -->
<string name="reminder_cds_permanent_error_body">Signal\'s private contact discovery can\'t process your phone\'s contacts.</string>
<!-- Label for a button in a banner to learn more about why we cannot process the user's contacts -->
<string name="reminder_cds_permanent_error_learn_more">Learn more</string>
<!-- media_preview -->
<string name="media_preview__save_title">Save</string>
@@ -5523,6 +5531,31 @@
<!-- StripePaymentInProgressFragment -->
<string name="StripePaymentInProgressFragment__cancelling">Cancelling…</string>
<!-- The title of a bottom sheet dialog that tells the user we temporarily can't process their contacts. -->
<string name="CdsTemporaryErrorBottomSheet_title">Too many contacts have been processed</string>
<!-- The first part of the body text in a bottom sheet dialog that tells the user we temporarily can't process their contacts. The placeholder represents the number of days the user will have to wait until they can again. -->
<plurals name="CdsTemporaryErrorBottomSheet_body1">
<item quantity="one">Another attempt to process your contacts will be made within %1$d day.</item>
<item quantity="other">Another attempt to process your contacts will be made within %1$d days.</item>
</plurals>
<!-- The second part of the body text in a bottom sheet dialog that advises the user to remove contacts from their phone to fix the issue. -->
<string name="CdsTemporaryErrorBottomSheet_body2">To resolve this issue sooner, you can consider removing contacts or accounts on your phone that are syncing a lot of contacts.</string>
<!-- A button label in a bottom sheet that will navigate the user to their contacts settings. -->
<string name="CdsTemporaryErrorBottomSheet_contacts_button">Open contacts</string>
<!-- A toast that will be shown if we are unable to open the user's default contacts app. -->
<string name="CdsTemporaryErrorBottomSheet_no_contacts_toast">No contacts app found</string>
<!-- The title of a bottom sheet dialog that tells the user we can't process their contacts. -->
<string name="CdsPermanentErrorBottomSheet_title">Your contacts can\'t be processed</string>
<!-- The first part of the body text in a bottom sheet dialog that tells the user we can't process their contacts. -->
<string name="CdsPermanentErrorBottomSheet_body">The number of contacts on your phone exceeds the limit Signal can process. To find contacts on Signal, consider removing contacts or accounts on your phone that are syncing a lot of contacts.</string>
<!-- The first part of the body text in a bottom sheet dialog that tells the user we can't process their contacts. -->
<string name="CdsPermanentErrorBottomSheet_learn_more">Learn more</string>
<!-- A button label in a bottom sheet that will navigate the user to their contacts settings. -->
<string name="CdsPermanentErrorBottomSheet_contacts_button">Open contacts</string>
<!-- A toast that will be shown if we are unable to open the user's default contacts app. -->
<string name="CdsPermanentErrorBottomSheet_no_contacts_toast">No contacts app found</string>
<!-- EOF -->
</resources>