Hello, would you be so kind to tell me how I can insert the translations of the validation messages located into subscribe.php (tco-email-forms > email-integration > functions > shortcodes > subscribe.php) into the function.php file of the child theme?
thank you so much!
The string is this
if ( is_wp_error( $result ) ) {
$message = $result->get_error_message() == 'Member Exists'
? __( '**We were unable to add your email to the list: this email is already on the list.**', '__tco__' )
: $result->get_error_message(); //__( '**We\'re sorry! Something went wrong. We were unable to add your email to the list. Please try again later.**', '__tco__' );
$response = array(
'error' => true,
'log_message' => $result->get_error_message(),
'message' => $message
);
}
