Donation error string

This commit is contained in:
Grishka 2024-06-17 18:18:10 +03:00
parent 1c6da783ad
commit 960e54f4e6
2 changed files with 3 additions and 2 deletions

View File

@ -75,8 +75,8 @@ public class DonationWebViewFragment extends WebViewFragment{
private void onFailure(){
new M3AlertDialogBuilder(getActivity())
.setTitle("Failure")
.setMessage("Some sort of UI that would tell the user that their payment didn't go through")
.setTitle(R.string.error)
.setMessage(R.string.donation_server_error)
.setPositiveButton(R.string.ok, null)
.setOnDismissListener(dlg->Nav.finish(this))
.show();

View File

@ -774,4 +774,5 @@
<string name="donation_success_share">Spread the word</string>
<string name="donation_success_title">Thank you for your contribution!</string>
<string name="donation_success_subtitle">You should receive an email confirming your donation soon.</string>
<string name="donation_server_error">We are sorry, an error occurred and we have not been able to process your donation.\n\nPlease retry in a few minutes.</string>
</resources>