Changeset 1554
- Timestamp:
- 05/07/2015 10:55:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/public_html/gp-templates/locales.php
r1530 r1554 25 25 $percent_complete = floor( $status->current_count / $status->all_count * 100 ); 26 26 } 27 28 $wp_locale = ( isset( $locale->wp_locale ) ) ? $locale->wp_locale : $locale->slug; 27 29 ?> 28 30 <div class="locale <?php echo 'percent-' . $percent_complete; ?>"> … … 30 32 <li class="english"><?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), $locale->english_name ) ?></li> 31 33 <li class="native"><?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), $locale->native_name ) ?></li> 32 <li class="code"><?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), $ locale->slug) ?></li>34 <li class="code"><?php echo gp_link_get( gp_url_join( gp_url_current(), $locale->slug ), $wp_locale ) ?></li> 33 35 </ul> 34 36 <div class="contributors"> … … 36 38 <?php 37 39 $contributors = isset( $contributors_count[ $locale->slug ] ) ? $contributors_count[ $locale->slug ] : 0; 38 echo $contributors;40 echo gp_link_get( 'https://make.wordpress.org/polyglots/teams/?locale=' . $wp_locale, $contributors ); 39 41 ?> 40 42 </div> … … 62 64 $rows.hide(); 63 65 $rows.filter( function( i, v ) { 64 var $t = $(this);66 $t = $(this).find( '.name' ); 65 67 for ( var d = 0; d < words.length; ++d ) { 66 68 if ( $t.text().toLowerCase().indexOf( words[d] ) != -1 ) {
Note: See TracChangeset
for help on using the changeset viewer.