Skip to content

Commit

Permalink
Fix text domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Jun 1, 2023
1 parent 3cbbf3a commit 30ecf38
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/NotificationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
Expand All @@ -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
),
[
Expand Down Expand Up @@ -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,
]
Expand All @@ -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,
]
Expand Down Expand Up @@ -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
),
[
Expand Down

0 comments on commit 30ecf38

Please sign in to comment.