Skip to:
Content

BuddyPress.org

Ticket #172: buddypress_l18n_friends_theme.patch

File buddypress_l18n_friends_theme.patch, 2.6 KB (added by GIGALinux, 16 years ago)

Patch for friends themes

  • buddypress-theme/buddypress-member/friends/friend-finder.php

     
    22</div>
    33
    44<div id="content">
    5         <h2>Friend Finder</h2>
     5        <h2><?php _e("Friend Finder", "buddypress"); ?></h2>
    66       
    77        <div class="left-menu">
    88                <?php bp_friend_search_form('Find Friends') ?>
     
    3030                        <div id="finder-message">
    3131                                <div id="message" class="info">
    3232                                        <p>
    33                                            <strong>Find your Friends using Friend Finder!</strong><br />
    34                                            Use the search box to find friends on the site.
    35                                            You can enter any type of information you want, a first or last name,
    36                                            email address or any specific interesting information.
    37                                         </p>
     33                                           <strong><?php _e("Find your Friends using Friend Finder!", "buddypress"); ?></strong><br />
     34                                           <?php _e("Use the search box to find friends on the site. You can enter any type of information you want, a first or last name, email address or any specific interesting information.", "buddypress"); ?></p>
    3835                                </div>
    3936                        </div>
    4037                       
  • buddypress-theme/buddypress-member/friends/requests.php

     
    66                <?php bp_friend_pagination() ?>
    77        </div>
    88       
    9         <h2>Friendship Requests</h2>
     9        <h2><?php _e("Friendship Requests", "buddypress"); ?></h2>
    1010        <?php do_action( 'template_notices' ) // (error/success feedback) ?>
    1111       
    1212        <?php if ( bp_has_friendships() ) : ?>
     
    1717                                <h4><?php bp_friend_link() ?></h4>
    1818                                <span class="activity"><?php bp_friend_time_since_requested() ?></span>
    1919                                <div class="action">
    20                                         <a href="<?php bp_friend_accept_request_link() ?>" id="accept">Accept</a>
    21                                         <a href="<?php bp_friend_reject_request_link() ?>" id="reject">Reject</a>
     20                                        <a href="<?php bp_friend_accept_request_link() ?>" id="accept"><?php _e("Accept", "buddypress"); ?></a>
     21                                        <a href="<?php bp_friend_reject_request_link() ?>" id="reject"><?php _e("Reject", "buddypress"); ?></a>
    2222                                </div>
    2323                        </li>
    2424                <?php endwhile; ?>
     
    2626        <?php else: ?>
    2727
    2828                <div id="message" class="info">
    29                         <p>You have no pending friendship requests.</p>
     29                        <p><?php _e("You have no pending friendship requests.", "buddypress"); ?></p>
    3030                </div>
    3131
    3232        <?php endif;?>