Changeset 2864 for sites/trunk/translate.wordpress.org/public_html/gp-templates-new/projects-wp-themes.php
- Timestamp:
- 03/31/2016 08:25:15 PM (9 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates-new/projects-wp-themes.php
r2858 r2864 3 3 $table_headings = array( 4 4 'locale' => __( 'Locale' ), 5 'dev' => __( 'Development' ),6 'dev-readme' => __( 'Development Readme' ),7 5 'stable' => __( 'Stable' ), 8 'stable-readme' => __( 'Stable Readme' ),9 6 'waiting' => __( 'Waiting' ), 10 7 ); … … 46 43 </div> 47 44 48 <?php if ( $has_error ) : ?>49 <div class="wporg-notice wporg-notice-warning">50 <p>This plugin is not <a href="https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/">properly prepared for localization</a>. If you would like to translate this plugin, <a href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . $project->slug ); ?>">please contact the author</a>.</p>51 </div>52 <?php endif; ?>53 54 45 <div class="stats-table"> 55 46 <table id="stats-table" class="table"> 56 47 <thead> 57 48 <tr> 58 <?php foreach ( $table_headings as $ heading ) : ?>59 <th class=" title"><?php echo $heading; ?></th>49 <?php foreach ( $table_headings as $key => $heading ) : ?> 50 <th class="col-<?php echo $key; ?>"><?php echo $heading; ?></th> 60 51 <?php endforeach; ?> 61 52 </tr> … … 88 79 <?php 89 80 if ( $translation_locale_statuses[ $locale_slug ] ) : 90 foreach ( array( ' dev', 'dev-readme', 'stable', 'stable-readme', 'waiting' ) as $subproject_slug ) :81 foreach ( array( 'stable', 'waiting' ) as $subproject_slug ) : 91 82 if ( isset( $translation_locale_statuses[ $locale_slug ][ $subproject_slug ] ) ) : 92 83 $percent = $translation_locale_statuses[ $locale_slug ][ $subproject_slug ]; … … 105 96 else : 106 97 $percent_class = (int) ( $percent / 10 ) * 10; 107 $link_url = gp_url_project( $project->path, gp_url_join( $ subproject_slug, $gp_locale->slug, $set_slug ) );98 $link_url = gp_url_project( $project->path, gp_url_join( $gp_locale->slug, $set_slug ) ); 108 99 $link_text = "$percent%"; 109 100
Note: See TracChangeset
for help on using the changeset viewer.