• Resolved Reuben L. Lillie

    (@reubenlillie)


    I’m using your plugin for a multilingual site, and it’d be great to be able to give my translators control (not to mention have some myself) over how the dropdown submit button appears (currently “go ?”).

    Could you add a filter (particularly for English speakers) and textdomain (particularly for translators) for the submit button to the widget options?

    On 133: echo '<input type="submit" value="go &raquo;" /></form>';

    Maybe something similar to the array-key logic beginning on 52 could work?

    Define a variable, say, for example, $dropdown_submit_text, so that 133 could become something like:

    echo '<input type="submit" value"' . esc_attr( $dropdown_submit_text ) . '" /></form>';

    . . . or however you would want to make use of echo or sprintf or something.

    There’s probably a better way to implement this. But, this sort of functionality would help to make such a good plugin even better.

    Thanks for your assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Request: Can you make filters applicable for the “go ?” button?’ is closed to new replies.