Skip to:
Content

BuddyPress.org

Ticket #6764: 6764-01.patch

File 6764-01.patch, 5.3 KB (added by Jonnyauk, 9 years ago)

Fixes text domain definition code

  • src/bp-groups/bp-groups-template.php

     
    802802        }
    803803
    804804        if ( 'public' == $group->status ) {
    805                 $type = __( "Public Group", "buddypress" );
     805                $type = __( "Public Group", 'buddypress' );
    806806        } elseif ( 'hidden' == $group->status ) {
    807                 $type = __( "Hidden Group", "buddypress" );
     807                $type = __( "Hidden Group", 'buddypress' );
    808808        } elseif ( 'private' == $group->status ) {
    809                 $type = __( "Private Group", "buddypress" );
     809                $type = __( "Private Group", 'buddypress' );
    810810        } else {
    811811                $type = ucwords( $group->status ) . ' ' . __( 'Group', 'buddypress' );
    812812        }
  • src/bp-templates/bp-legacy/buddypress/groups/single/admin.php

    
    
     
    313313
    314314
    315315        <div class="bp-widget">
    316                 <h4><?php _e("Members", "buddypress"); ?></h4>
     316                <h4><?php _e( "Members", 'buddypress' ); ?></h4>
    317317
    318318                <?php if ( bp_group_has_members( 'per_page=15&exclude_banned=0' ) ) : ?>
    319319
  • src/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php

    
            
     
    1414do_action( 'bp_before_group_request_membership_content' ); ?>
    1515
    1616<?php if ( !bp_group_has_requested_membership() ) : ?>
    17         <p><?php printf( __( "You are requesting to become a member of the group '%s'.", "buddypress" ), bp_get_group_name( false ) ); ?></p>
     17        <p><?php printf( __( "You are requesting to become a member of the group '%s'.", 'buddypress' ), bp_get_group_name( false ) ); ?></p>
    1818
    1919        <form action="<?php bp_group_form_action('request-membership' ); ?>" method="post" name="request-membership-form" id="request-membership-form" class="standard-form">
    2020                <label for="group-request-membership-comments"><?php _e( 'Comments (optional)', 'buddypress' ); ?></label>
  • src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php

    
    
     
    2727        </ul>
    2828
    2929        <?php if ( bp_current_user_can( 'bp_moderate' ) ) : ?>
    30                 <p><label for="send-notice"><input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", "buddypress" ); ?></label></p>
     30                <p><label for="send-notice"><input type="checkbox" id="send-notice" name="send-notice" value="1" /> <?php _e( "This is a notice to all users.", 'buddypress' ); ?></label></p>
    3131        <?php endif; ?>
    3232
    3333        <label for="subject"><?php _e( 'Subject', 'buddypress' ); ?></label>
  • src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php

    
    
     
    101101                                                <?php endif; ?>
    102102
    103103                                                <td class="thread-info">
    104                                                         <p><a href="<?php bp_message_thread_view_link(); ?>" title="<?php esc_attr_e( "View Message", "buddypress" ); ?>"><?php bp_message_thread_subject(); ?></a></p>
     104                                                        <p><a href="<?php bp_message_thread_view_link(); ?>" title="<?php esc_attr_e( "View Message", 'buddypress' ); ?>"><?php bp_message_thread_subject(); ?></a></p>
    105105                                                        <p class="thread-excerpt"><?php bp_message_thread_excerpt(); ?></p>
    106106                                                </td>
    107107
  • src/bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php

    
            
     
    7474
    7575                                <td width="10%">
    7676                                        <a class="button" href="<?php bp_message_activate_deactivate_link(); ?>" class="confirm"><?php bp_message_activate_deactivate_text(); ?></a>
    77                                         <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>">x</a>
     77                                        <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" title="<?php esc_attr_e( "Delete Message", 'buddypress' ); ?>">x</a>
    7878                                </td>
    7979                        </tr>
    8080                <?php endwhile; ?>
  • src/bp-templates/bp-legacy/buddypress/members/single/messages/single.php

    
    
     
    4141
    4242                        </span>
    4343
    44                         <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>" title="<?php esc_attr_e( "Delete Conversation", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>
     44                        <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>" title="<?php esc_attr_e( "Delete Conversation", 'buddypress' ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a>
    4545                </p>
    4646
    4747                <?php
  • src/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php

    
    
     
    2323                /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
    2424                do_action( 'bp_before_profile_field_content' ); ?>
    2525
    26                 <h4><?php printf( __( "Editing '%s' Profile Group", "buddypress" ), bp_get_the_profile_group_name() ); ?></h4>
     26                <h4><?php printf( __( "Editing '%s' Profile Group", 'buddypress' ), bp_get_the_profile_group_name() ); ?></h4>
    2727
    2828                <?php if ( bp_profile_has_multiple_groups() ) : ?>
    2929                        <ul class="button-nav">