Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/28/2020 01:49:36 PM (4 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/blogs/index.php

    r12082 r12595  
    6161        <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Sites directory main navigation', 'buddypress' ); ?>" role="navigation">
    6262            <ul>
    63                 <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>"><?php printf( __( 'All Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count() . '</span>' ); ?></a></li>
     63                <li class="selected" id="blogs-all">
     64                    <a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>">
     65                        <?php
     66                        /* translators: %s: all blogs count */
     67                        printf( __( 'All Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count() . '</span>' ); ?>
     68                    </a>
     69                </li>
    6470
    6571                <?php if ( is_user_logged_in() && bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ) : ?>
    6672
    67                     <li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug(); ?>"><?php printf( __( 'My Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
     73                    <li id="blogs-personal">
     74                        <a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug(); ?>">
     75                            <?php
     76                            /* translators: %s: current user blogs count */
     77                            printf( __( 'My Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?>
     78                        </a>
     79                    </li>
    6880
    6981                <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.