Changeset 391 for trunk/bp-core/bp-core-ajax.php
- Timestamp:
- 10/12/2008 08:19:04 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-ajax.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-ajax.php
r374 r391 42 42 <?php 43 43 if ( $_POST['filter'] == 'newest-members') { 44 echo bp_core_get_last_activity( $user->user_registered, __('registered ' ), __(' ago') );44 echo bp_core_get_last_activity( $user->user_registered, __('registered ', 'buddypress'), __(' ago', 'buddypress') ); 45 45 } else if ( $_POST['filter'] == 'recently-active-members') { 46 echo bp_core_get_last_activity( get_usermeta( $user->user_id, 'last_activity' ), __('active ' ), __(' ago') );46 echo bp_core_get_last_activity( get_usermeta( $user->user_id, 'last_activity' ), __('active ', 'buddypress'), __(' ago', 'buddypress') ); 47 47 } else if ( $_POST['filter'] == 'popular-members') { 48 48 if ( get_usermeta( $user->user_id, 'total_friend_count' ) == 1 ) 49 echo get_usermeta( $user->user_id, 'total_friend_count' ) . __(' friend' );49 echo get_usermeta( $user->user_id, 'total_friend_count' ) . __(' friend', 'buddypress'); 50 50 else 51 echo get_usermeta( $user->user_id, 'total_friend_count' ) . __(' friends' );51 echo get_usermeta( $user->user_id, 'total_friend_count' ) . __(' friends', 'buddypress'); 52 52 } 53 53 ?> … … 59 59 } 60 60 } else { 61 echo "-1[[SPLIT]]<li>" . __("No members matched the current filter." );61 echo "-1[[SPLIT]]<li>" . __("No members matched the current filter.", 'buddypress'); 62 62 } 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.