WordPress.org

Ready to get started?Download WordPress

Forums

Secure Invites
Localization bugs! Please implement (1 post)

  1. deadelvis
    Member
    Posted 2 years ago #

    Thanks for the great plugin!

    Hope you accept and can implement these edits, in order to correct some bugs and make translations possible:

    1.
    Please substitute "secure_invites" to the correct "secure_invite" text domain on at least 9 locations throughout secure_invite.php (several of them on lines 739 to 754).

    2.
    So it becomes translatable too, please substitute line 780:
    <input type="text" name="secure_invite_invite_limit" id="secure_invite_invite_limit" value="'.$secure_invite_invite_limit.'" style="width:10%" /> <span class="description">' . __('How many invites can each user send (<a href="' . secure_invite_page_link(). '.php?page=secure_invite_list&view=users">override this for particular users here</a>)? (set as blank for unlimited)', "secure_invite") . '</span></p>

    by
    <input type="text" name="secure_invite_invite_limit" id="secure_invite_invite_limit" value="'.$secure_invite_invite_limit.'" style="width:10%" /> <span class="description">' . sprintf(__('How many invites can each user send (<a href="%s.php?page=secure_invite_list&view=users">override this for particular users here</a>)? (set as blank for unlimited)', "secure_invite"), secure_invite_page_link()) . '</span></p>

    3.
    Load the localization file .mo, by adding somewhere at the top of secure_invite.php:
    load_plugin_textdomain('secure_invite', false, basename( dirname( __FILE__ ) ) . '/languages' );

    Thanks!

    http://wordpress.org/extend/plugins/wordpress-mu-secure-invites/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic