diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/DonationWebViewFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/DonationWebViewFragment.java index ba873f29..7f02bf73 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/DonationWebViewFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/DonationWebViewFragment.java @@ -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(); diff --git a/mastodon/src/main/res/values/strings.xml b/mastodon/src/main/res/values/strings.xml index e129ffe9..d022d184 100644 --- a/mastodon/src/main/res/values/strings.xml +++ b/mastodon/src/main/res/values/strings.xml @@ -774,4 +774,5 @@ Spread the word Thank you for your contribution! You should receive an email confirming your donation soon. + We are sorry, an error occurred and we have not been able to process your donation.\n\nPlease retry in a few minutes. \ No newline at end of file