Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/25/2023 06:47:45 PM (3 years ago)
Author:
imath
Message:

Add i18n context to BP Dynamic Friends block filter strings

This context should help polyglots contributors to improve these filter options translation.

Props lenasterg

See #8905
Closes https://github.com/buddypress/buddypress/pull/108

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-friends/bp-friends-blocks.php

    r13433 r13488  
    135135                'newest'  => array(
    136136                        'class' => '',
    137                         'label' => __( 'Newest', 'buddypress' ),
     137                        'label' => _x( 'Newest', 'Friends', 'buddypress' ),
    138138                ),
    139139                'active'  => array(
    140140                        'class' => '',
    141                         'label' => __( 'Active', 'buddypress' ),
     141                        'label' => _x( 'Active', 'Friends', 'buddypress' ),
    142142                ),
    143143                'popular' => array(
    144144                        'class' => '',
    145                         'label' => __( 'Popular', 'buddypress' ),
     145                        'label' => _x( 'Popular', 'Friends', 'buddypress' ),
    146146                ),
    147147        );
Note: See TracChangeset for help on using the changeset viewer.