Making WordPress.org


Ignore:
Timestamp:
01/26/2016 11:41:27 PM (8 years ago)
Author:
coffee2code
Message:

W.org Showcase: Pass all strings through i18n functions.

Props ramiy, coffee2code.
Fixes #1507.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-showcase/archive.php

    r1705 r2376  
    2323                    <h5><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h5>
    2424                    <div class="excerpt"><?php the_content_limit(200); ?></div>
    25                     <div class="meta"><?php tags_with_count( 'flat', '<strong>Tags:</strong> ', ', ', '<br />'); ?><?php edit_post_link( 'Edit this entry' ); ?></div>
     25                    <div class="meta"><?php tags_with_count( 'flat', '<strong>' . __( 'Tags:', 'wporg-showcase' ) . '</strong> ', ', ', '<br />'); ?><?php edit_post_link( __( 'Edit this entry', 'wporg-showcase' ) ); ?></div>
    2626                    <div style="clear:both;"></div>
    2727                </div>
     
    3333        <?php else : // have_posts ?>
    3434
    35             <p><?php _e('Sorry, no sites in the Showcase matched your criteria.'); ?></p>
     35            <p><?php _e( 'Sorry, no sites in the Showcase matched your criteria.', 'wporg-showcase' ); ?></p>
    3636
    3737        <?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.