Making WordPress.org


Ignore:
Timestamp:
12/23/2015 08:41:21 PM (9 years ago)
Author:
coffee2code
Message:

Make home theme: Fix i18n handling.

  • Make all strings translatable.
  • Consistently use 'make-wporg' as text domain.

Fixes #1287.
Props ramiy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/front-page.php

    r960 r2225  
    3030                    <?php the_content(); ?>
    3131                    <?php if ( $url ) : ?>
    32                         <p><a href="<?php echo esc_url( $url ); ?>">Learn more about <?php the_title(); ?> &raquo;</a></p>
     32                        <p><a href="<?php echo esc_url( $url ); ?>"><?php printf( __( 'Learn more about %s &raquo;', 'make-wporg' ), get_the_title() ); ?></a></p>
    3333                    <?php endif; ?>
    3434                </div>
Note: See TracChangeset for help on using the changeset viewer.