- Timestamp:
- 08/30/2015 06:08:06 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-stats-overview.php
r1853 r1854 96 96 $translation_locale_complete = array(); 97 97 foreach ( $translation_locale_statuses as $locale => $sets ) { 98 $translation_locale_complete[ $locale ] = round( array_sum( $sets ) / count( $sets ) );98 $translation_locale_complete[ $locale ] = round( array_sum( $sets ) / count( $sets ), 3 ); 99 99 } 100 100 unset( $locale, $sets ); 101 101 102 // Sort by Percent Complete, secondly by Slug 102 103 uksort( $translation_locale_complete, function ( $a, $b ) use ( $translation_locale_complete ) { … … 110 111 } ); 111 112 112 113 113 $this->tmpl( 'stats-overview', get_defined_vars() ); 114 114 }
Note: See TracChangeset
for help on using the changeset viewer.