From 30ecf38171594e67d5bb924b58b2a993674adcdf Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Thu, 1 Jun 2023 16:09:23 +0200 Subject: [PATCH] Fix text domain. --- src/NotificationsController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/NotificationsController.php b/src/NotificationsController.php index d5cf79d..9e2ac53 100644 --- a/src/NotificationsController.php +++ b/src/NotificationsController.php @@ -152,7 +152,7 @@ public function rest_api_paypal_ipn( WP_REST_Request $request ) { if ( empty( $custom ) ) { return new \WP_Error( 'rest_paypal_empty_custom_variable', - \__( 'Empty `custom` PayPal variable.', 'pronamic_ideal ' ), + \__( 'Empty `custom` PayPal variable.', 'pronamic_ideal' ), [ 'status' => 200, ] @@ -166,7 +166,7 @@ public function rest_api_paypal_ipn( WP_REST_Request $request ) { 'rest_paypal_empty_custom_variable', \sprintf( /* translators: %s: Value of PayPayl `custom` parameter. */ - \__( 'No payment found by `custom` variable: %s.', 'pronamic_ideal ' ), + \__( 'No payment found by `custom` variable: %s.', 'pronamic_ideal' ), $custom ), [ @@ -215,7 +215,7 @@ public function rest_api_paypal_ipn( WP_REST_Request $request ) { if ( 'INVALID' === $result ) { return new \WP_Error( 'rest_paypal_ipn_invalid', - \__( 'IPN request invalid.', 'pronamic_ideal ' ), + \__( 'IPN request invalid.', 'pronamic_ideal' ), [ 'status' => 200, ] @@ -225,7 +225,7 @@ public function rest_api_paypal_ipn( WP_REST_Request $request ) { if ( 'VERIFIED' !== $result ) { return new \WP_Error( 'rest_paypal_ipn_not_verified', - \__( 'IPN request not verified.', 'pronamic_ideal ' ), + \__( 'IPN request not verified.', 'pronamic_ideal' ), [ 'status' => 200, ] @@ -344,7 +344,7 @@ public function rest_api_paypal_cancel_return( WP_REST_Request $request ) { 'rest_paypal_no_payment', \sprintf( /* translators: %s: Value of PayPayl `custom` parameter. */ - \__( 'No payment found by `payment_id` variable: %s.', 'pronamic_ideal ' ), + \__( 'No payment found by `payment_id` variable: %s.', 'pronamic_ideal' ), (string) $payment_id ), [