WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Passwords for Protected Pages
Change language (3 posts)

  1. bluedog1970
    Member
    Posted 6 months ago #

    I want to change the language to danish.
    "This post is password protected. To view it please enter your password below" -> "SUBMIT"
    How can I do that?
    Regards, Soren

    http://wordpress.org/plugins/baw-multiple-pass-for-protected-pages/

  2. vargaendre
    Member
    Posted 4 months ago #

    Hi! This is in the plugin's folder /inc/frontend-noajax.inc.php line 11 and 14.

    <p>' . __("This post is password protected. To view it please enter your password below:") . '</p>
    	<input type="hidden" name="post_id" value="' . $post->ID .'" />
    	<input type="hidden" name="action" value="bawmmp_multiple_password_check" />
    	<p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p>

    Julio, could you please make them localizable? :) And the "Cheatin'? Uh"-line, as well. :D
    Thank you! :)

  3. annebl
    Member
    Posted 4 months ago #

    I tried localising it with the plugin
    wordpress.org/plugins/codestyling-localization

    (be sure to change the text domain to default, else you can only translate the admin)

    but no succes

Reply

You must log in to post.

About this Plugin

About this Topic