Skip to:
Content

BuddyPress.org

Changeset 6432


Ignore:
Timestamp:
10/20/2012 03:39:59 PM (14 years ago)
Author:
djpaul
Message:

Prefix widget names with "(BuddyPress)" for easier identification on the widget admin screen. Fixes #4616

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-widgets.php

    r6342 r6432  
    2323
    2424        function __construct() {
    25                 parent::__construct( false, $name = __( 'Recent Networkwide Posts', 'buddypress' ) );
     25                parent::__construct( false, $name = _x( '(BuddyPress) Recent Networkwide Posts', 'widget name', 'buddypress' ) );
    2626        }
    2727
  • trunk/bp-core/bp-core-widgets.php

    r6342 r6432  
    1717        function __construct() {
    1818                $widget_ops = array( 'description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ) );
    19                 parent::__construct( false, $name = __( 'Members', 'buddypress' ), $widget_ops );
     19                parent::__construct( false, $name = _x( '(BuddyPress) Members', 'widget name', 'buddypress' ), $widget_ops );
    2020
    2121                if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) {
     
    145145        function __construct() {
    146146                $widget_ops = array( 'description' => __( 'Avatars of users who are currently online', 'buddypress' ) );
    147                 parent::__construct( false, $name = __( "Who's Online Avatars", 'buddypress' ), $widget_ops );
     147                parent::__construct( false, $name = _x( "(BuddyPress) Who's Online", 'widget name', 'buddypress' ), $widget_ops );
    148148        }
    149149
     
    209209        function __construct() {
    210210                $widget_ops = array( 'description' => __( 'Avatars of recently active members', 'buddypress' ) );
    211                 parent::__construct( false, $name = __( 'Recently Active Member Avatars', 'buddypress' ), $widget_ops );
     211                parent::__construct( false, $name = _x( '(BuddyPress) Recently Active Members', 'widget name', 'buddypress' ), $widget_ops );
    212212        }
    213213
  • trunk/bp-groups/bp-groups-widgets.php

    r6342 r6432  
    2626        function __construct() {
    2727                $widget_ops = array( 'description' => __( 'A dynamic list of recently active, popular, and newest groups', 'buddypress' ) );
    28                 parent::__construct( false, __( 'Groups', 'buddypress' ), $widget_ops );
     28                parent::__construct( false, _x( '(BuddyPress) Groups', 'widget name', 'buddypress' ), $widget_ops );
    2929
    3030                if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) {
Note: See TracChangeset for help on using the changeset viewer.