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/single.php

    r1705 r2376  
    5050                                ?>
    5151
    52                             <?php edit_post_link('Edit This', '<div class="meta">', '</div>'); ?>
     52                            <?php edit_post_link( __( 'Edit This', 'wporg-showcase' ), '<div class="meta">', '</div>'); ?>
    5353
    5454                        </div><!-- .storycontent -->
     
    5656                    </div><!-- .col-5 -->
    5757                    <div class="col-13">
    58                         <p class="button"><a href="http://<?php get_site_domain( false ); ?>">Visit Site</a></p>
     58                        <p class="button"><a href="http://<?php get_site_domain( false ); ?>"><?php _e( 'Visit Site', 'wporg-showcase' ); ?></a></p>
    5959
    60                         <h4>Rating</h4>
     60                        <h4><?php _e( 'Rating', 'wporg-showcase' ); ?></h4>
    6161                        <?php the_ratings(); ?>
    62                         <p class='rating-descrip'>Rate this site based on their implementation and use of WordPress.</p>
     62                        <p class='rating-descrip'><?php _e( 'Rate this site based on their implementation and use of WordPress.', 'wporg-showcase' ); ?></p>
    6363
    6464                        <?php wp_flavors(); ?>
    6565                        <br />
    66                         <?php tags_with_count( 'list', '<h4>Tags</h4><ul>', '', '</ul>' ); ?>
     66                        <?php tags_with_count( 'list', '<h4>' . __( 'Tags', 'wporg-showcase' ) . '</h4><ul>', '', '</ul>' ); ?>
    6767                    </div>
    6868
Note: See TracChangeset for help on using the changeset viewer.