Add new dialog and sheet for handling offloaded media after a subscription is canceled or expires.

This commit is contained in:
Alex Hart
2025-06-09 15:41:10 -03:00
committed by Greyson Parrelli
parent 18b5354944
commit 1424dd6892
11 changed files with 562 additions and 68 deletions

View File

@@ -7835,9 +7835,11 @@
<!-- Sheet body part 2 when media backups have been disabled. -->
<string name="BackupAlertBottomSheet__you_can_begin_paying_for_backups_again">You can begin paying for backups again at any time to continue backing up all your media. </string>
<!-- Sheet title when user\'s media will be deleted today -->
<string name="BackupAlertBottomSheet__your_media_will_be_deleted_today">Your media will be deleted today</string>
<!-- Sheet body part 1 when user\'s media will be deleted today -->
<string name="BackupAlertBottomSheet__your_signal_media_backup_plan_has_been">Your Signal media backup plan has been canceled because we couldn\'t process your payment. This is your last chance to download the media in your backup before it is deleted.</string>
<string name="BackupAlertBottomSheet__download_your_backup_data_today">Download your backup data today</string>
<!-- Sheet title when user\'s media will be deleted at the end of their grace period -->
<string name="BackupAlertBottomSheet__download_your_backup_data">Download your backup data</string>
<!-- Sheet body part 1 when user\'s media will be deleted after grace period lapses -->
<string name="BackupAlertBottomSheet__you_have_s_of_media_thats_not_on_this_device">You have %1$s of media that\'s not on this device. The media and attachments stored in your backup will be permanently deleted without a paid subscription.</string>
<!-- Sheet title when user does not have enough space to download their backup. Placeholder is formatted byte size, for example 12GB. -->
<string name="BackupAlertBottomSheet__free_up_s_on_this_device">Free up %1$s on this device</string>
<!-- Sheet body part 1 when user does not have enough space to download their backup. Placeholder is the amount of space needed. -->
@@ -7876,9 +7878,9 @@
<!-- Primary action button text prompting user to subscriber. Placeholder is formatted price -->
<string name="BackupAlertBottomSheet__subscribe_for_s_month">Subscribe for %1$s/month</string>
<!-- Primary action button text prompting user to download their media -->
<string name="BackupAlertBottomSheet__download_media_now">Download media now</string>
<string name="BackupAlertBottomSheet__download_backup_now">Download backup now</string>
<!-- Secondary action button text to dismiss sheet, skipping media download -->
<string name="BackupAlertBottomSheet__dont_download_media">Don\'t download media</string>
<string name="BackupAlertBottomSheet__dont_download_backup">Don\'t download backup</string>
<!-- Secondary generic action button to dismiss sheet without performing an action -->
<string name="BackupAlertBottomSheet__not_now">Not now</string>
<!-- Secondary action button to dismiss could not complete backup sheet -->
@@ -8176,6 +8178,8 @@
<item quantity="one">Your subscription on this device is valid for the next %1$d day. Renew to continue using Signal Backups</item>
<item quantity="other">Your subscription on this device is valid for the next %1$d days. Renew to continue using Signal Backups</item>
</plurals>
<!-- Button label to start subscription resubscribe after cancellation -->
<string name="RemoteBackupsSettingsFragment__resubscribe">Resubscribe</string>
<!-- Button label to start subscription renewal -->
<string name="RemoteBackupsSettingsFragment__renew">Renew</string>
<!-- Button label to learn more about why subscription disappeared -->
@@ -8190,10 +8194,7 @@
<item quantity="other">Processing %1$s of ~%2$s messages (%3$d%%)</item>
</plurals>
<!-- Displayed in row when backup is available for download and users subscription has expired. First placeholder is data size e.g. 12MB, second is days before expiration -->
<plurals name="RemoteBackupsSettingsFragment__you_have_s_of_backup_data">
<item quantity="one">You have %1$s of backup data thats not on this device. Your backup will be deleted when your subscription ends in %2$d day.</item>
<item quantity="other">You have %1$s of backup data thats not on this device. Your backup will be deleted when your subscription ends in %2$d days.</item>
</plurals>
<string name="RemoteBackupsSettingsFragment__you_have_s_of_backup_data">You have %1$s of backup data that\'s not on this device. Without a paid subscription media can\'t be offloaded.</string>
<!-- Display in a row when backup is available for download but the user has canceled the restore. Place holder is data size e.g. 12MB -->
<string name="RemoteBackupsSettingsFragment__you_have_s_of_backup_data_not_on_device">You have %1$s of backup data thats not on this device. </string>
<!-- Displayed in row when backup is available for download to let user start download -->
@@ -8238,6 +8239,16 @@
<!-- Text displayed while downloading backup during deletion. First placeholder is amount downloaded, second is amount remaining, last is percentage. -->
<string name="RemoteBackupsSettingsFragment__downloading_s_of_s_d">Downloading: %1$s of %2$s (%3$d%%)</string>
<!-- DownloadYourBackupTodayDialog -->
<!-- Dialog title -->
<string name="DownloadYourBackupTodayDialog__download_your_backup_today">Download your backup today</string>
<!-- Dialog body. Placeholder is human readable byte count, for example 2.3 MB -->
<string name="DownloadYourBackupTodayDialog__you_have_s_of_backup_data">You have %1$s of backup data that\'s not on this device. Your media and attachments will be permanently deleted without a paid subscription.</string>
<!-- Dialog positive action label -->
<string name="DownloadYourBackupTodayDialog__download">Download</string>
<!-- Dialog negative action label -->
<string name="DownloadYourBackupTodayDialog__dont_download">Don\'t download</string>
<!-- SubscriptionNotFoundBottomSheet -->
<!-- Displayed as a bottom sheet title -->
<string name="SubscriptionNotFoundBottomSheet__subscription_not_found">Subscription not found</string>