Making WordPress.org

Changeset 1477


Ignore:
Timestamp:
04/15/2015 08:56:26 AM (10 years ago)
Author:
dd32
Message:

Theme Directory: Improve localisation by properly using a consistent text domain, and not relying upon strings contained within wp-admin.
This removes the Nav menu, replacing it with a hard-coded menu, and hard-coded site title.

Location:
sites/trunk/wordpress.org/public_html/wp-content
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php

    r1473 r1477  
    417417    $subject  = sprintf( __( '[WordPress Themes] %s - feedback', 'wporg-themes' ), $post->post_title );
    418418    // Translators: 1: Theme name; 2: Ticket URL.
    419     $content  = sprintf( __( 'Feedback for the %1$s theme is at %2$s', 'wporg' ) . "\n\n--\n", $post->post_title, "https://themes.trac.wordpress.org/ticket/{$ticket_id}" );
     419    $content  = sprintf( __( 'Feedback for the %1$s theme is at %2$s', 'wporg-themes' ) . "\n\n--\n", $post->post_title, "https://themes.trac.wordpress.org/ticket/{$ticket_id}" );
    420420    $content .= __( 'The WordPress.org Themes Team', 'wporg-themes' ) . "\n";
    421421    $content .= 'https://make.wordpress.org/themes';
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content-single.php

    r1462 r1477  
    2828        <div class="theme-head">
    2929            <div class="theme-actions clear">
    30                 <a href="<?php echo esc_url( '//wp-themes.com/' . $slug ); ?>" class="button button-secondary alignleft"><?php _e( 'Preview' ); ?></a>
    31                 <a href="<?php echo esc_url( '//downloads.wordpress.org/theme/' . $slug . '.' . $theme->version . '.zip' ); ?>" class="button button-primary alignright"><?php _e( 'Download' ); ?></a>
     30                <a href="<?php echo esc_url( '//wp-themes.com/' . $slug ); ?>" class="button button-secondary alignleft"><?php _e( 'Preview', 'wporg-themes' ); ?></a>
     31                <a href="<?php echo esc_url( '//downloads.wordpress.org/theme/' . $slug . '.' . $theme->version . '.zip' ); ?>" class="button button-primary alignright"><?php _e( 'Download', 'wporg-themes' ); ?></a>
    3232            </div>
    3333
     
    3737            ?>
    3838            <div class="theme-notice notice notice-info">
    39                 <p class="parent-theme"><?php printf( __( 'This is a child theme of %s.' ), sprintf( '<a href="%1$s">%2$s</a>', get_permalink( $parent->ID ), $parent->post_title ) ); ?></p>
     39                <p class="parent-theme"><?php printf( __( 'This is a child theme of %s.', 'wporg-themes' ), sprintf( '<a href="%1$s">%2$s</a>', get_permalink( $parent->ID ), $parent->post_title ) ); ?></p>
    4040            </div>
    4141            <?php endif; ?>
     
    5858
    5959            <div class="theme-tags">
    60                 <?php the_tags( '<h4>' . __( 'Tags:' ) . '</h4>' ); ?>
     60                <?php the_tags( '<h4>' . __( 'Tags:', 'wporg-themes' ) . '</h4>' ); ?>
    6161            </div><!-- .theme-tags -->
    6262
     
    6565
    6666                <div id="theme-download-stats-<?php echo esc_attr( $slug ); ?>" class="chart"></div>
    67                 <p class="total-downloads"><?php printf( __( 'Total downloads: %s' ), '<strong>' . number_format_i18n( $theme->downloaded ) . '</strong>' ); ?></p>
     67                <p class="total-downloads"><?php printf( __( 'Total downloads: %s', 'wporg-themes' ), '<strong>' . number_format_i18n( $theme->downloaded ) . '</strong>' ); ?></p>
    6868            </div><!-- .theme-downloads -->
    6969        </div><!-- .theme-info -->
     
    125125                        <a href="//themes.trac.wordpress.org/log/<?php echo esc_attr( $slug ); ?>?limit=100&mode=stop_on_copy&format=rss">
    126126                            <img src="//s.w.org/style/images/feedicon.png" />
    127                             <?php _e( 'Development Log', 'wporg' ); ?>
     127                            <?php _e( 'Development Log', 'wporg-themes' ); ?>
    128128                        </a>
    129129                    </li>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php

    r1440 r1477  
    1515    </a>
    1616    <div class="theme-actions">
    17         <a class="button button-primary preview install-theme-preview" href="<?php echo esc_url( '//downloads.wordpress.org/theme/' . $post->post_name . '.' . $theme->latest_version() . '.zip' ); ?>"><?php esc_html_e( 'Download' ); ?></a>
     17        <a class="button button-primary preview install-theme-preview" href="<?php echo esc_url( '//downloads.wordpress.org/theme/' . $post->post_name . '.' . $theme->latest_version() . '.zip' ); ?>"><?php _e( 'Download', 'wporg-themes' ); ?></a>
    1818    </div>
    1919</article>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/functions.php

    r1467 r1477  
    2020
    2121    add_theme_support( 'automatic-feed-links' );
    22 
    23     // This theme uses wp_nav_menu() in one location.
    24     register_nav_menus( array(
    25         'primary' => __( 'Primary Menu', 'wporg-themes' ),
    26     ) );
    2722
    2823    add_theme_support( 'html5', array(
     
    6459                'search'            => __( 'Search Themes', 'wporg-themes' ),
    6560                'searchPlaceholder' => __( 'Search themes...', 'wporg-themes' ), // placeholder (no ellipsis)
    66                 'error'             => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ),
     61                'error'             => __( 'An unexpected error occurred.', 'wporg-themes' ),
    6762
    6863                // Downloads Graph
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/header.php

    r1406 r1477  
    66 */
    77
     8$GLOBALS['pagetitle'] = __( 'Theme Directory &laquo; Free WordPress Themes', 'wporg-themes' );
    89
    9 $GLOBALS['pagetitle'] = wp_title( '&laquo;', false, 'right' );
    1010require WPORGPATH . 'header.php';
    1111?>
     
    1313<div id="headline">
    1414    <div class="wrapper">
    15         <h2 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h2>
     15        <h2 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _e( 'Theme Directory', 'wporg-themes' ) ?></a></h2>
    1616    </div>
    1717</div>
    1818<nav id="site-navigation" class="main-navigation" role="navigation">
    19     <?php
    20         wp_nav_menu( array(
    21             'theme_location' => 'primary',
    22             'container'      => false,
    23             'depth'          => 1,
    24         ) );
    25     ?>
     19    <ul id="menu-theme-directory" class="menu">
     20        <li><a href="<?php echo home_url( '/commercial/' ); ?>"><?php _e( 'Commercial Themes', 'wporg-themes' ); ?></a></li>
     21        <li><a href="<?php echo home_url( '/getting-started/' ); ?>"><?php _e( 'Upload Your Theme', 'wporg-themes' ); ?></a></li>
     22    </ul>
    2623</nav>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/index.php

    r1375 r1477  
    2525
    2626            <ul class="filter-links">
    27                 <li><a href="<?php echo esc_url( home_url( 'browse/featured/' ) ); ?>" data-sort="featured"><?php _ex( 'Featured', 'themes' ); ?></a></li>
    28                 <li><a href="<?php echo esc_url( home_url( 'browse/popular/' ) ); ?>" data-sort="popular"><?php _ex( 'Popular', 'themes' ); ?></a></li>
    29                 <li><a href="<?php echo esc_url( home_url( 'browse/new/' ) ); ?>" data-sort="new"><?php _ex( 'Latest', 'themes' ); ?></a></li>
     27                <li><a href="<?php echo esc_url( home_url( 'browse/featured/' ) ); ?>" data-sort="featured"><?php _ex( 'Featured', 'themes', 'wporg-themes' ); ?></a></li>
     28                <li><a href="<?php echo esc_url( home_url( 'browse/popular/' ) ); ?>" data-sort="popular"><?php _ex( 'Popular', 'themes', 'wporg-themes' ); ?></a></li>
     29                <li><a href="<?php echo esc_url( home_url( 'browse/new/' ) ); ?>" data-sort="new"><?php _ex( 'Latest', 'themes', 'wporg-themes' ); ?></a></li>
    3030            </ul>
    3131
    32             <a class="drawer-toggle" href="#"><?php _e( 'Feature Filter' ); ?></a>
     32            <a class="drawer-toggle" href="#"><?php _e( 'Feature Filter', 'wporg-themes' ); ?></a>
    3333
    3434            <div class="search-form"></div>
     
    3636            <div class="filter-drawer">
    3737                <div class="buttons">
    38                     <button type="button" disabled="disabled" class="apply-filters button button-secondary"><?php _e( 'Apply Filters' ); ?><span></span></button>
    39                     <button type="button" class="clear-filters button button-secondary"><?php _e( 'Clear' ); ?></button>
     38                    <button type="button" disabled="disabled" class="apply-filters button button-secondary"><?php _e( 'Apply Filters', 'wporg-themes' ); ?><span></span></button>
     39                    <button type="button" class="clear-filters button button-secondary"><?php _e( 'Clear', 'wporg-themes' ); ?></button>
    4040                </div>
    4141
    4242                <div class="filtered-by">
    43                     <span><?php _e( 'Filtering by:' ); ?></span>
     43                    <span><?php _e( 'Filtering by:', 'wporg-themes' ); ?></span>
    4444                    <div class="tags"></div>
    45                     <a href="#"><?php _e( 'Edit' ); ?></a>
     45                    <a href="#"><?php _e( 'Edit', 'wporg-themes' ); ?></a>
    4646                </div>
    4747
     
    7676                ?>
    7777            </div>
    78             <p class="no-themes"><?php _e( 'No themes found. Try a different search.' ); ?></p>
     78            <p class="no-themes"><?php _e( 'No themes found. Try a different search.', 'wporg-themes' ); ?></p>
    7979        </div>
    8080        <div class="theme-install-overlay"></div>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-commercial.php

    r1370 r1477  
    7272                </ul>
    7373
    74                 <?php the_content(); ?>
    7574            </div><!-- .entry-content -->
    7675
    77             <?php edit_post_link( __( 'Edit', 'wporg-themes' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
    7876        </article><!-- #post-## -->
    7977
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-getting-started.php

    r1367 r1477  
    5454                </p>
    5555
    56                 <?php the_content(); ?>
     56                <p>
     57                    <a class="button button-primary" href="<?php echo home_url('/upload/'); ?>"><?php _e( 'Upload your theme', 'wporg-themes' ); ?></a>
     58                </p>
    5759            </div><!-- .entry-content -->
    5860
    59             <?php edit_post_link( __( 'Edit', 'wporg-themes' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
    6061        </article><!-- #post-## -->
    6162
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/page-upload.php

    r1300 r1477  
    1919
    2020            <div class="entry-content">
    21                 <?php the_content(); ?>
     21                <?php do_shortcode( '[wporg-themes-upload]' ); ?>
    2222            </div><!-- .entry-content -->
    2323
    24             <?php edit_post_link( __( 'Edit', 'wporg-themes' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
    2524        </article><!-- #post-## -->
    2625
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-preview.php

    r1453 r1477  
    22    <div class="wp-full-overlay-sidebar">
    33        <div class="wp-full-overlay-header">
    4             <a href="#" class="close-full-overlay"><span class="screen-reader-text"><?php _e( 'Close' ); ?></span></a>
    5             <a href="#" class="previous-theme"><span class="screen-reader-text"><?php _ex( 'Previous', 'Button label for a theme' ); ?></span></a>
    6             <a href="#" class="next-theme"><span class="screen-reader-text"><?php _ex( 'Next', 'Button label for a theme' ); ?></span></a>
    7             <a href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip" class="button button-primary theme-install"><?php _e( 'Download' ); ?></a>
     4            <a href="#" class="close-full-overlay"><span class="screen-reader-text"><?php _e( 'Close', 'wporg-themes' ); ?></span></a>
     5            <a href="#" class="previous-theme"><span class="screen-reader-text"><?php _ex( 'Previous', 'Button label for a theme', 'wporg-themes' ); ?></span></a>
     6            <a href="#" class="next-theme"><span class="screen-reader-text"><?php _ex( 'Next', 'Button label for a theme', 'wporg-themes' ); ?></span></a>
     7            <a href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip" class="button button-primary theme-install"><?php _e( 'Download', 'wporg-themes' ); ?></a>
    88        </div>
    99        <div class="wp-full-overlay-sidebar-content">
    1010            <div class="install-theme-info">
    1111                <h3 class="theme-name">{{ data.name }}</h3>
    12                 <span class="theme-by"><?php printf( __( 'By %s' ), '{{ data.author.display_name }}' ); ?></span>
     12                <span class="theme-by"><?php printf( __( 'By %s', 'wporg-themes' ), '{{ data.author.display_name }}' ); ?></span>
    1313
    1414                <img class="theme-screenshot" src="{{ data.screenshot_url }}?w=520&strip=all" alt="" />
     
    2525                        <small class="ratings">{{ data.rating_text }}</small>
    2626                        <# } else { #>
    27                         <small class="ratings"><?php _e( 'No ratings.' ); ?></small>
     27                        <small class="ratings"><?php _e( 'No ratings.', 'wporg-themes' ); ?></small>
    2828                        <# } #>
    2929                    </div>
    30                     <div class="theme-version"><?php printf( __( 'Version: %s' ), '{{ data.version }}' ); ?></div>
     30                    <div class="theme-version"><?php printf( __( 'Version: %s', 'wporg-themes' ), '{{ data.version }}' ); ?></div>
    3131                    <div class="theme-description">{{{ data.description }}}</div>
    3232                </div>
     
    3434        </div>
    3535        <div class="wp-full-overlay-footer">
    36             <a href="#" class="collapse-sidebar" title="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">
    37                 <span class="collapse-sidebar-label"><?php _e( 'Collapse' ); ?></span>
     36            <a href="#" class="collapse-sidebar" title="<?php esc_attr_e( 'Collapse Sidebar', 'wporg-themes' ); ?>">
     37                <span class="collapse-sidebar-label"><?php _e( 'Collapse', 'wporg-themes' ); ?></span>
    3838                <span class="collapse-sidebar-arrow"></span>
    3939            </a>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php

    r1465 r1477  
    33        <button class="close"><?php _e( 'Return to Themes List', 'wporg-themes' ); ?></button>
    44        <div class="navigation post-navigation">
    5             <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
    6             <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button>
     5            <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme', 'wporg-themes' ); ?></span></button>
     6            <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme', 'wporg-themes' ); ?></span></button>
    77        </div>
    88    </div>
     
    1717            <div>
    1818                <h3 class="theme-name entry-title" itemprop="name">{{{ data.name }}}</h3>
    19                 <h4 class="theme-author"><?php printf( __( 'by %s' ), '<a href="https://wordpress.org/themes/author/{{ data.author.user_nicename }}/"><span class="author" itemprop="author">{{{ data.author.display_name }}}</span></a>' ); ?></h4>
     19                <h4 class="theme-author"><?php printf( __( 'by %s', 'wporg-themes' ), '<a href="https://wordpress.org/themes/author/{{ data.author.user_nicename }}/"><span class="author" itemprop="author">{{{ data.author.display_name }}}</span></a>' ); ?></h4>
    2020            </div>
    2121
    2222            <div class="theme-head">
    2323                <div class="theme-actions clear">
    24                     <a href="{{{ data.preview_url }}}" class="button button-secondary alignleft"><?php _e( 'Preview' ); ?></a>
    25                     <a href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip" class="button button-primary alignright"><?php _e( 'Download' ); ?></a>
     24                    <a href="{{{ data.preview_url }}}" class="button button-secondary alignleft"><?php _e( 'Preview', 'wporg-themes' ); ?></a>
     25                    <a href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip" class="button button-primary alignright"><?php _e( 'Download', 'wporg-themes' ); ?></a>
    2626                </div>
    2727
    2828                <# if ( data.parent ) { #>
    2929                <div class="theme-notice notice notice-info">
    30                     <p class="parent"><?php printf( __( 'This is a child theme of %s.' ), sprintf( '<a href="/themes/%1$s/">%2$s</a>', '{{{ data.parent.slug }}}', '{{{ data.parent.name }}}' ) ); ?></p>
     30                    <p class="parent"><?php printf( __( 'This is a child theme of %s.', 'wporg-themes' ), sprintf( '<a href="/themes/%1$s/">%2$s</a>', '{{{ data.parent.slug }}}', '{{{ data.parent.name }}}' ) ); ?></p>
    3131                </div>
    3232                <# } #>
     
    5151                <# if ( data.tags ) { #>
    5252                <div class="theme-tags">
    53                     <h4><?php _e( 'Tags:' ); ?></h4>
     53                    <h4><?php _e( 'Tags:', 'wporg-themes' ); ?></h4>
    5454                    {{{ data.tags }}}
    5555                </div><!-- .theme-tags -->
     
    5757
    5858                <div class="theme-downloads">
    59                     <h4><?php _e( 'Downloads Per Day' ); ?></h4>
     59                    <h4><?php _e( 'Downloads Per Day', 'wporg-themes' ); ?></h4>
    6060                    <div id="theme-download-stats-{{data.id}}" class="chart"></div>
    61                     <p class="total-downloads"><?php printf( __( 'Total downloads: %s' ), '<strong>{{ data.downloaded }}</strong>' ); ?></p>
     61                    <p class="total-downloads"><?php printf( __( 'Total downloads: %s', 'wporg-themes' ), '<strong>{{ data.downloaded }}</strong>' ); ?></p>
    6262                </div><!-- .theme-downloads -->
    6363            </div>
     
    8787                        <li class="counter-container">
    8888                            <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=5" title="<?php echo esc_attr( sprintf( __( 'Click to see reviews that provided a rating of %d stars', 'wporg-themes' ), 5 ) ); ?>">
    89                                 <span class="counter-label"><?php printf( __( '%d stars', 'wporg-themes' ), 5 ); ?></span>
     89                                <span class="counter-label"><?php printf( _n( '%d star', '%d stars', 5, 'wporg-themes' ), 5 ); ?></span>
    9090                                <span class="counter-back">
    9191                                    <span class="counter-bar" style="width: {{ 100 * data.ratings[5] / data.num_ratings }}%;"></span>
     
    9696                        <li class="counter-container">
    9797                            <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=4" title="<?php echo esc_attr( sprintf( __( 'Click to see reviews that provided a rating of %d stars', 'wporg-themes' ), 4 ) ); ?>">
    98                                 <span class="counter-label"><?php printf( __( '%d stars', 'wporg-themes' ), 4 ); ?></span>
     98                                <span class="counter-label"><?php printf( _n( '%d star', '%d stars', 4, 'wporg-themes' ), 4 ); ?></span>
    9999                                <span class="counter-back">
    100100                                    <span class="counter-bar" style="width: {{ 100 * data.ratings[4] / data.num_ratings }}%;"></span>
     
    105105                        <li class="counter-container">
    106106                            <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=3" title="<?php echo esc_attr( sprintf( __( 'Click to see reviews that provided a rating of %d stars', 'wporg-themes' ), 3 ) ); ?>">
    107                                 <span class="counter-label"><?php printf( __( '%d stars', 'wporg-themes' ), 3 ); ?></span>
     107                                <span class="counter-label"><?php printf( _n( '%d star', '%d stars', 3, 'wporg-themes' ), 3 ); ?></span>
    108108                                <span class="counter-back">
    109109                                    <span class="counter-bar" style="width: {{ 100 * data.ratings[3] / data.num_ratings }}%;"></span>
     
    114114                        <li class="counter-container">
    115115                            <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=2" title="<?php echo esc_attr( sprintf( __( 'Click to see reviews that provided a rating of %d stars', 'wporg-themes' ), 2 ) ); ?>">
    116                                 <span class="counter-label"><?php printf( __( '%d stars', 'wporg-themes' ), 2 ); ?></span>
     116                                <span class="counter-label"><?php printf( _n( '%d star', '%d stars', 2, 'wporg-themes' ), 2 ); ?></span>
    117117                                <span class="counter-back">
    118118                                    <span class="counter-bar" style="width: {{ 100 * data.ratings[2] / data.num_ratings }}%;"></span>
     
    123123                        <li class="counter-container">
    124124                            <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=1" title="<?php esc_attr_e( 'Click to see reviews that provided a rating of 1 star', 'wporg-themes' ); ?>">
    125                                 <span class="counter-label"><?php _e( '1 star', 'wporg-themes' ); ?></span>
     125                                <span class="counter-label"><?php printf( _n( '%d star', '%d stars', 1, 'wporg-themes' ), 1 ); ?></span>
    126126                                <span class="counter-back">
    127127                                    <span class="counter-bar" style="width: {{ 100 * data.ratings[1] / data.num_ratings }}%;"></span>
     
    149149                            <a href="//themes.trac.wordpress.org/log/{{data.id}}?limit=100&mode=stop_on_copy&format=rss">
    150150                                <img src="//s.w.org/style/images/feedicon.png" />
    151                                 <?php _e( 'Development Log', 'wporg' ); ?>
     151                                <?php _e( 'Development Log', 'wporg-themes' ); ?>
    152152                            </a>
    153153                        </li>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme.php

    r1440 r1477  
    88        <div class="theme-screenshot blank"></div>
    99        <# } #>
    10         <span class="more-details"><?php _ex( 'More Info', 'theme' ); ?></span>
    11         <div class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">{{ data.author.display_name }}</span>' ); ?></div>
     10        <span class="more-details"><?php _ex( 'More Info', 'theme', 'wporg-themes' ); ?></span>
     11        <div class="theme-author"><?php printf( __( 'By %s', 'wporg-themes' ), '<span class="author">{{ data.author.display_name }}</span>' ); ?></div>
    1212        <h3 class="theme-name entry-title">{{{ data.name }}}</h3>
    1313    </a>
    1414    <div class="theme-actions">
    15         <a class="button button-primary preview install-theme-preview" href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip"><?php esc_html_e( 'Download' ); ?></a>
     15        <a class="button button-primary preview install-theme-preview" href="//downloads.wordpress.org/theme/{{ data.slug }}.{{ data.version }}.zip"><?php esc_html_e( 'Download', 'wporg-themes' ); ?></a>
    1616    </div>
    1717</script>
Note: See TracChangeset for help on using the changeset viewer.