/**
  * Set up errors and other stuff.
  *
  * @since 1.0.0
  */
 public static function init()
 {
     self::$url = 'https://www.google.com/recaptcha/api/siteverify';
     /**
      * API errors from
      * https://developers.google.com/recaptcha/docs/verify#error-code-reference
      */
     self::$api_errors = array('missing-input-secret' => __('The secret parameter is missing.', 'recaptcha_lightweight_adaptation'), 'invalid-input-secret' => __('The secret parameter is invalid or malformed.', 'recaptcha_lightweight_adaptation'), 'missing-input-response' => __('The response parameter is missing.', 'recaptcha_lightweight_adaptation'), 'invalid-input-response' => __('The response parameter is invalid or malformed.', 'recaptcha_lightweight_adaptation'));
     self::$plugin_errors = array('not_all_data' => __('Not all required data are presents in admin settings or passed to function for check.', 'recaptcha_lightweight_adaptation'), 'invalid_api_answer' => __('The obtained data from Google API have not valid format. Please notify the site administrator.', 'recaptcha_lightweight_adaptation'), 'unknown_api_error_code' => __('Unknown Google API answer and (or) type of errors inside.', 'recaptcha_lightweight_adaptation'));
 }