Donation error string
This commit is contained in:
@@ -75,8 +75,8 @@ public class DonationWebViewFragment extends WebViewFragment{
|
|||||||
|
|
||||||
private void onFailure(){
|
private void onFailure(){
|
||||||
new M3AlertDialogBuilder(getActivity())
|
new M3AlertDialogBuilder(getActivity())
|
||||||
.setTitle("Failure")
|
.setTitle(R.string.error)
|
||||||
.setMessage("Some sort of UI that would tell the user that their payment didn't go through")
|
.setMessage(R.string.donation_server_error)
|
||||||
.setPositiveButton(R.string.ok, null)
|
.setPositiveButton(R.string.ok, null)
|
||||||
.setOnDismissListener(dlg->Nav.finish(this))
|
.setOnDismissListener(dlg->Nav.finish(this))
|
||||||
.show();
|
.show();
|
||||||
|
|||||||
@@ -774,4 +774,5 @@
|
|||||||
<string name="donation_success_share">Spread the word</string>
|
<string name="donation_success_share">Spread the word</string>
|
||||||
<string name="donation_success_title">Thank you for your contribution!</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_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>
|
</resources>
|
||||||
Reference in New Issue
Block a user