Verified Commit c63b4cc9 authored by Andrei Mondoc's avatar Andrei Mondoc Committed by Kevin Cristiano

make strings translatable

Signed-off-by: Kevin Cristiano's avatarKevin Cristiano <kcristiano@kcristiano.com>
parent 45240e4b
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment