Changeset 1477 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php
- Timestamp:
- 04/15/2015 08:56:26 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php
r1465 r1477 3 3 <button class="close"><?php _e( 'Return to Themes List', 'wporg-themes' ); ?></button> 4 4 <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> 7 7 </div> 8 8 </div> … … 17 17 <div> 18 18 <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> 20 20 </div> 21 21 22 22 <div class="theme-head"> 23 23 <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> 26 26 </div> 27 27 28 28 <# if ( data.parent ) { #> 29 29 <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> 31 31 </div> 32 32 <# } #> … … 51 51 <# if ( data.tags ) { #> 52 52 <div class="theme-tags"> 53 <h4><?php _e( 'Tags:' ); ?></h4>53 <h4><?php _e( 'Tags:', 'wporg-themes' ); ?></h4> 54 54 {{{ data.tags }}} 55 55 </div><!-- .theme-tags --> … … 57 57 58 58 <div class="theme-downloads"> 59 <h4><?php _e( 'Downloads Per Day' ); ?></h4>59 <h4><?php _e( 'Downloads Per Day', 'wporg-themes' ); ?></h4> 60 60 <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> 62 62 </div><!-- .theme-downloads --> 63 63 </div> … … 87 87 <li class="counter-container"> 88 88 <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> 90 90 <span class="counter-back"> 91 91 <span class="counter-bar" style="width: {{ 100 * data.ratings[5] / data.num_ratings }}%;"></span> … … 96 96 <li class="counter-container"> 97 97 <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> 99 99 <span class="counter-back"> 100 100 <span class="counter-bar" style="width: {{ 100 * data.ratings[4] / data.num_ratings }}%;"></span> … … 105 105 <li class="counter-container"> 106 106 <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> 108 108 <span class="counter-back"> 109 109 <span class="counter-bar" style="width: {{ 100 * data.ratings[3] / data.num_ratings }}%;"></span> … … 114 114 <li class="counter-container"> 115 115 <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> 117 117 <span class="counter-back"> 118 118 <span class="counter-bar" style="width: {{ 100 * data.ratings[2] / data.num_ratings }}%;"></span> … … 123 123 <li class="counter-container"> 124 124 <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> 126 126 <span class="counter-back"> 127 127 <span class="counter-bar" style="width: {{ 100 * data.ratings[1] / data.num_ratings }}%;"></span> … … 149 149 <a href="//themes.trac.wordpress.org/log/{{data.id}}?limit=100&mode=stop_on_copy&format=rss"> 150 150 <img src="//s.w.org/style/images/feedicon.png" /> 151 <?php _e( 'Development Log', 'wporg ' ); ?>151 <?php _e( 'Development Log', 'wporg-themes' ); ?> 152 152 </a> 153 153 </li>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)