mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Add backup specific strings for token redemption error.
This commit is contained in:
committed by
Greyson Parrelli
parent
c6368a3166
commit
02ecc19112
@@ -98,9 +98,16 @@ class DonationErrorParams<V> private constructor(
|
||||
negativeAction = null
|
||||
)
|
||||
|
||||
InAppPaymentType.RECURRING_BACKUP -> DonationErrorParams(
|
||||
title = R.string.DonationsError__something_went_wrong,
|
||||
message = R.string.DonationsError__your_backups_subscription_couldnt_be_displayed,
|
||||
positiveAction = callback.onContactSupport(context),
|
||||
negativeAction = null
|
||||
)
|
||||
|
||||
else -> DonationErrorParams(
|
||||
title = R.string.DonationsErrors__couldnt_add_badge, // TODO [backups] -- This will need a backups-specific string
|
||||
message = R.string.DonationsErrors__your_badge_could_not, // TODO [backups] -- This will need a backups-specific string
|
||||
title = R.string.DonationsErrors__couldnt_add_badge,
|
||||
message = R.string.DonationsErrors__your_badge_could_not,
|
||||
positiveAction = callback.onContactSupport(context),
|
||||
negativeAction = null
|
||||
)
|
||||
|
||||
@@ -5816,6 +5816,10 @@
|
||||
<string name="DonationsErrors__your_payment">Your donation couldn\'t be processed and you have not been charged. Please try again.</string>
|
||||
<string name="DonationsErrors__still_processing">Still processing</string>
|
||||
<string name="DonationsErrors__couldnt_add_badge">Couldn\'t add badge</string>
|
||||
<!-- Displayed when backup credential could not be redeemed. Dialog or notification title -->
|
||||
<string name="DonationsError__something_went_wrong">Something went wrong</string>
|
||||
<!-- Displayed when backup credential could not be redeemed. Dialog or notification body -->
|
||||
<string name="DonationsError__your_backups_subscription_couldnt_be_displayed">Your backups subscription couldn\'t be displayed. Please contact support.</string>
|
||||
<!-- Displayed when badge credential couldn\'t be verified -->
|
||||
<string name="DonationsErrors__failed_to_validate_badge">Failed to validate badge</string>
|
||||
<!-- Displayed when badge credential couldn\'t be verified -->
|
||||
|
||||
Reference in New Issue
Block a user