Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/19/2020 12:33:58 PM (6 years ago)
Author:
imath
Message:

i18n: improve translator comments for the "Active %s" string

Make sure the same translator comment is used for every occurrences of this string.

Fixes #8398

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/groups-loop.php

    r12082 r12791  
    6565                        <div class="item">
    6666                                <div class="item-title"><?php bp_group_link(); ?></div>
    67                                 <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span></div>
     67                                <div class="item-meta">
     68                                        <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>">
     69                                                <?php
     70                                                /* translators: %s: last activity timestamp (e.g. "Active 1 hour ago") */
     71                                                printf( __( 'Active %s', 'buddypress' ), bp_get_group_last_active() );
     72                                                ?>
     73                                        </span>
     74                                </div>
    6875
    6976                                <div class="item-desc"><?php bp_group_description_excerpt(); ?></div>
Note: See TracChangeset for help on using the changeset viewer.