Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/25/2023 06:31:01 PM (2 years ago)
Author:
imath
Message:

Add i18n context to BP Dynamic Groups 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/107

File:
1 edited

Legend:

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

    r13482 r13487  
    400400        'newest'       => array(
    401401            'class' => '',
    402             'label' => __( 'Newest', 'buddypress' ),
     402            'label' => _x( 'Newest', 'Groups', 'buddypress' ),
    403403        ),
    404404        'active'       => array(
    405405            'class' => '',
    406             'label' => __( 'Active', 'buddypress' ),
     406            'label' => _x( 'Active', 'Groups', 'buddypress' ),
    407407        ),
    408408        'popular'      => array(
    409409            'class' => '',
    410             'label' => __( 'Popular', 'buddypress' ),
     410            'label' => _x( 'Popular', 'Groups', 'buddypress' ),
    411411        ),
    412412        'alphabetical' => array(
    413413            'class' => '',
    414             'label' => __( 'Alphabetical', 'buddypress' ),
     414            'label' => _x( 'Alphabetical', 'Groups', 'buddypress' ),
    415415        ),
    416416    );
Note: See TracChangeset for help on using the changeset viewer.