Index: trunk/extensions/Translate/scripts/groupStatistics.php |
— | — | @@ -283,14 +283,23 @@ |
284 | 284 | |
285 | 285 | // Output the the row |
286 | 286 | $out->blockstart(); |
| 287 | + // Fill language position field |
287 | 288 | if( isset( $options['most'] ) ) { |
288 | 289 | $out->element( $mostSpokenLanguages[$code][0] ); |
289 | 290 | } |
| 291 | + // Fill language code field |
290 | 292 | $out->element( $code ); |
291 | | - $out->element( $name ); |
| 293 | + // Fill language name field |
| 294 | + if( function_exists( 'efI18nTagsInit' ) ) { |
| 295 | + $out->element( "{{#languagename|" . $code . "}}" ); |
| 296 | + } else { |
| 297 | + $out->element( $name ); |
| 298 | + } |
| 299 | + // Fill speakers field |
292 | 300 | if( isset( $options['most'] ) && isset( $options['speakers'] ) ) { |
293 | 301 | $out->element( number_format( $mostSpokenLanguages[$code][3] ) ); |
294 | 302 | } |
| 303 | + // Fill fields for groups |
295 | 304 | foreach ( $columns as $fields ) { |
296 | 305 | list( $invert, $upper, $total ) = $fields; |
297 | 306 | $c = $out->formatPercent( $upper, $total, $invert, /* Decimals */ 2 ); |