Skip to:
Content

BuddyPress.org

Changeset 12531


Ignore:
Timestamp:
01/18/2020 12:56:27 PM (5 years ago)
Author:
imath
Message:

Groups: Make the Manage Members default role option translatable

Fixes #8188 (trunk)

Location:
trunk/src/bp-groups
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-cssjs.php

    r12405 r12531  
    5959        'preloaded' => reset( $preloaded_members ),
    6060        'roles'     => bp_groups_get_group_roles(),
     61        'strings'    => array(
     62            'allMembers' => _x( 'All members', 'Group Manage Members dropdown default option', 'buddypress' ),
     63        ),
    6164    );
    6265}
  • trunk/src/bp-groups/js/manage-members.js

    r12405 r12531  
    163163    bp.Views.GroupRolesDropDown = bp.View.extend( {
    164164        tagName: 'select',
    165         filters: _.extend( { all: { name: 'All members' } }, bpGroupManageMembersSettings.roles ),
     165        filters: _.extend( { all: { name: bpGroupManageMembersSettings.strings.allMembers } }, bpGroupManageMembersSettings.roles ),
    166166
    167167        events: {
Note: See TracChangeset for help on using the changeset viewer.