Making WordPress.org


Ignore:
Timestamp:
01/26/2016 11:41:27 PM (9 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/sidebar-left.php

    r1474 r2376  
    11        <div class="col-2 secondary">
    2             <a href="<?php echo home_url( '/submit-a-wordpress-site/' ); ?>" class="wpsc-submit-site">Submit a Site &rarr;</a>
     2            <a href="<?php echo home_url( '/submit-a-wordpress-site/' ); ?>" class="wpsc-submit-site"><?php _e( 'Submit a Site &rarr;', 'wporg-showcase' ); ?></a>
    33           
    4             <h4 class="search">Search</h4>
     4            <h4 class="search"><?php _e( 'Search', 'wporg-showcase' ); ?></h4>
    55            <?php // @todo: use get_search_form(); ?>
    66            <form method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
    77                <input type="text" value="<?php the_search_query(); ?>" name="s" id="s" class="text" />
    8                 <input type="submit" id="searchsubmit" value="Go" class="button" />
     8                <input type="submit" id="searchsubmit" value="<?php esc_attr_e( 'Go', 'wporg-showcase' ); ?>" class="button" />
    99            </form>
    1010           
    1111
    1212            <?php popular_tags(); ?>
    13             <a href='<?php echo home_url( '/tag-cloud/' ); ?>' class="wpsc-all-tags">View All Tags &rarr;</a>
     13            <a href='<?php echo home_url( '/tag-cloud/' ); ?>' class="wpsc-all-tags"><?php _e( 'View All Tags &rarr;', 'wporg-showcase' ); ?></a>
    1414           
    15             <h4>Browse by Flavor</h4>
     15            <h4><?php _e( 'Browse by Flavor', 'wporg-showcase' ); ?></h4>
    1616            <ul class="submenu">
    1717                <?php wp_list_categories( 'exclude=4&title_li=' ); ?>
Note: See TracChangeset for help on using the changeset viewer.