Changeset 9106
- Timestamp:
- 10/29/2014 07:39:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-filters.php
r9105 r9106 451 451 } elseif ( bp_is_active( 'groups' ) && ! empty( $bp->groups->current_group ) && ! empty( $bp->bp_options_nav[ $bp->groups->current_group->slug ] ) ) { 452 452 $subnav = isset( $bp->bp_options_nav[ $bp->groups->current_group->slug ][ bp_current_action() ]['name'] ) ? $bp->bp_options_nav[ $bp->groups->current_group->slug ][ bp_current_action() ]['name'] : ''; 453 // translators: "group name | group nav section name"454 $title = sprintf( __( '%1$s | %2$s', 'buddypress' ), $bp->bp_options_title, $subnav);453 // translators: 1 = group name, 2 = group nav section name, 3 = separator 454 $title = sprintf( __( '%1$s %3$s %2$s', 'buddypress' ), $bp->bp_options_title, $subnav, $sep ); 455 455 456 456 // A single item from a component other than groups 457 457 } elseif ( bp_is_single_item() ) { 458 // translators: "component item name | component nav section name"459 $title = sprintf( __( '%1$s | %2$s', 'buddypress' ), $bp->bp_options_title, $bp->bp_options_nav[ bp_current_item() ][ bp_current_action() ]['name']);458 // translators: 1 = component item name, 2 = component nav section name, 3 = separator 459 $title = sprintf( __( '%1$s %3$s %2$s', 'buddypress' ), $bp->bp_options_title, $bp->bp_options_nav[ bp_current_item() ][ bp_current_action() ]['name'], $sep ); 460 460 461 461 // An index or directory
Note: See TracChangeset
for help on using the changeset viewer.