Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Translation plugin membership registration

Simple Membership Plugin › Forums › Simple Membership Plugin › Translation plugin membership registration

Tagged: translation

  • This topic has 4 replies, 3 voices, and was last updated 10 years, 1 month ago by kferrandon.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 28, 2016 at 2:29 pm #7301
    kferrandon
    Participant

    Hello,

    thank you for your plugin.
    I would like to inform you that i found an error of translation on your class class.bFrontRegistration.php on line 61 BUtils::_(‘Registration Successful. ‘) you just need to delete the escape at the end.

    file .po:
    #: E:\Portal\Project Material\NetBeans
    #: Workspace\simple-membership\simple-membership/classes/class.bAdminRegistration.php:45
    #: Workspace\simple-membership\simple-membership/classes/class.bFrontRegistration.php:58
    msgid “Registration Successful.”
    msgstr “Enregistrement Réussi.”

    Thank you for next release.
    Kevin FERRANDON

    June 28, 2016 at 10:28 pm #7306
    mbrsolution
    Moderator

    Hi, thank you for reporting this but I can’t find the following file you mentioned above.

    \simple-membership/classes/class.bFrontRegistration.php

    June 30, 2016 at 1:19 pm #7324
    kferrandon
    Participant

    Hi,

    Sorry i made a mistake.

    on line 86:

            if ($this->create_swpm_user() && $this->create_wp_user() && $this->send_reg_email()) {
                do_action('swpm_front_end_registration_complete'); //Keep this action hook for people who are using it (so their implementation doesn't break).
                do_action('swpm_front_end_registration_complete_user_data', $this->member_info);
    
                $login_page_url = SwpmSettings::get_instance()->get_value('login-page-url');
                $after_rego_msg = '<div class="swpm-registration-success-msg">' . <strong>SwpmUtils::_('Registration Successful. ')</strong> . SwpmUtils::_('Please') . ' <a href="' . $login_page_url . '">' . SwpmUtils::_('Login') . '</a></div>';
                $message = array('succeeded' => true, 'message' => $after_rego_msg);
                SwpmTransfer::get_instance()->set('status', $message);
                return;
            }

    do you see the escape in strong at the end of the sentence?
    I hope it could help you.

    Kevin

    July 1, 2016 at 11:50 am #7334
    admin
    Keymaster

    The language file actually has that spacing in there also. So in your translation use that spacing. That spacing is required so there is a space between that phrase and the next word.

    If you look at our POT file, you will see that there is a space there. So update your language file accordingly and you should be good.

    July 1, 2016 at 12:19 pm #7336
    kferrandon
    Participant

    Hello,

    Thank you for your help.
    I was juste affraid to do that, i thought It will be erase by next update?

    best regards
    Kevin

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy