Skip to content

Commit

Permalink
Improved payment status language
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin Walker committed Mar 29, 2017
1 parent 0518c16 commit 1f97637
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/shortcode-receipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,27 @@
$notice_type = 'success';
break;
case 'pending':
$notice_message = esc_html__( 'Payment Pending: Please contact the site owner for assistance.', 'give' );
$notice_message = esc_html__( 'Payment Pending: Your donation is currently processing..', 'give' );
$notice_type = 'warning';
break;
case 'refunded':
$notice_message = esc_html__( 'Payment Refunded: Please contact the site owner for assistance.', 'give' );
$notice_message = esc_html__( 'Payment Refunded: Your donation has been refunded.', 'give' );
$notice_type = 'warning';
break;
case 'preapproval':
$notice_message = esc_html__( 'Payment Preapproved: Please contact the site owner for assistance.', 'give' );
$notice_message = esc_html__( 'Payment Preapproved: Thank you for your donation.', 'give' );
$notice_type = 'warning';
break;
case 'failed':
$notice_message = esc_html__( 'Payment Failed: Please contact the site owner for assistance.', 'give' );
$notice_type = 'error';
break;
case 'cancelled':
$notice_message = esc_html__( 'Payment Cancelled: Please contact the site owner for assistance.', 'give' );
$notice_message = esc_html__( 'Payment Cancelled: Your donation has been cancelled.', 'give' );
$notice_type = 'error';
break;
case 'abandoned':
$notice_message = esc_html__( 'Payment Abandoned: Please contact the site owner for assistance.', 'give' );
$notice_message = esc_html__( 'Payment Abandoned: The this donation was not been completed.', 'give' );
$notice_type = 'error';
break;
case 'revoked':
Expand Down

0 comments on commit 1f97637

Please sign in to comment.