Update error strings in alert bottom sheet.

This commit is contained in:
Alex Hart
2024-11-05 11:33:45 -04:00
committed by Greyson Parrelli
parent 50af0b0838
commit 98590295df
2 changed files with 3 additions and 1 deletions

View File

@@ -349,7 +349,7 @@ private fun primaryActionString(
pricePerMonth: String
): String {
return when (backupAlert) {
BackupAlert.COULD_NOT_COMPLETE_BACKUP -> stringResource(android.R.string.ok) // TODO [backups] -- Finalized copy
BackupAlert.COULD_NOT_COMPLETE_BACKUP -> stringResource(R.string.BackupAlertBottomSheet__back_up_now)
BackupAlert.PAYMENT_PROCESSING -> stringResource(R.string.BackupAlertBottomSheet__manage_subscription)
BackupAlert.MEDIA_BACKUPS_ARE_OFF -> stringResource(R.string.BackupAlertBottomSheet__subscribe_for_s_month, pricePerMonth)
BackupAlert.MEDIA_WILL_BE_DELETED_TODAY -> stringResource(R.string.BackupAlertBottomSheet__download_media_now)

View File

@@ -7452,6 +7452,8 @@
<string name="BackupAlertBottomSheet__learn_more">Learn more</string>
<!-- Secondary action button text when user does not have enough free space to download their backup. -->
<string name="BackupAlertBottomSheet__skip">Skip</string>
<!-- Primary action button to start backup immediately -->
<string name="BackupAlertBottomSheet__back_up_now">Back up now</string>
<!-- Primary action button to manage subscription in Google Play -->
<string name="BackupAlertBottomSheet__manage_subscription">Manage subscription</string>
<!-- Primary action button text prompting user to subscriber. Placeholder is formatted price -->