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-activity/bp-activity-templatetags.php

    r375 r391  
    149149    /* Switch 'their/your' and 'Name/You' depending on whether the user is logged in or not and viewing their profile */
    150150    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] );     
    153153    }
    154154   
     
    160160
    161161function 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') );
    163163}
    164164
Note: See TracChangeset for help on using the changeset viewer.