Reply To: Changing labels i nthe Activity Stream
the original code is %s posted an update
To modify this the right way, you have to use the language file and an appropriate compilator such as poEdit to generate the mo file.
Don’t know what solution you didn’t found, guess you have to search this forum for translation related topics.
A very dirty solution would be to use this snippet and add it to your child-theme functions.php
function marketraisen_change_bp_update_text( $translated, $original_text, $domain ) {
if ( 'buddypress' !== $domain )
return $translated;
switch ( $original_text ) {
case '%s posted an update':
return '%s posted on';
default:
return $translated;
}
}
add_filter( 'gettext', 'marketraisen_change_bp_update_text', 10, 3 );