Skip to:
Content

BuddyPress.org

Ticket #2555: patch_bp_gettext.txt

File patch_bp_gettext.txt, 1.1 KB (added by Bountin, 14 years ago)
Line 
1### Eclipse Workspace Patch 1.0
2Index: wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php
3===================================================================
4--- wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php      (revision 181)
5+++ wp-content/plugins/buddypress/bp-core/bp-core-templatetags.php      (working copy)
6@@ -904,10 +904,10 @@
7                        $title = __( 'Blog', 'buddypress' );
8 
9        } else if ( !empty( $bp->displayed_user->fullname ) ) {
10-               $title = strip_tags( $bp->displayed_user->fullname . ' | ' . ucwords( $bp->current_component ) );
11+               $title = strip_tags( $bp->displayed_user->fullname . ' | ' . ucwords( __( $bp->current_component, 'buddypress' ) ) );
12 
13        } else if ( $bp->is_single_item ) {
14-               $title = ucwords( $bp->current_component ) . ' | ' . $bp->bp_options_title . ' | ' . $bp->bp_options_nav[$bp->current_component][$bp->current_action]['name'];
15+               $title = ucwords( __( $bp->current_component, 'buddypress' ) ) . ' | ' . $bp->bp_options_title . ' | ' . $bp->bp_options_nav[$bp->current_component][$bp->current_action]['name'];
16 
17        } else if ( $bp->is_directory ) {
18                if ( !$bp->current_component )