Donation error string
This commit is contained in:
parent
1c6da783ad
commit
960e54f4e6
|
@ -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();
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue