PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Honeypot text language

  1. Hey, is there any way to translate the text underneath a honeypot form field? It seems to come from form_display.php, line 771:

    private static function get_honeypot_field($form){
    $max_id = self::get_max_field_id($form);
    $labels = self::get_honeypot_labels();
    return array("type" => "honeypot", "label" => $labels[rand(0, 3)], "id" => $max_id + 1, "cssClass" => "gform_validation_container", "description" => "This field is for validation purposes and should be left unchanged.");
    }

    Shouldn't it be using __("blah","gravityforms") to make it translatable?

    Posted 11 years ago on Friday November 23, 2012 | Permalink
  2. I'll bring this to the attention of the development team. Thank you for the question.

    Posted 11 years ago on Monday November 26, 2012 | Permalink
  3. Thanks for the heads up. Yes, it should be translatable. I have made the change to our trunk version and it will available in the 1.7 release.

    Posted 11 years ago on Monday November 26, 2012 | Permalink