Skip to content
Snippets Groups Projects
Verified Commit da2c3c42 authored by Andrei Mondoc's avatar Andrei Mondoc Committed by Kevin Cristiano
Browse files

make strings translatable

parent 7c053ac3
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ class AuthorizeIPN extends Base {
try {
if ( ! method_exists( $authorize_IPN, 'main' ) || ! $this->instance_of_crm_base_ipn( $authorize_IPN ) )
return $this->civi_rest_error( get_class( $authorize_IPN ) . ' must implement a "main" method.' );
return $this->civi_rest_error( sprintf( __( '%s must implement a "main" method.', 'civicrm' ), get_class( $authorize_IPN ) ) );
$result = $authorize_IPN->main();
......
......@@ -82,7 +82,7 @@ class PayPalIPN extends Base {
try {
if ( ! method_exists( $paypal_IPN, 'main' ) || ! $this->instance_of_crm_base_ipn( $paypal_IPN ) )
return $this->civi_rest_error( get_class( $paypal_IPN ) . ' must implement a "main" method.' );
return $this->civi_rest_error( sprintf( __( '%s must implement a "main" method.', 'civicrm' ), get_class( $paypal_IPN ) ) );
$result = $paypal_IPN->main();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment