Making WordPress.org


Ignore:
Timestamp:
01/12/2018 03:57:28 AM (8 years ago)
Author:
dd32
Message:

BuddyPress.org & bbPress.org: User numbered placeholders in translated strings.

Props SergeyBiryukov, afzalmultani.
Fixes #3009.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/index.php

    r442 r6366  
    22<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    33            <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    4             <cite><?php printf( __( 'Published on %s by %s', 'bbporg' ), get_the_time( 'F jS, Y' ), get_the_author_link() ); ?></cite>
     4            <cite><?php
     5                /* translators: 1: post date, 2: post author */
     6                printf( __( 'Published on %1$s by %2$s', 'bborg' ),
     7                    get_the_time( 'F jS, Y' ),
     8                    get_the_author_link()
     9                );
     10            ?></cite>
    511            <div class="single-post" id="post-<?php the_ID(); ?>"><?php the_content( __( 'Read more &rarr;' ) ); ?></div>
    612<?php endwhile; if ( get_next_posts_link() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.