Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/28/2020 01:49:36 PM (5 years ago)
Author:
imath
Message:

BP Templates: add missing /* translators */ comments

See #8260

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/post-form.php

    r12082 r12595  
    2727    </div>
    2828
    29     <p class="activity-greeting"><?php if ( bp_is_group() )
    30         printf( __( "What's new in %s, %s?", 'buddypress' ), bp_get_group_name(), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) );
    31     else
    32         printf( __( "What's new, %s?", 'buddypress' ), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) );
    33     ?></p>
     29    <p class="activity-greeting">
     30        <?php
     31        if ( bp_is_group() ) {
     32            /* translators: 1: group name. 2: member name. */
     33            printf( __( 'What\'s new in %1$s, %2$s?', 'buddypress' ), bp_get_group_name(), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) );
     34        } else {
     35            /* translators: %s: member name */
     36            printf( __( "What's new, %s?", 'buddypress' ), bp_get_user_firstname( bp_get_loggedin_user_fullname() ) );
     37        }
     38        ?>
     39    </p>
    3440
    3541    <div id="whats-new-content">
Note: See TracChangeset for help on using the changeset viewer.