Membership - small fix for untranslateable text labels on ping setup screen

The 'ping data' labels do not get translated on Membership plugin's ping forms. To fix this the fillowing needs to be changed on lines 108 and 155:

__('Ping data','automessage')

To

__('Ping data','membership')

  • Jouni Salo

    In addition to those I found a few more after tinkering around. Here's what I fixed (file name, line number, original text, fixed).

    class.subscription.php
    
    465: Finite => <?php _e('Finite', 'membership'); ?>
    466: Indefinite => <?php _e('Indefinite', 'membership'); ?>
    467: Serial => <?php _e('Serial', 'membership'); ?>
    
    596: _e('<strong>Finite</strong> - user remains at this level for a set period of time before ending'); => _e('<strong>Finite</strong> - user remains at this level for a set period of time before ending', 'membership');
    597: _e('<strong>Indefinite</strong> - user remains at this level for ever.'); => _e('<strong>Indefinite</strong> - user remains at this level for ever.', 'membership');
    598: _e('<strong>Serial</strong> - user remains at this level for a set period of time and is then renewed at the same level'); => _e('<strong>Serial</strong> - user remains at this level for a set period of time and is then renewed at the same level', 'membership');
    599: _e('<strong>Note:</strong> - depending on the payment gateway used, changing the price will not alter subscriptions charged to existing members.'); => _e('<strong>Note:</strong> - depending on the payment gateway used, changing the price will not alter subscriptions charged to existing members.', 'membership');
    
    membershipadmin.php
    
    2989: __('Clone') => __('Clone', 'membership')
    3547: __('Make public') => __('Make public', 'membership')
    3549: __('Make private') => __('Make private', 'membership') 
    
    1619: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    1901: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    2901: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    3034: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    3455: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    3604: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    3743: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    3860: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    4107: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    4258: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    5795: _e('Toggle activation'); => _e('Toggle activation', 'membership');
    
    3456: _e('Toggle public status'); => _e('Toggle public status', 'membership');
    
    3410: __('Subscription added.');  => __('Subscription added.', 'membership');
    3411: __('Subscription deleted.'); => __('Subscription deleted.', 'membership');
    3412: __('Subscription updated.'); => __('Subscription updated.', 'membership');
    3413: __('Subscription not added.'); => __('Subscription not added.', 'membership');
    3414: __('Subscription not updated.'); => __('Subscription not updated.', 'membership');
    3415: __('Subscription not deleted.'); => __('Subscription not deleted.', 'membership');
    3417: __('Subscription activation toggled.'); => __('Subscription activation toggled.', 'membership');
    3418: __('Subscription activation not toggled.'); =>  __('Subscription activation not toggled.', 'membership');
    3420: __('Subscriptions updated.'); => __('Subscriptions updated.', 'membership');
    
    4207: echo "Signup message"; => _e('Signup message', 'membership');
    
    4219: echo "Minute(s)"; => _e('minute(s)', 'membership');
    4221: echo "Hour(s)"; => _e('hour(s)', 'membership');
    4223: echo "Day(s)"; => _e('day(s)', 'membership');
    4225: echo "Week(s)"; => _e('week(s)', 'membership');
    4227: echo "Month(s)"; => _e('month(s)', 'membership');
    4229: echo "Year(s)"; => _e('year(s)', 'membership');

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.