Changeset 391 for trunk/bp-friends/bp-friends-templatetags.php
- Timestamp:
- 10/12/2008 08:19:04 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends/bp-friends-templatetags.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-templatetags.php
r359 r391 242 242 243 243 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'); 245 245 } 246 246 } … … 268 268 if ( $bp['current_action'] == 'my-friends' || !$bp['current_action'] ) { 269 269 $action = $bp['current_domain'] . $bp['friends']['slug'] . '/my-friends/search/'; 270 $label = __('Filter Friends' );270 $label = __('Filter Friends', 'buddypress'); 271 271 $type = 'friend'; 272 272 } else { 273 273 $action = $bp['current_domain'] . $bp['friends']['slug'] . '/friend-finder/search/'; 274 $label = __('Find Friends' );274 $label = __('Find Friends', 'buddypress'); 275 275 $type = 'finder'; 276 276 $value = $bp['action_variables'][1]; … … 326 326 echo '<div class="friendship-button" id="friendship-button-' . $potential_friend_id . '">'; 327 327 if ( $friend_status == 'pending' ) { 328 _e('Friendship Requested' );328 _e('Friendship Requested', 'buddypress'); 329 329 } 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>'; 331 331 } 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>'; 333 333 } 334 334 echo '</div>'; … … 345 345 ?> 346 346 <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') ?> »</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') ?> »</a></h4> 348 348 349 349 <?php if ( $friend_ids ) { ?> … … 358 358 <?php } else { ?> 359 359 <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> 361 361 </div> 362 362 <?php } ?>
Note: See TracChangeset
for help on using the changeset viewer.