Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/12/2008 08:19:04 PM (17 years ago)
Author:
apeatling
Message:

Added the 'buddypress' textdomain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-templatetags.php

    r359 r391  
    242242   
    243243    if ( $friends_template->friendship->date_created != "0000-00-00 00:00:00" ) {
    244         echo __('requested') . ' ' . bp_core_time_since( strtotime( $friends_template->friendship->date_created ) ) . ' ' . __('ago');
     244        echo __('requested', 'buddypress') . ' ' . bp_core_time_since( strtotime( $friends_template->friendship->date_created ) ) . ' ' . __('ago', 'buddypress');
    245245    }
    246246}
     
    268268    if ( $bp['current_action'] == 'my-friends' || !$bp['current_action'] ) {
    269269        $action = $bp['current_domain'] . $bp['friends']['slug'] . '/my-friends/search/';
    270         $label = __('Filter Friends');
     270        $label = __('Filter Friends', 'buddypress');
    271271        $type = 'friend';
    272272    } else {
    273273        $action = $bp['current_domain'] . $bp['friends']['slug'] . '/friend-finder/search/';
    274         $label = __('Find Friends');
     274        $label = __('Find Friends', 'buddypress');
    275275        $type = 'finder';
    276276        $value = $bp['action_variables'][1];
     
    326326        echo '<div class="friendship-button" id="friendship-button-' . $potential_friend_id . '">';
    327327        if ( $friend_status == 'pending' ) {
    328             _e('Friendship Requested');
     328            _e('Friendship Requested', 'buddypress');
    329329        } else if ( $friend_status == 'is_friend') {
    330             echo '<a href="' . $bp['loggedin_domain'] . $bp['friends']['slug'] . '/remove-friend/' . $potential_friend_id . '" title="' . __('Cancel Friendship') . '" id="friend-' . $potential_friend_id . '" rel="remove" class="remove">' . __('Cancel Friendship') . '</a>';
     330            echo '<a href="' . $bp['loggedin_domain'] . $bp['friends']['slug'] . '/remove-friend/' . $potential_friend_id . '" title="' . __('Cancel Friendship', 'buddypress') . '" id="friend-' . $potential_friend_id . '" rel="remove" class="remove">' . __('Cancel Friendship', 'buddypress') . '</a>';
    331331        } else {
    332             echo '<a href="' . $bp['loggedin_domain'] . $bp['friends']['slug'] . '/add-friend/' . $potential_friend_id . '" title="' . __('Add Friend') . '" id="friend-' . $potential_friend_id . '" rel="add">' . __('Add Friend') . '</a>';
     332            echo '<a href="' . $bp['loggedin_domain'] . $bp['friends']['slug'] . '/add-friend/' . $potential_friend_id . '" title="' . __('Add Friend', 'buddypress') . '" id="friend-' . $potential_friend_id . '" rel="add">' . __('Add Friend', 'buddypress') . '</a>';
    333333        }
    334334        echo '</div>';
     
    345345?> 
    346346    <div class="info-group">
    347         <h4><?php bp_my_or_name() ?> <?php _e('Friends') ?> (<?php echo BP_Friends_Friendship::total_friend_count() ?>)  <a href="<?php echo $bp['current_domain'] . $bp['friends']['slug'] ?>"><?php _e('See All') ?> &raquo;</a></h4>
     347        <h4><?php bp_my_or_name() ?> <?php _e('Friends', 'buddypress') ?> (<?php echo BP_Friends_Friendship::total_friend_count() ?>)  <a href="<?php echo $bp['current_domain'] . $bp['friends']['slug'] ?>"><?php _e('See All', 'buddypress') ?> &raquo;</a></h4>
    348348       
    349349        <?php if ( $friend_ids ) { ?>
     
    358358        <?php } else { ?>
    359359            <div id="message" class="info">
    360                 <p><?php bp_you_or_name() ?> <?php _e('added any friend connections yet.') ?></p>
     360                <p><?php bp_you_or_name() ?> <?php _e('added any friend connections yet.', 'buddypress') ?></p>
    361361            </div>
    362362        <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.