Skip to:
Content

BuddyPress.org

Ticket #1032: i18n_1.patch

File i18n_1.patch, 1.2 KB (added by GIGALinux, 15 years ago)

hardcoded "... ago" in bp-sn-parent

  • bp-themes/bp-sn-parent/groups/single/forum/index.php

     
    4545
    4646                                                                <a class="topic-avatar" href="<?php bp_the_topic_permalink() ?>" title="<?php bp_the_topic_title() ?> - <?php _e( 'Permalink', 'buddypress' ) ?>"><?php bp_the_topic_last_poster_avatar( 'width=30&height=30') ?></a>
    4747                                                                <a class="topic-title" href="<?php bp_the_topic_permalink() ?>" title="<?php bp_the_topic_title() ?> - <?php _e( 'Permalink', 'buddypress' ) ?>"><?php bp_the_topic_title() ?></a>
    48                                                                 <span class="small topic-meta">(<?php bp_the_topic_total_post_count() ?> &rarr; <?php bp_the_topic_time_since_last_post() ?> ago)</span>
     48                                                                <span class="small topic-meta">(<?php bp_the_topic_total_post_count() ?> &rarr; <?php echo sprintf( __( '%s ago', 'buddypress' ), bp_the_topic_time_since_last_post( false ) ) ?>)</span>
    4949                                                                <span class="small latest topic-excerpt"><?php bp_the_topic_latest_post_excerpt() ?></span>
    5050                                                               
    5151                                                                <?php if ( bp_group_is_admin() || bp_group_is_mod() ) : ?>