Changeset 391 for trunk/bp-activity/bp-activity-templatetags.php
- Timestamp:
- 10/12/2008 08:19:04 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-templatetags.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r375 r391 149 149 /* Switch 'their/your' and 'Name/You' depending on whether the user is logged in or not and viewing their profile */ 150 150 if ( $is_home ) { 151 $content[0] = str_replace( __('their' ), __('your'), $content[0] );152 $content[0] = str_replace( $full_name, __('You' ), $content[0] );151 $content[0] = str_replace( __('their', 'buddypress'), __('your', 'buddypress'), $content[0] ); 152 $content[0] = str_replace( $full_name, __('You', 'buddypress'), $content[0] ); 153 153 } 154 154 … … 160 160 161 161 function bp_activity_insert_time_since( $content, $date ) { 162 return sprintf( $content, ' ' . bp_core_time_since( strtotime( $date ) ) . ' ' . __('ago' ) );162 return sprintf( $content, ' ' . bp_core_time_since( strtotime( $date ) ) . ' ' . __('ago', 'buddypress') ); 163 163 } 164 164
Note: See TracChangeset
for help on using the changeset viewer.